/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: [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 | 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> 15 GPIOs for limited control over the charging proces [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 …]
|
/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-p [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/drivers/power/supply/ |
H A D | bd99954-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * The battery charging profile of BD99954. 16 * Curve (1) represents charging current. 19 * The BD99954 data sheet divides charging to three phases. 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) [all …]
|
H A D | smb347-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 #include <dt-bindings/power/summit,smb347-charger.h> 26 #define SMB3XX_SOFT_TEMP_COMPENSATE_DEFAULT -1 29 #define SMB3XX_TEMP_USE_DEFAULT -273 34 * reloaded from non-volatile registers after POR. 136 * struct smb347_charger - smb347 charger instance 147 * @max_charge_current: maximum current (in uA) the battery can be charged 149 * @pre_charge_current: current (in uA) to use in pre-charging phase 150 * @termination_current: current (in uA) used to determine when the 151 * charging cycle terminates [all …]
|
H A D | sc2731_charger.c | 1 // SPDX-License-Identifier: GPL-2.0 46 /* Default current definition (unit is mA) */ 62 bool charging; member 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() 86 /* Start charging */ 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() [all …]
|
H A 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() 71 /* For OTG mode, RT5033 would still report "charging" */ 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() [all …]
|
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 | bq24735-charger.c | 17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 #include <linux/devm-helpers.h> 32 #include <linux/power/bq24735-charger.h> 58 bool charging; member 113 struct bq24735_platform *pdata = charger->pdata; in bq24735_config_charger() 117 if (pdata->ext_control) in bq24735_config_charger() 120 if (pdata->charge_current) { in bq24735_config_charger() 121 value = pdata->charge_current & BQ24735_CHARGE_CURRENT_MASK; in bq24735_config_charger() 123 ret = bq24735_write_word(charger->client, in bq24735_config_charger() 126 dev_err(&charger->client->dev, in bq24735_config_charger() [all …]
|
H A D | max77693_charger.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max77693_charger.c - Battery charger driver for the Maxim 77693 13 #include <linux/mfd/max77693-common.h> 14 #include <linux/mfd/max77693-private.h> 16 #define MAX77693_CHARGER_NAME "max77693-charger" 49 /* In high temp the charging current is reduced, but still charging */ in max77693_get_charger_state() 88 * Top-off: trickle or fast? In top-off the current varies between in max77693_get_charge_type() 89 * 100 and 250 mA. It is higher than prequalification current. in max77693_get_charge_type() 96 /* In high temp the charging current is reduced, but still charging */ in max77693_get_charge_type() 118 * - POWER_SUPPLY_HEALTH_DEAD [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/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
|