/linux-6.12.1/Documentation/devicetree/bindings/power/supply/ |
D | bq25890.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Bq25890, bq25892, bq25895 and bq25896 Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - enum: 20 - ti,bq25890 21 - items: 22 - enum: [all …]
|
D | bq24190.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: TI BQ2419x Li-Ion Battery Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - ti,bq24190 20 - ti,bq24192 21 - ti,bq24192i 22 - ti,bq24196 [all …]
|
D | battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 14 In smart batteries, these are typically stored in non-volatile memory 16 no appropriate non-volatile memory, or it is unprogrammed/incorrect. 27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle. 28 The phandle's property should be named "monitored-battery". 32 const: simple-battery 34 device-chemistry: [all …]
|
D | richtek,rt5033-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/richtek,rt5033-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jakob Hauser <jahau@rocketmail.com> 14 under sub-node named "charger" using the following format. 18 const: richtek,rt5033-charger 20 monitored-battery: 26 precharge-current-microamp: 27 Current of pre-charge mode. The pre-charge current levels are 350 mA [all …]
|
D | rohm,bd99954.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 11 - Markus Laine <markus.laine@fi.rohmeurope.com> 12 - Mikko Mutanen <mikko.mutanen@fi.rohmeurope.com> 15 The ROHM BD99954 is a Battery Management LSI for 1-4 cell Lithium-Ion 16 secondary battery intended to be used in space-constraint equipment such 18 provides a Dual-source Battery Charger, two port BC1.2 detection and a 21 $ref: power-supply.yaml# [all …]
|
D | bq2415x.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: TI bq2415x Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - ti,bq24150 20 - ti,bq24150a 21 - ti,bq24151 22 - ti,bq24151a [all …]
|
D | bq2515x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: TI bq2515x 500-mA Linear charger family 11 - Andrew Davis <afd@ti.com> 17 push-button controller. 26 - ti,bq25150 27 - ti,bq25155 33 ac-detect-gpios: 39 reset-gpios: [all …]
|
D | bq25980.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Andrew Davis <afd@ti.com> 15 for use in high-power density portable electronics. These inductorless 20 - $ref: power-supply.yaml# 25 - ti,bq25980 26 - ti,bq25975 27 - ti,bq25960 32 ti,watchdog-timeout-ms: [all …]
|
D | bq256xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Andrew Davis <afd@ti.com> 14 The bq256xx devices are a family of highly-integrated battery charge 15 management and system power management ICs for single cell Li-ion and Li- 19 - https://www.ti.com/lit/ds/symlink/bq25600.pdf 20 - https://www.ti.com/lit/ds/symlink/bq25601.pdf 21 - https://www.ti.com/lit/ds/symlink/bq25600d.pdf 22 - https://www.ti.com/lit/ds/symlink/bq25601d.pdf [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | richtek,rt5033.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jakob Hauser <jahau@rocketmail.com> 14 flash LED current source, LDO and synchronous Buck converter for portable 30 The regulators of RT5033 have to be instantiated under a sub-node named 44 $ref: /schemas/power/supply/richtek,rt5033-charger.yaml# 47 - compatible 48 - reg 49 - interrupts [all …]
|
/linux-6.12.1/mm/ |
D | memcontrol-v1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #include <linux/backing-dev.h> 17 #include "memcontrol-v1.h" 20 * Cgroups above their limits are maintained in a RB-Tree, independent of 58 unsigned long precharge; member 138 struct rb_node **p = &mctz->rb_root.rb_node; in __mem_cgroup_insert_exceeded() 143 if (mz->on_tree) in __mem_cgroup_insert_exceeded() 146 mz->usage_in_excess = new_usage_in_excess; in __mem_cgroup_insert_exceeded() 147 if (!mz->usage_in_excess) in __mem_cgroup_insert_exceeded() 153 if (mz->usage_in_excess < mz_node->usage_in_excess) { in __mem_cgroup_insert_exceeded() [all …]
|
/linux-6.12.1/drivers/staging/fbtft/ |
D | fb_ssd1331.c | 1 // SPDX-License-Identifier: GPL-2.0 27 par->fbtftops.reset(par); in init_display() 32 if (par->info->var.rotate == 180) in init_display() 33 write_reg(par, 0xa0, 0x60 | (par->bgr << 2)); in init_display() 35 write_reg(par, 0xa0, 0x72 | (par->bgr << 2)); in init_display() 44 write_reg(par, 0xb1, 0x31); /* Precharge */ in init_display() 46 write_reg(par, 0x8a, 0x64); /* Precharge A */ in init_display() 47 write_reg(par, 0x8b, 0x78); /* Precharge B */ in init_display() 48 write_reg(par, 0x8c, 0x64); /* Precharge C */ in init_display() 49 write_reg(par, 0xbb, 0x3a); /* Precharge level */ in init_display() [all …]
|
D | fb_seps525.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * FB driver for the NHD-1.69-160128UGC3 (Newhaven Display International, Inc.) 98 par->fbtftops.reset(par); in init_display() 105 /* Set Normal Driving Current */ in init_display() 117 /* precharge time R G B */ in init_display() 122 /* precharge current R G B (uA) */ in init_display() 127 /* driving current R G B (uA) */ in init_display() 170 switch (par->info->var.rotate) { in set_var() 181 return -EINVAL; in set_var() 185 (par->bgr ? MODE_SWAP_BGR : 0)); in set_var()
|
/linux-6.12.1/drivers/power/supply/ |
D | mp2629_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 70 PRECHARGE, enumerator 126 MP2629_PROPS(PRECHARGE, 120000, 720000, 40000), 135 [PRECHARGE] = REG_FIELD(MP2629_REG_PRECHARGE, 4, 7), 140 "mp2629-batt-volt", 141 "mp2629-system-volt", 142 "mp2629-input-volt", 143 "mp2629-batt-current", 144 "mp2629-input-current", 154 ret = iio_read_channel_processed(charger->iiochan[ch], &chval); in mp2629_read_adc() [all …]
|
D | rt5033_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/devm-helpers.h> 18 #include <linux/mfd/rt5033-private.h> 45 struct regmap *regmap = charger->regmap; in rt5033_get_charger_state() 72 if (charger->otg) in rt5033_get_charger_state() 80 struct regmap *regmap = charger->regmap; in rt5033_get_charger_type() 102 struct regmap *regmap = charger->regmap; in rt5033_get_charger_current_limit() 118 struct regmap *regmap = charger->regmap; in rt5033_get_charger_const_voltage() 134 struct rt5033_charger_data *chg = &charger->chg; in rt5033_init_const_charge() 140 if (chg->const_uvolt < RT5033_CHARGER_CONST_VOLTAGE_LIMIT_MIN || in rt5033_init_const_charge() [all …]
|
D | 88pm860x_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 86 /* over-temperature on PM8606 setting */ 90 /* over-voltage protect on vchg setting mv */ 113 "battery-monitor", 121 ret = pm860x_bulk_read(info->i2c, PM8607_VCHG_MEAS1, 2, buf); in measure_vchg() 129 dev_dbg(info->dev, "%s, vchg: %d mv\n", __func__, *data); in measure_vchg() 144 pm860x_reg_write(info->i2c, PM8607_VCHG_LOWTH, data); in set_vchg_threshold() 145 dev_dbg(info->dev, "VCHG_LOWTH:%dmv, 0x%x\n", min, data); in set_vchg_threshold() 151 pm860x_reg_write(info->i2c, PM8607_VCHG_HIGHTH, data); in set_vchg_threshold() 152 dev_dbg(info->dev, "VCHG_HIGHTH:%dmv, 0x%x\n", max, data); in set_vchg_threshold() [all …]
|
/linux-6.12.1/drivers/platform/x86/x86-android-tablets/ |
D | shared-psy-info.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com> 17 #include "shared-psy-info.h" 20 const char * const tusb1211_chg_det_psy[] = { "tusb1211-charger-detect" }; 21 const char * const bq24190_psy[] = { "bq24190-charger" }; 22 const char * const bq25890_psy[] = { "bq25890-charger-0" }; 25 PROPERTY_ENTRY_STRING_ARRAY("supplied-from", bq24190_psy), 34 PROPERTY_ENTRY_STRING_ARRAY("supplied-from", bq25890_psy), 44 PROPERTY_ENTRY_STRING("compatible", "simple-battery"), 45 PROPERTY_ENTRY_STRING("device-chemistry", "lithium-ion"), [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/bus/ |
D | qcom,ebi2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 external memory (such as NAND or other memory-mapped peripherals) whereas 25 Also CS1 and CS2 has -A and -B signals. Why they have that is unclear to me. 31 CS0 GPIO134 0x1a800000-0x1b000000 (8MB) 32 CS1 GPIO39 (A) / GPIO123 (B) 0x1b000000-0x1b800000 (8MB) 33 CS2 GPIO40 (A) / GPIO124 (B) 0x1b800000-0x1c000000 (8MB) 34 CS3 GPIO133 0x1d000000-0x25000000 (128 MB) 35 CS4 GPIO132 0x1c800000-0x1d000000 (8MB) [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | msm8916-samsung-serranove.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include "msm8916-pm8916.dtsi" 9 #include "msm8916-modem-qdsp6.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 24 * arch/arm/boot/dts/qcom-msm8916-samsung-serranove.dts 30 chassis-type = "handset"; 39 stdout-path = "serial0"; [all …]
|
D | msm8916-samsung-fortuna-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-pm8916.dtsi" 4 #include "msm8916-modem-qdsp6.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 19 stdout-path = "serial0"; 22 reserved-memory { 24 tz-apps@85a00000 { [all …]
|
D | msm8939-samsung-a7.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8939-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/sound/apq8016-lpass.h> 16 chassis-type = "handset"; 25 stdout-path = "serial0"; [all …]
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-cht-wc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (C) 2011 - 2014 Intel Corporation. All rights reserved. 62 mutex_lock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler() 65 ret = regmap_read(adap->regmap, CHT_WC_EXTCHGRIRQ, ®); in cht_wc_i2c_adap_thread_handler() 67 dev_err(&adap->adapter.dev, "Error reading extchgrirq reg\n"); in cht_wc_i2c_adap_thread_handler() 68 mutex_unlock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler() 72 reg &= ~adap->irq_mask; in cht_wc_i2c_adap_thread_handler() 75 ret = regmap_read(adap->regmap, CHT_WC_I2C_RDDATA, &adap->read_data); in cht_wc_i2c_adap_thread_handler() 77 adap->io_error = true; in cht_wc_i2c_adap_thread_handler() 81 * handling the previous ones our irq will re-trigger when we're done. in cht_wc_i2c_adap_thread_handler() [all …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | mt6357.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/dma-mapping.h> 19 regmap_write(priv->regmap, MT6357_GPIO_MODE2_CLR, MT6357_GPIO_MODE2_CLEAR_ALL); in set_playback_gpio() 22 regmap_write(priv->regmap, MT6357_GPIO_MODE2_SET, in set_playback_gpio() 32 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_playback_gpio() 46 regmap_write(priv->regmap, MT6357_GPIO_MODE3_CLR, MT6357_GPIO_MODE3_CLEAR_ALL); in set_capture_gpio() 49 regmap_write(priv->regmap, MT6357_GPIO_MODE3_SET, in set_capture_gpio() 61 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_capture_gpio() 79 stage = up ? i : MT6357_HPLOUT_STG_CTRL_VAUDP15_MAX - i; in hp_main_output_ramp() 80 regmap_update_bits(priv->regmap, MT6357_AUDDEC_ANA_CON1, in hp_main_output_ramp() [all …]
|
/linux-6.12.1/drivers/bus/ |
D | qcom-ebi2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 41 * Bits 31-28: RECOVERY recovery cycles (0 = 1, 1 = 2 etc) this is the time the 42 * memory continues to drive the data bus after OE is de-asserted. 45 * Bits 27-24: WR_HOLD write hold cycles, these are extra cycles inserted after 49 * Bits 23-16: WR_DELTA initial latency for write cycles inserted for the first 51 * Bits 15-8: RD_DELTA initial latency for read cycles inserted for the first 53 * Bits 7-4: WR_WAIT number of wait cycles for every write access, 0=1 cycle 55 * Bits 3-0: RD_WAIT number of wait cycles for every read access, 0=1 cycle 74 * Bits 31-28: ? 75 * Bits 27-24: RD_HOLD: the length in cycles of the first segment of a read [all …]
|
/linux-6.12.1/drivers/video/fbdev/ |
D | ssd1307fb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 122 array->type = type; in ssd1307fb_alloc_array() 136 dev_err(&client->dev, "Couldn't send I2C command.\n"); in ssd1307fb_write_array() 150 return -ENOMEM; in ssd1307fb_write_cmd() 152 array->data[0] = cmd; in ssd1307fb_write_cmd() 163 u8 col_end = col_start + cols - 1; in ssd1307fb_set_col_range() 166 if (col_start == par->col_start && col_end == par->col_end) in ssd1307fb_set_col_range() 169 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_COL_RANGE); in ssd1307fb_set_col_range() 173 ret = ssd1307fb_write_cmd(par->client, col_start); in ssd1307fb_set_col_range() 177 ret = ssd1307fb_write_cmd(par->client, col_end); in ssd1307fb_set_col_range() [all …]
|