/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
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 | maxim,max14577.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> 22 - maxim,max14577-charger 23 - maxim,max77836-charger 25 maxim,constant-uvolt: 32 maxim,eoc-uamp: 34 Current in uA for End-Of-Charge mode. 35 MAX14577: 50000-20000 [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 | 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 …]
|
H A D | max8925_battery.txt | 1 max8925-battery bindings 5 - batt-detect: whether support battery detect 6 - topoff-threshold: set charging current in topoff mode 7 - fast-charge: set charging current in fast mode 8 - no-temp-support: whether support temperature protection detect 9 - no-insert-detect: whether support insert detect 13 batt-detect = <0>; 14 topoff-threshold = <1>; 15 fast-charge = <7>; 16 no-temp-support = <0>; [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: 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. 30 Valid values: 3650000 - 4400000, step by 25000 (rounded down) [all …]
|
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 …]
|
/openbmc/linux/include/linux/mfd/wm8350/ |
H A 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 …]
|
/openbmc/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8974-sony-xperia-rhine-amami.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974-sony-xperia-rhine.dtsi" 6 compatible = "sony,xperia-amami", "qcom,msm8974"; 7 chassis-type = "handset"; 11 qcom,fast-charge-safe-current = <1300000>; 12 qcom,fast-charge-current-limit = <1300000>; 13 qcom,dc-current-limit = <1300000>;
|
H A D | qcom-apq8026-asus-sparrow.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include "qcom-msm8226.dtsi" 11 /delete-node/ &adsp_region; 16 chassis-type = "watch"; 17 qcom,msm-id = <199 0x20000>; 18 qcom,board-id = <8 3005>; 20 reserved-memory { 23 no-map; 25 external_image_region: external-image@3100000 { [all …]
|
H A D | qcom-msm8974-sony-xperia-rhine.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 15 stdout-path = "serial0:115200n8"; 18 gpio-keys { 19 compatible = "gpio-keys"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&gpio_keys_pin_a>; [all …]
|
H A D | qcom-msm8974pro-fairphone-fp2.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 chassis-type = "handset"; 21 stdout-path = "serial0:115200n8"; 24 gpio-keys { 25 compatible = "gpio-keys"; 27 pinctrl-names = "default"; [all …]
|
H A D | qcom-apq8026-lg-lenok.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include "qcom-msm8226.dtsi" 11 /delete-node/ &adsp_region; 16 chassis-type = "watch"; 17 qcom,board-id = <132 0x0a>; 18 qcom,msm-id = <199 0x20000>; 26 stdout-path = "serial0:115200n8"; 29 reserved-memory { 32 no-map; [all …]
|
H A D | qcom-apq8026-huawei-sturgeon.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include "qcom-msm8226.dtsi" 10 #include <dt-bindings/input/ti-drv260x.h> 12 /delete-node/ &adsp_region; 17 chassis-type = "watch"; 18 qcom,msm-id = <199 0x20000>; 19 qcom,board-id = <8 4>; 21 reserved-memory { 24 no-map; [all …]
|
H A D | qcom-msm8974pro-sony-xperia-shinano-castor.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 compatible = "sony,xperia-castor", "qcom,msm8974pro", "qcom,msm8974"; 12 chassis-type = "tablet"; 20 stdout-path = "serial0:115200n8"; 23 gpio-keys { 24 compatible = "gpio-keys"; [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | bd99954-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 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 30 *(4)` `.` ` ` ` ` ` ` ` ` ` ` ` ` ` ----------------------------. 32 * . o----+/:/ ` ` ` ` ` ` ` ` ` ` ` ` `.` ` (5) 34 * . + /- -- . 35 * . +`/- + . 36 * . o/- -: . 38 * . .--+ `/ . [all …]
|
H A D | max77650-charger.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // Battery charger driver for MAXIM 77650/77651 charger/power-supply. 28 /* Charger is in fast-charge constant current mode. */ 30 /* Charger is in JEITA modified fast-charge constant-current mode. */ 32 /* Charger is in fast-charge constant-voltage mode. */ 34 /* Charger is in JEITA modified fast-charge constant-voltage mode. */ 36 /* Charger is in top-off mode. */ 38 /* Charger is in JEITA modified top-off mode. */ 46 /* Charger is suspended due to a fast-charge timer fault. */ 95 rv = regmap_update_bits(chg->map, in max77650_charger_set_vchgin_min() [all …]
|
H A D | wm8350_power.c | 1 // SPDX-License-Identifier: GPL-2.0-only 44 if (!wm8350->power.rev_g_coeff) in wm8350_charge_time_min() 45 return (((min - 30) / 15) & 0xf) << 8; in wm8350_charge_time_min() 47 return (((min - 30) / 30) & 0xf) << 8; in wm8350_charge_time_min() 92 dev_warn(wm8350->dev, in wm8350_charger_config() 94 return -EINVAL; in wm8350_charger_config() 97 /* make sure USB fast charge current is not > 500mA */ in wm8350_charger_config() 98 if (policy->fast_limit_USB_mA > 500) { in wm8350_charger_config() 99 dev_err(wm8350->dev, "USB fast charge > 500mA\n"); in wm8350_charger_config() 100 return -EINVAL; in wm8350_charger_config() [all …]
|
H A D | max14577_charger.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max14577_charger.c - Battery charger driver for the Maxim 14577/77836 11 #include <linux/mfd/max14577-private.h> 49 struct regmap *rmap = chg->max14577->regmap; in max14577_get_charger_state() 55 * - CHGCTRL2/MBCHOSTEN == 1 in max14577_get_charger_state() 56 * - STATUS2/CGMBC == 1 in max14577_get_charger_state() 59 * - handle FULL after Top-off timer (EOC register may be off in max14577_get_charger_state() 61 * - handle properly dead-battery charging (respect timer) in max14577_get_charger_state() 62 * - handle timers (fast-charge and prequal) /MBCCHGERR/ in max14577_get_charger_state() 78 /* Charger or USB-cable is connected */ in max14577_get_charger_state() [all …]
|
H A D | qcom_smbb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * This driver is for the multi-block Switch-Mode Battery Charger and Boost 6 * integrated, single-cell lithium-ion battery charger. 8 * Sub-components: 9 * - Charger core 10 * - Buck 11 * - DC charge-path 12 * - USB charge-path 13 * - Battery interface 14 * - Boost (not implemented) [all …]
|
/openbmc/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 30 int fast_enable; /** Enable fast charging */ 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 43 * Currently all the configuration is for the fast DVS switching
|
/openbmc/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 66 Contact: linux-pm@vger.kernel.org 81 Contact: linux-pm@vger.kernel.org 94 read-only reporting, unless the 'online' state of the supply 106 Contact: linux-pm@vger.kernel.org 124 Contact: linux-pm@vger.kernel.org [all …]
|
/openbmc/linux/include/linux/mfd/ |
H A D | rt5033-private.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 116 /* RT5033 charger property - model, manufacturer */ 121 * While RT5033 charger can limit the fast-charge current (as in CHGCTRL1 171 /* RT5033 charger constant charge voltage (as in CHGCTRL2 register), uV */ 177 /* RT5033 charger pre-charge current limits (as in CHGCTRL4 register), uA */ 183 /* RT5033 charger fast-charge current (as in CHGCTRL5 register), uA */ 190 * RT5033 charger const-charge end of charger current ( 200 * RT5033 charger pre-charge threshold volt limits
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | maxim,max14577.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> 20 includes voltage safeout and LDO regulators, charger, fuel-gauge and MicroUSB 26 - maxim,max14577 27 - maxim,max77836 35 wakeup-source: true 46 - maxim,max14577-muic 47 - maxim,max77836-muic [all …]
|
/openbmc/linux/drivers/usb/misc/ |
H A D | apple-mfi-fastcharge.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Fast-charge control for Apple "MFi" devices 15 MODULE_DESCRIPTION("Fast-charge control for Apple \"MFi\" devices"); 43 /* Driver-local specific stuff */ 57 if (mfi->charge_type == val->intval) { in apple_mfi_fc_set_charge_type() 58 dev_dbg(&mfi->udev->dev, "charge type %d already set\n", in apple_mfi_fc_set_charge_type() 59 mfi->charge_type); in apple_mfi_fc_set_charge_type() 63 switch (val->intval) { in apple_mfi_fc_set_charge_type() 71 return -EINVAL; in apple_mfi_fc_set_charge_type() 75 retval = usb_control_msg(mfi->udev, usb_sndctrlpipe(mfi->udev, 0), in apple_mfi_fc_set_charge_type() [all …]
|