| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| D | gpio-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/gpio-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 19 const: gpio-charger 21 charger-type: 23 - unknown 24 - battery 25 - ups [all …]
|
| D | active-semi,act8945a-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/active-semi,act8945a-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8945A Charger Function 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 17 const: active-semi,act8945a-charger 22 active-semi,chglev-gpios: 24 description: charge current level GPIO [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> 15 integrates the most common functions for wearable devices, namely a charger, 17 push-button controller. 19 Specifications about the charger can be found at: 26 - ti,bq25150 27 - ti,bq25155 [all …]
|
| D | lltc,lt3651-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/lltc,lt3651-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices LT3651 Charger Power Supply 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 18 - lltc,lt3651-charger 19 - lltc,ltc3651-charger # deprecated, use lltc,lt3651-charger 21 lltc,acpr-gpios: [all …]
|
| D | bq24257.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Bq24250, bq24251 and bq24257 Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - ti,bq24250 20 - ti,bq24251 21 - ti,bq24257 29 ti,battery-regulation-voltage: [all …]
|
| D | cpcap-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 5 $id: http://devicetree.org/schemas/power/supply/cpcap-charger.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Motorola CPCAP PMIC charger 11 - Tony Lindgren <tony@atomide.com> 12 - Sebastian Reichel <sre@kernel.org> 16 the Droid 4. This binding describes its battery charger 17 sub-function. 20 - $ref: power-supply.yaml# [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | gpio-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/gpio-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 19 const: gpio-charger 21 charger-type: 23 - unknown 24 - battery 25 - ups [all …]
|
| D | act8945a-charger.txt | 1 Device-Tree bindings for charger of Active-semi ACT8945A Multi-Function Device 4 - compatible: "active-semi,act8945a-charger". 5 - active-semi,chglev-gpios: charge current level phandle with args 6 as described in ../gpio/gpio.txt. 7 - active-semi,lbo-gpios: specify the low battery voltage detect phandle 8 with args as as described in ../gpio/gpio.txt. 9 - interrupts: <a b> where a is the interrupt number and b is a 14 - active-semi,input-voltage-threshold-microvolt: unit: mV; 15 Specifies the charger's input over-voltage threshold value; 17 - active-semi,precondition-timeout: unit: minutes; [all …]
|
| D | lt3651-charger.txt | 1 Analog Devices LT3651 Charger Power Supply bindings: lt3651-charger 4 - compatible: Should contain one of the following: 5 * "lltc,ltc3651-charger", (DEPRECATED: Use "lltc,lt3651-charger") 6 * "lltc,lt3651-charger" 7 - lltc,acpr-gpios: Connect to ACPR output. See remark below. 10 - lltc,fault-gpios: Connect to FAULT output. See remark below. 11 - lltc,chrg-gpios: Connect to CHRG output. See remark below. 13 The lt3651 outputs are open-drain type and active low. The driver assumes the 14 GPIO reports "active" when the output is asserted, so if the pins have been 15 connected directly, the GPIO flags should be set to active low also. [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 - Dan Murphy <dmurphy@ti.com> 12 - Ricardo Rivera-Matos <r-rivera-matos@ti.com> 16 integrates the most common functions for wearable devices, namely a charger, 18 push-button controller. 20 Specifications about the charger can be found at: 27 - ti,bq25150 [all …]
|
| D | bq24190.txt | 1 TI BQ24190 Li-Ion Battery Charger 4 - compatible: contains one of the following: 9 - reg: integer, I2C address of the charger. 10 - interrupts[-extended]: configuration for charger INT pin. 13 - monitored-battery: phandle of battery characteristics devicetree node 14 The charger uses the following battery properties: 15 + precharge-current-microamp: maximum charge current during precharge 17 + charge-term-current-microamp: a charge cycle terminates when the 21 - ti,system-minimum-microvolt: when power is connected and the battery is below 25 - usb-otg-vbus: [all …]
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | max8903_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * max8903_charger.c - Maxim 8903 USB/Adapter Charger Driver 9 #include <linux/gpio/consumer.h> 27 struct gpio_desc *cen; /* Charger Enable input */ 30 struct gpio_desc *chg; /* Charger status output */ 32 struct gpio_desc *dcm; /* Current-Limit Mode input (1: DC, 2: USB) */ 40 POWER_SUPPLY_PROP_STATUS, /* Charger status output */ 53 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in max8903_get_property() 54 if (data->chg) { in max8903_get_property() 55 if (gpiod_get_value(data->chg)) in max8903_get_property() [all …]
|
| D | gpio-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> 4 * Driver for chargers which report their online status through a GPIO pin 16 #include <linux/gpio/consumer.h> 18 #include <linux/power/gpio-charger.h> 31 struct power_supply *charger; member 44 struct power_supply *charger = devid; in gpio_charger_irq() local 46 power_supply_changed(charger); in gpio_charger_irq() 59 int ndescs = gpio_charger->current_limit_gpios->ndescs; in set_charge_current_limit() 60 struct gpio_desc **gpios = gpio_charger->current_limit_gpios->desc; in set_charge_current_limit() [all …]
|
| D | lt3651-charger.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for Analog Devices (Linear Technology) LT3651 charger IC. 8 #include <linux/gpio/consumer.h> 19 struct power_supply *charger; member 28 struct power_supply *charger = devid; in lt3651_charger_irq() local 30 power_supply_changed(charger); in lt3651_charger_irq() 48 if (!lt3651_charger->chrg_gpio) { in lt3651_charger_get_property() 49 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in lt3651_charger_get_property() 52 if (gpiod_get_value(lt3651_charger->chrg_gpio)) in lt3651_charger_get_property() 53 val->intval = POWER_SUPPLY_STATUS_CHARGING; in lt3651_charger_get_property() [all …]
|
| D | act8945a_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Power supply driver for the Active-semi ACT8945A PMIC 16 #include <linux/gpio/consumer.h> 19 static const char *act8945a_charger_manufacturer = "Active-semi"; 22 * ACT8945A Charger Register Map 209 static int act8945a_get_capacity_level(struct act8945a_charger *charger, in act8945a_get_capacity_level() argument 214 int lbo_level = gpiod_get_value(charger->lbo_gpio); in act8945a_get_capacity_level() 268 * Riset(K) = 2336 * (1V/Ichg(mA)) - 0.205 276 static int act8945a_get_current_max(struct act8945a_charger *charger, in act8945a_get_current_max() argument 282 int chgin_level = gpiod_get_value(charger->chglev_gpio); in act8945a_get_current_max() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/w1/ |
| D | w1.txt | 5 Slave devices are listed as sub-nodes of such master devices. For now, only 11 charger: charger { 12 compatible = "gpio-charger"; 13 charger-type = "mains"; 14 gpios = <&gpio 1 GPIO_ACTIVE_LOW>; 18 compatible = "w1-gpio"; 19 gpios = <&gpio 100 0>, <&gpio 101 0>; 23 power-supplies = <&charger>;
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/w1/ |
| D | w1.txt | 5 Slave devices are listed as sub-nodes of such master devices. For now, only 11 charger: charger { 12 compatible = "gpio-charger"; 13 charger-type = "mains"; 14 gpios = <&gpio 1 GPIO_ACTIVE_LOW>; 18 compatible = "w1-gpio"; 19 gpios = <&gpio 100 0>, <&gpio 101 0>; 23 power-supplies = <&charger>;
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | gpio-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> 4 * Driver for chargers which report their online status through a GPIO pin 16 #include <linux/gpio/consumer.h> 18 #include <linux/power/gpio-charger.h> 31 struct power_supply *charger; member 44 struct power_supply *charger = devid; in gpio_charger_irq() local 46 power_supply_changed(charger); in gpio_charger_irq() 59 int ndescs = gpio_charger->current_limit_gpios->ndescs; in set_charge_current_limit() 60 struct gpio_desc **gpios = gpio_charger->current_limit_gpios->desc; in set_charge_current_limit() [all …]
|
| D | lt3651-charger.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for Analog Devices (Linear Technology) LT3651 charger IC. 8 #include <linux/gpio/consumer.h> 19 struct power_supply *charger; member 28 struct power_supply *charger = devid; in lt3651_charger_irq() local 30 power_supply_changed(charger); in lt3651_charger_irq() 48 if (!lt3651_charger->chrg_gpio) { in lt3651_charger_get_property() 49 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in lt3651_charger_get_property() 52 if (gpiod_get_value(lt3651_charger->chrg_gpio)) in lt3651_charger_get_property() 53 val->intval = POWER_SUPPLY_STATUS_CHARGING; in lt3651_charger_get_property() [all …]
|
| D | max8903_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * max8903_charger.c - Maxim 8903 USB/Adapter Charger Driver 9 #include <linux/gpio.h> 31 POWER_SUPPLY_PROP_STATUS, /* Charger status output */ 44 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in max8903_get_property() 45 if (gpio_is_valid(data->pdata->chg)) { in max8903_get_property() 46 if (gpio_get_value(data->pdata->chg) == 0) in max8903_get_property() 47 val->intval = POWER_SUPPLY_STATUS_CHARGING; in max8903_get_property() 48 else if (data->usb_in || data->ta_in) in max8903_get_property() 49 val->intval = POWER_SUPPLY_STATUS_NOT_CHARGING; in max8903_get_property() [all …]
|
| D | act8945a_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Power supply driver for the Active-semi ACT8945A PMIC 16 #include <linux/gpio/consumer.h> 19 static const char *act8945a_charger_manufacturer = "Active-semi"; 22 * ACT8945A Charger Register Map 209 static int act8945a_get_capacity_level(struct act8945a_charger *charger, in act8945a_get_capacity_level() argument 214 int lbo_level = gpiod_get_value(charger->lbo_gpio); in act8945a_get_capacity_level() 268 * Riset(K) = 2336 * (1V/Ichg(mA)) - 0.205 276 static int act8945a_get_current_max(struct act8945a_charger *charger, in act8945a_get_current_max() argument 282 int chgin_level = gpiod_get_value(charger->chglev_gpio); in act8945a_get_current_max() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | max77650.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MAX77650 ultra low-power PMIC from Maxim Integrated. 10 - Bartosz Golaszewski <bgolaszewski@baylibre.com> 13 MAX77650 is an ultra-low power PMIC providing battery charging and power 14 supply for low-power IoT and wearable applications. 16 The GPIO-controller module is represented as part of the top-level PMIC 17 node. The device exposes a single GPIO line. 19 For device-tree bindings of other sub-modules (regulator, power supply, [all …]
|
| D | ab8500.txt | 1 * AB8500 Multi-Functional Device (MFD) 4 - compatible : contains "stericsson,ab8500" or "stericsson,ab8505"; 5 - interrupts : contains the IRQ line for the AB8500 6 - interrupt-controller : describes the AB8500 as an Interrupt Controller (has its own domain) 7 - #interrupt-cells : should be 2, for 2-cell format 8 - The first cell is the AB8500 local IRQ number 9 - The second cell is used to specify optional parameters 10 - bits[3:0] trigger type and level flags: 11 1 = low-to-high edge triggered 12 2 = high-to-low edge triggered [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | max77650.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MAX77650 ultra low-power PMIC from Maxim Integrated. 10 - Bartosz Golaszewski <bgolaszewski@baylibre.com> 13 MAX77650 is an ultra-low power PMIC providing battery charging and power 14 supply for low-power IoT and wearable applications. 16 The GPIO-controller module is represented as part of the top-level PMIC 17 node. The device exposes a single GPIO line. 19 For device-tree bindings of other sub-modules (regulator, power supply, [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| D | maxim,max8997.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 regulators, charger controller with fuel gauge, RTC, clock outputs, haptic 15 motor driver, flash LED driver and Micro-USB Interface Controller. 17 The binding here is not complete and describes only regulator and charger 22 const: maxim,max8997-pmic 24 charger-supply: 30 - description: irq1 interrupt [all …]
|