| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | qcom_smbb.txt | 1 Qualcomm Switch-Mode Battery Charger and Boost 4 - compatible: 8 - "qcom,pm8941-charger" 10 - reg: 12 Value type: <prop-encoded-array> 15 - interrupts: 17 Value type: <prop-encoded-array> 21 - charge done 22 - charge fast mode 23 - charge trickle mode [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 over-voltage-threshold-microvolt: [all …]
|
| D | rt9455_charger.txt | 4 - compatible: it should contain one of the following: 6 - reg: integer, i2c address of the device. 7 - interrupts: interrupt mapping for GPIO IRQ, it should be 9 - richtek,output-charge-current: integer, output current from the charger to the 11 - richtek,end-of-charge-percentage: integer, percent of the output charge current. 12 When the current in constant-voltage phase drops 13 below output_charge_current x end-of-charge-percentage, 14 charge is terminated. 15 - richtek,battery-regulation-voltage: integer, maximum battery voltage in uV. 16 - richtek,boost-output-voltage: integer, maximum voltage provided to consumer [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 29 # Curve (2) represents battery voltage. [all …]
|
| D | bq25890.txt | 1 Binding for TI bq25890 Li-Ion Charger 7 - compatible: Should contain one of the following: 12 - reg: integer, i2c address of the device. 13 - interrupts: interrupt line; 14 - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV); 15 - ti,charge-current: integer, maximum charging current (in uA); 16 - ti,termination-current: integer, charge will be terminated when current in 17 constant-voltage phase drops below this value (in uA); 18 - ti,precharge-current: integer, maximum charge current during precharge 20 - ti,minimum-sys-voltage: integer, when battery is charging and it is below [all …]
|
| D | bq24257.txt | 1 Binding for TI bq24250/bq24251/bq24257 Li-Ion Charger 4 - compatible: Should contain one of the following: 8 - reg: integer, i2c address of the device. 9 - interrupts: Interrupt mapping for GPIO IRQ (configure for both edges). Use in 10 conjunction with "interrupt-parent". 11 - ti,battery-regulation-voltage: integer, maximum charging voltage in uV. 12 - ti,charge-current: integer, maximum charging current in uA. 13 - ti,termination-current: integer, charge will be terminated when current in 14 constant-voltage phase drops below this value (in uA). 17 - pg-gpios: GPIO used for connecting the bq2425x device PG (Power Good) pin. [all …]
|
| D | bq2415x.txt | 1 Binding for TI bq2415x Li-Ion Charger 4 - compatible: Should contain one of the following: 17 - reg: integer, i2c address of the device. 18 - ti,current-limit: integer, initial maximum current charger can pull 20 - ti,weak-battery-voltage: integer, weak battery voltage threshold in mV. 21 The chip will use slow precharge if battery voltage 23 - ti,battery-regulation-voltage: integer, maximum charging voltage in mV. 24 - ti,charge-current: integer, maximum charging current in mA. 25 - ti,termination-current: integer, charge will be terminated when current in 26 constant-voltage phase drops below this value (in mA). [all …]
|
| D | sc2731_charger.txt | 4 - compatible: Should be "sprd,sc2731-charger". 5 - reg: Address offset of charger register. 6 - phys: Contains a phandle to the USB phy. 9 - monitored-battery: phandle of battery characteristics devicetree node. 11 - charge-term-current-microamp: current for charge termination phase. 12 - constant-charge-voltage-max-microvolt: maximum constant input voltage. 18 compatible = "simple-battery"; 19 charge-term-current-microamp = <120000>; 20 constant-charge-voltage-max-microvolt = <4350000>; 27 spi-max-frequency = <26000000>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| 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> 15 - qcom,pm8226-charger 16 - qcom,pm8941-charger 23 - description: charge done 24 - description: charge fast 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: 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. 35 richtek,battery-regulation-voltage: [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 | 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 | 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 | 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 | maxim,max77693.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 21 const: maxim,max77693-charger 23 maxim,constant-microvolt: 25 Battery constant voltage in uV. The charger will operate in fast 26 charge constant current mode till battery voltage reaches this level. 27 Then the charger will switch to fast charge constant voltage mode. 28 Also vsys (system voltage) will be set to this value when DC power is [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/microchip/ |
| 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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | rk817_charger.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/devm-helpers.h> 59 * voltage readings. While they are documented in the BSP kernel and 68 * soc - state of charge - like the BSP this is stored as a percentage, 69 * to the thousandth. BSP has a display state of charge (dsoc) and a 70 * remaining state of charge (rsoc). This value will be used for both 72 * charge and just report it as it is. Note for example an soc of 100 143 return -EINVAL; in rk817_chg_cur_to_reg() 166 return -EINVAL; in rk817_chg_cur_from_reg() 176 /* calibrate voltage */ in rk817_bat_calib_vol() [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | power_supply.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 226 /* Run-time specific power supply configuration */ 354 int vbat_uv; /* Battery voltage in microvolt */ 359 * struct power_supply_maintenance_charge_table - setting for maintenace charging 361 * the charge of the battery full as current is consumed after full charging. 363 * reach this voltage the maintenance charging current is turned off. It is 364 * turned back on if we fall below this voltage. 365 * @charge_voltage_max_uv: maintenance charging voltage that is usually a bit 367 * charge_current_max_ua until we get back up to this voltage. 371 * maintenance charge current and voltage pair in respective array and wait [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-pxa/ |
| D | sharpsl_pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Battery and Power Management code for the Sharp SL-C7xx and SL-Cxx00 6 * Copyright (c) 2004-2005 Richard Purdie 17 #include <linux/apm-emulation.h> 25 #include <asm/mach-types.h> 27 #include "pxa2xx-regs.h" 28 #include "regs-rtc.h" 173 /* max1111 accepts channels from 0-3, however, in sharpsl_pm_pxa_read_max1111() 174 * it is encoded from 0-7 here in the code. in sharpsl_pm_pxa_read_max1111() 179 static int get_percentage(int voltage) in get_percentage() argument [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
| D | sharpsl_pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Battery and Power Management code for the Sharp SL-C7xx and SL-Cxx00 6 * Copyright (c) 2004-2005 Richard Purdie 17 #include <linux/apm-emulation.h> 25 #include <asm/mach-types.h> 27 #include <mach/pxa2xx-regs.h> 28 #include "regs-rtc.h" 177 /* max1111 accepts channels from 0-3, however, in sharpsl_pm_pxa_read_max1111() 178 * it is encoded from 0-7 here in the code. in sharpsl_pm_pxa_read_max1111() 183 static int get_percentage(int voltage) in get_percentage() argument [all …]
|