| /Linux-v5.15/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 | qcom,pm8941-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Switch-Mode Battery Charger and Boost 10 - Sebastian Reichel <sre@kernel.org> 14 const: qcom,pm8941-charger 21 - description: charge done 22 - description: charge fast mode 23 - description: charge trickle mode [all …]
|
| D | richtek,rt9455.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 25 richtek,output-charge-current: 27 description: output current from the charger to the battery, in uA. 29 richtek,end-of-charge-percentage: 32 percent of the output charge current. When the current in constant-voltage phase drops 33 below output_charge_current x end-of-charge-percentage, charge is terminated. [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 | 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 <matti.vaittinen@fi.rohmeurope.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 28 # Curve (1) represents charging current. [all …]
|
| D | summit,smb347-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 - David Heidelberg <david@ixit.cz> 11 - Dmitry Osipenko <digetx@gmail.com> 16 - summit,smb345 17 - summit,smb347 18 - summit,smb358 26 monitored-battery: [all …]
|
| D | bq25890.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 8 title: Binding for bq25890, bq25892, bq25895 and bq25896 Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - ti,bq25890 20 - ti,bq25892 21 - ti,bq25895 22 - ti,bq25896 [all …]
|
| D | bq24257.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 8 title: Binding for 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 | bq2415x.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 8 title: Binding for TI bq2415x Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - ti,bq24150 20 - ti,bq24150 21 - ti,bq24150a 22 - ti,bq24151 [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> 15 The BQ2515x family is a highly integrated battery charge management IC that 18 push-button controller. 27 - ti,bq25150 28 - ti,bq25155 [all …]
|
| D | sc2731-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: "http://devicetree.org/schemas/power/supply/sc2731-charger.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 17 const: sprd,sc2731-charger 26 monitored-battery: 29 - charge-term-current-microamp: current for charge termination phase. 30 - constant-charge-voltage-max-microvolt: maximum constant input voltage. [all …]
|
| D | bq24190.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 8 title: Binding for 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 | 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#" 11 - Tony Lindgren <tony@atomide.com> 12 - Sebastian Reichel <sre@kernel.org> 17 sub-function. 20 - $ref: power-supply.yaml# 24 const: motorola,mapphone-cpcap-charger 28 - description: charger detection interrupt [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 - Ricardo Rivera-Matos <r-rivera-matos@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-v5.15/arch/arm/boot/dts/ |
| D | at91-natte.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * at91-natte.dts - Device Tree include file for the Natte board 11 mux: mux-controller { 12 compatible = "gpio-mux"; 13 #mux-control-cells = <0>; 15 mux-gpios = <&ioexp 0 GPIO_ACTIVE_HIGH>, 20 batntc-mux { 21 compatible = "io-channel-mux"; 22 io-channels = <&adc 5>; 23 io-channel-names = "parent"; [all …]
|
| /Linux-v5.15/Documentation/power/ |
| D | power_supply_class.rst | 8 properties to user-space. 60 +--------------------------------------------------------------------------+ 61 | **Charge/Energy/Capacity - how to not confuse** | 62 +--------------------------------------------------------------------------+ 63 | **Because both "charge" (µAh) and "energy" (µWh) represents "capacity" | 66 | - `CHARGE_*` | 68 | - `ENERGY_*` | 70 | - `CAPACITY` | 72 +--------------------------------------------------------------------------+ 88 batteries can typically charge at different rates. [all …]
|
| /Linux-v5.15/include/linux/mfd/wm8350/ |
| D | supply.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * supply.h -- Power Supply Driver for Wolfson WM8350 PMIC 22 * R168 (0xA8) - Battery Charger Control 1 39 * R169 (0xA9) - Battery Charger Control 2 54 * R170 (0xAA) - Battery Charger Control 3 84 #define WM8350_CHG_EOC_mA(x) (((x - 10) & 0x7) << 10) 108 /* charger state machine policy - set in machine driver */ 109 int eoc_mA; /* end of charge current (mA) */ 110 int charge_mV; /* charge voltage */ 111 int fast_limit_mA; /* fast charge current limit */ [all …]
|
| /Linux-v5.15/Documentation/devicetree/bindings/rtc/ |
| D | rtc-palmas.txt | 4 - compatible: 5 - "ti,palmas-rtc" for palma series of the RTC controller 6 - interrupts: Interrupt number of RTC submodule on device. 10 - ti,backup-battery-chargeable: The Palmas series device like TPS65913 or 13 can be chargeable or non-chargeable. This flag will tells whether 16 - ti,backup-battery-charge-high-current: Enable high current charging in 18 The high current will be > 100uA. Absence of this property will 19 charge battery to lower current i.e. < 100uA. 25 compatible = "ti,palmas-rtc"; 26 interrupt-parent = <&palmas>; [all …]
|
| /Linux-v5.15/drivers/power/supply/ |
| D | bd99954-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * Curve (1) represents charging current. 20 * a) Trickle-charge with constant current (8). 21 * b) pre-charge with constant current (6) 22 * c) fast-charge, first with constant current (5) phase. After 24 * voltage phase until charging current has dropped to termination 30 *(4)` `.` ` ` ` ` ` ` ` ` ` ` ` ` ` ----------------------------. 32 * . o----+/:/ ` ` ` ` ` ` ` ` ` ` ` ` `.` ` (5) 34 * . + /- -- . 35 * . +`/- + . [all …]
|
| D | sc2731_charger.c | 1 // SPDX-License-Identifier: GPL-2.0 46 /* Default current definition (unit is mA) */ 69 regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_stop_charge() 72 regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_stop_charge() 80 /* Enable charger constant current mode */ in sc2731_charger_start_charge() 81 ret = regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_start_charge() 87 return regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_start_charge() 105 return regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG5, in sc2731_charger_set_current_limit() 121 val = (cur - SC2731_CURRENT_PRECHG) / SC2731_CURRENT_STEP; in sc2731_charger_set_current() 123 /* Set pre-charge current as 450 mA */ in sc2731_charger_set_current() [all …]
|
| D | gpio-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> 18 #include <linux/power/gpio-charger.h> 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() 63 if (!gpio_charger->current_limit_map_size) in set_charge_current_limit() 64 return -EINVAL; in set_charge_current_limit() 66 for (i = 0; i < gpio_charger->current_limit_map_size; i++) { in set_charge_current_limit() 67 if (gpio_charger->current_limit_map[i].limit_ua <= val) in set_charge_current_limit() 70 mapping = gpio_charger->current_limit_map[i]; in set_charge_current_limit() [all …]
|
| /Linux-v5.15/Documentation/ABI/testing/ |
| D | sysfs-class-power | 5 Contact: linux-pm@vger.kernel.org 14 Contact: linux-pm@vger.kernel.org 23 Contact: linux-pm@vger.kernel.org 32 Contact: linux-pm@vger.kernel.org 43 Contact: linux-pm@vger.kernel.org 47 Reports an average IBAT current reading for the battery, over 54 Reports an average IBUS current reading over a fixed period. 62 batteries and for USB IBUS current. 66 Contact: linux-pm@vger.kernel.org 70 Reports the maximum IBAT current allowed into the battery. [all …]
|
| /Linux-v5.15/include/linux/mfd/ |
| D | rt5033-private.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 109 /* RT5033 charger property - model, manufacturer */ 115 * RT5033 charger fast-charge current lmits (as in CHGCTRL1 register), 116 * AICR mode limits the input current for example, 117 * the AIRC 100 mode limits the input current to 100 mA. 155 /* RT5033 charger constant charge voltage (as in CHGCTRL2 register), uV */ 160 /* RT5033 charger pre-charge current limits (as in CHGCTRL4 register), uA */ 165 /* RT5033 charger fast-charge current (as in CHGCTRL5 register), uA */ 171 * RT5033 charger const-charge end of charger current ( 181 * RT5033 charger pre-charge threshold volt limits
|
| /Linux-v5.15/include/linux/mfd/wm831x/ |
| D | pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * include/linux/mfd/wm831x/pdata.h -- Platform data for WM831x 18 int max_uA; /** Maximum current to allow */ 25 int ilim; /** Current limit in microamps */ 32 int trickle_ilim; /** Trickle charge current limit, in mA */ 34 int eoc_iterm; /** End of trickle charge current, in mA */ 35 int fast_ilim; /** Fast charge current limit, in mA */ 36 int timeout; /** Charge cycle timeout, in minutes */ 40 * Configuration for the WM831x DC-DC BuckWise convertors. This 59 WM831X_STATUS_PRESERVE = 0, /* Keep the current hardware setting */ [all …]
|
| /Linux-v5.15/include/linux/platform_data/ |
| D | adp8860.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Copyright 2009-2010 Analog Devices Inc. 86 * Blacklight current 0..30mA 91 * L2 comparator current 0..1106uA 96 * L3 comparator current 0..138uA 103 u8 bl_fade_in; /* Backlight Fade-In Timer */ 104 u8 bl_fade_out; /* Backlight Fade-Out Timer */ 105 u8 bl_fade_law; /* fade-on/fade-off transfer characteristic */ 123 * Independent Current Sinks / LEDS 130 u8 led_fade_in; /* LED Fade-In Timer */ [all …]
|