/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 | 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 | 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 | 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 …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8974pro-sony-xperia-shinano-leo.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro-sony-xperia-shinano-common.dtsi" 6 compatible = "sony,xperia-leo", "qcom,msm8974pro", "qcom,msm8974"; 7 chassis-type = "handset"; 9 gpio-keys { 10 key-camera-snapshot { 14 debounce-interval = <15>; 17 key-camera-focus { 21 debounce-interval = <15>; 31 usb-charge-current-limit = <1500000>; [all …]
|
H A D | qcom-msm8974pro-sony-xperia-shinano-aries.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro-sony-xperia-shinano-common.dtsi" 6 compatible = "sony,xperia-aries", "qcom,msm8974pro", "qcom,msm8974"; 7 chassis-type = "handset"; 9 gpio-keys { 10 key-camera-snapshot { 14 debounce-interval = <15>; 17 key-camera-focus { 21 debounce-interval = <15>; 31 usb-charge-current-limit = <1500000>; [all …]
|
H A D | qcom-msm8974pro-sony-xperia-shinano-castor.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro-sony-xperia-shinano-common.dtsi" 6 compatible = "sony,xperia-castor", "qcom,msm8974pro", "qcom,msm8974"; 7 chassis-type = "tablet"; 9 vreg_bl_vddio: lcd-backlight-vddio { 10 compatible = "regulator-fixed"; 11 regulator-name = "vreg_bl_vddio"; 12 regulator-min-microvolt = <3150000>; 13 regulator-max-microvolt = <3150000>; 16 enable-active-high; [all …]
|
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-msm8926-htc-memul.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include "qcom-msm8226.dtsi" 11 /delete-node/ &adsp_region; 12 /delete-node/ &smem_region; 17 chassis-type = "handset"; 23 gpio-keys { 24 compatible = "gpio-keys"; 26 key-power { 30 debounce-interval = <15>; [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-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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | maxim,max8925.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lee Jones <lee@kernel.org> 22 interrupt-controller: true 24 "#interrupt-cells": 29 maxim,tsc-irq: 37 "^SDV[1-3]$|^LDO[1-9]$|^LDO1[0-9]$|^LDO20$": 38 description: regulator configuration for SDV1-3 and LDO1-20 47 maxim,max8925-dual-string: [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-wingtech-wt86518.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-wingtech-wt865x8.dtsi" 10 chassis-type = "handset"; 12 speaker_amp: audio-amplifier { 15 pinctrl-0 = <&spk_ext_pa_default>; 16 pinctrl-names = "default"; 18 mode-gpios = <&tlmm 119 GPIO_ACTIVE_HIGH>; 19 sound-name-prefix = "Speaker Amp"; 29 vdd-supply = <&pm8916_l6>; [all …]
|