/linux/include/linux/ |
H A D | power_supply.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 191 POWER_SUPPLY_TYPE_USB_DCP, /* Dedicated Charging Port */ 192 POWER_SUPPLY_TYPE_USB_CDP, /* Charging Downstream Port */ 197 POWER_SUPPLY_TYPE_APPLE_BRICK_ID, /* Apple Charging Method */ 204 POWER_SUPPLY_USB_TYPE_DCP, /* Dedicated Charging Port */ 205 POWER_SUPPLY_USB_TYPE_CDP, /* Charging Downstream Port */ 211 POWER_SUPPLY_USB_TYPE_APPLE_BRICK_ID, /* Apple Charging Method */ 233 /* Run-time specific power supply configuration */ 389 * struct power_supply_maintenance_charge_table - setting for maintenace charging 390 * @charge_current_max_ua: maintenance charging current that is used to keep [all …]
|
/linux/Documentation/ABI/testing/ |
H A 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. 61 used for discharging batteries, positive values for charging 62 batteries and for USB IBUS current. 66 Contact: linux-pm@vger.kernel.org [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A 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: true [all …]
|
H A 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 …]
|
H A D | ti,lp8727.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 debounce-ms: 32 description: USB/AC charging parameters 34 charger-type: 36 - ac 37 - usb [all …]
|
H A 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 …]
|
H A 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 …]
|
H A D | charger-manager.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/charger-manager.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 18 const: charger-manager 20 cm-chargers: 22 $ref: /schemas/types.yaml#/definitions/string-array 24 cm-num-chargers: 28 cm-fuel-gauge: [all …]
|
H A D | bq24735.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: TI BQ24735 Li-Ion Battery Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 27 ti,ac-detect-gpios: 35 ti,charge-current: 38 Used to control and set the charging current. 43 ti,charge-voltage: [all …]
|
H A D | qcom,pm8916-lbc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8916-lbc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nikita Travkin <nikita@trvn.ru> 17 - $ref: power-supply.yaml# 21 const: qcom,pm8916-lbc 25 - description: Charger 26 - description: Battery 27 - description: USB [all …]
|
H A D | tps65090-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/tps65090-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 17 const: ti,tps65090-charger 19 ti,enable-low-current-chrg: 22 Enables charging when a low current is detected while the default logic is to stop charging. 25 - compatible [all …]
|
H A 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 …]
|
H A 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: 26 charge constant current mode till battery voltage reaches this level. 30 Valid values: 3650000 - 4400000, step by 25000 (rounded down) 35 maxim,min-system-microvolt: 42 maxim,thermal-regulation-celsius: [all …]
|
H A D | qcom,pm8941-coincell.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-coincell.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The hardware block controls charging for a coincell or capacitor that is 15 - Sebastian Reichel <sre@kernel.org> 20 - items: 21 - enum: 22 - qcom,pm8998-coincell 23 - const: qcom,pm8941-coincell [all …]
|
H A 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 …]
|
/linux/include/linux/power/ |
H A D | charger-manager.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 8 * monitor charging even in the context of suspend-to-RAM with 62 /* The charger-manager use Extcon framework */ 72 * Set min/max current of regulator to protect over-current issue 86 * Set if the charger-manager cannot control charger, 90 * and set current limit according to constraint data of 101 /* The name of regulator for charging */ 109 * Store constraint information related to current limit, 110 * each cable have different condition for charging. 126 * @psy_name: the name of power-supply-class for charger manager [all …]
|
/linux/Documentation/devicetree/bindings/rtc/ |
H A 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 14 battery is chargeable or not. If charging battery then driver can 15 enable the charging. 16 - ti,backup-battery-charge-high-current: Enable high current charging in 17 backup battery. Device supports the < 100uA and > 100uA charging. 18 The high current will be > 100uA. Absence of this property will [all …]
|
/linux/include/linux/mfd/wm831x/ |
H A 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 */ 23 int no_constant_voltage; /** Disable constant voltage charging */ 25 int ilim; /** Current limit in microamps */ 29 int enable; /** Enable charging */ 30 int fast_enable; /** Enable fast charging */ 31 int off_mask; /** Mask OFF while charging */ 32 int trickle_ilim; /** Trickle charge current limit, in mA */ 34 int eoc_iterm; /** End of trickle charge current, in mA */ [all …]
|
/linux/Documentation/power/ |
H A D | power_supply_class.rst | 8 properties to user-space. 25 typically expected feedback of battery charging/fully charged status and 60 +--------------------------------------------------------------------------+ 61 | **Charge/Energy/Capacity - how to not confuse** | 62 +--------------------------------------------------------------------------+ 66 | - `CHARGE_*` | 68 | - `ENERGY_*` | 70 | - `CAPACITY` | 72 +--------------------------------------------------------------------------+ 83 this attribute represents operating status (charging, full, [all …]
|
/linux/drivers/power/supply/ |
H A D | ab8500-bm.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 124 /* Main charge i/p current */ 233 /* BatCtrl Current Source Constants */ 267 * struct ab8500_fg_parameters - Fuel gauge algorithm parameters, in seconds 274 * @high_curr_time: Time current has to be high to go to recovery 275 * @accu_charging: FG accumulation time while charging 276 * @accu_high_curr_ua: FG accumulation time in high current mode 277 * @high_curr_threshold_ua: High current threshold, in uA 317 * struct ab8500_charger_maximization - struct used by the board config. 319 * @maxi_chg_curr_ua: Maximum charger current allowed in microampere [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 25 power supply device (current, voltage, temperature) to be 104 tristate "Active-semi ACT8945A charger driver" 108 Active-semi ActivePath ACT8945A charger. 120 called chagall-battery. 164 as the one who is responsible for charging/discharging/monitoring 170 tristate "DS2782/DS2786 standalone gas-gauge" 174 gas-gauge. 181 E Go, which is a sc8280xp-based 2-in-1 tablet. 184 called huawei-gaokun-battery. [all …]
|
H A D | axp288_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * axp288_charger.c - X-power AXP288 PMIC Charger driver 5 * Copyright (C) 2016-2017 Hans de Goede <hdegoede@redhat.com> 134 /* SDP/CDP/DCP USB charging cable notifications */ 160 else if (cc > info->max_cc) in axp288_charger_set_cc() 161 cc = info->max_cc; in axp288_charger_set_cc() 163 reg_val = (cc - CHRG_CCCV_CC_OFFSET) / CHRG_CCCV_CC_LSB_RES; in axp288_charger_set_cc() 167 ret = regmap_update_bits(info->regmap, in axp288_charger_set_cc() 171 info->cc = cc; in axp288_charger_set_cc() 197 ret = regmap_update_bits(info->regmap, in axp288_charger_set_cv() [all …]
|
/linux/include/linux/platform_data/ |
H A D | lp8727.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 38 * @ichg : charging current 47 * @get_batt_present : check battery status - exists or not 51 * @ac : charging parameters for AC type charger 52 * @usb : charging parameters for USB type charger
|
/linux/Documentation/hwmon/ |
H A D | twl4030-madc-hwmon.rst | 1 Kernel driver twl4030-madc 8 Prefix: 'twl4030-madc' 12 J Keerthy <j-keerthy@ti.com> 15 ----------- 18 other things it contains a 10-bit A/D converter MADC. The converter has 16 37 10 BCI: Battery charger current (ICHG) 48 degree Celsius. The Battery charging current channel represents 49 battery charging current in mA.
|
/linux/include/linux/mfd/ |
H A D | max8925.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 45 * Charging current threshold trigger going from fast charge 46 * to TOPOFF charge. From 5% to 20% of fasting charging current. 55 /* Fast charging current */ 207 int lxw_scl; /* 0/1 -- 0.8Ohm/0.4Ohm */ 209 int dual_string; /* 0/1 -- single/dual string */ 220 unsigned fast_charge:3; /* charge current */
|