/linux/Documentation/devicetree/bindings/power/supply/ |
H A 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 …]
|
H A D | bq24190.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: TI BQ2419x Li-Ion Battery Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - ti,bq24190 20 - ti,bq24192 21 - ti,bq24192i 22 - ti,bq24196 [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 | 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 | bq25980.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Andrew Davis <afd@ti.com> 15 for use in high-power density portable electronics. These inductorless 20 - $ref: power-supply.yaml# 25 - ti,bq25980 26 - ti,bq25975 27 - ti,bq25960 32 ti,watchdog-timeout-ms: [all …]
|
H A D | bq2515x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: TI bq2515x 500-mA Linear charger family 11 - Andrew Davis <afd@ti.com> 17 push-button controller. 26 - ti,bq25150 27 - ti,bq25155 33 ac-detect-gpios: 39 reset-gpios: [all …]
|
H A D | bq256xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Andrew Davis <afd@ti.com> 14 The bq256xx devices are a family of highly-integrated battery charge 15 management and system power management ICs for single cell Li-ion and Li- 19 - https://www.ti.com/lit/ds/symlink/bq25600.pdf 20 - https://www.ti.com/lit/ds/symlink/bq25601.pdf 21 - https://www.ti.com/lit/ds/symlink/bq25600d.pdf 22 - https://www.ti.com/lit/ds/symlink/bq25601d.pdf [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | richtek,rt5033.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jakob Hauser <jahau@rocketmail.com> 14 flash LED current source, LDO and synchronous Buck converter for portable 30 The regulators of RT5033 have to be instantiated under a sub-node named 44 $ref: /schemas/power/supply/richtek,rt5033-charger.yaml# 47 - compatible 48 - reg 49 - interrupts [all …]
|
/linux/drivers/platform/x86/x86-android-tablets/ |
H A D | shared-psy-info.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com> 17 #include "shared-psy-info.h" 20 const char * const tusb1211_chg_det_psy[] = { "tusb1211-charger-detect" }; 21 const char * const bq24190_psy[] = { "bq24190-charger" }; 22 const char * const bq25890_psy[] = { "bq25890-charger-0" }; 25 PROPERTY_ENTRY_STRING_ARRAY("supplied-from", bq24190_psy), 34 PROPERTY_ENTRY_STRING_ARRAY("supplied-from", bq25890_psy), 44 PROPERTY_ENTRY_STRING("compatible", "simple-battery"), 45 PROPERTY_ENTRY_STRING("device-chemistry", "lithium-ion"), [all …]
|
H A D | asus.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com> 15 #include "shared-psy-info.h" 16 #include "x86-android-tablets.h" 20 .dev_id = "intel-int3496", 42 "-1", "0", "0", 48 PROPERTY_ENTRY_STRING_ARRAY("mount-matrix", asus_me176c_accel_mount_matrix), 57 PROPERTY_ENTRY_STRING_ARRAY_LEN("supplied-from", tusb1211_chg_det_psy, 1), 58 PROPERTY_ENTRY_REF("monitored-battery", &generic_lipo_hv_4v35_battery_node), 59 PROPERTY_ENTRY_U32("ti,system-minimum-microvolt", 3600000), [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-samsung-serranove.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include "msm8916-pm8916.dtsi" 9 #include "msm8916-modem-qdsp6.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 24 * arch/arm/boot/dts/qcom-msm8916-samsung-serranove.dts 30 chassis-type = "handset"; 39 stdout-path = "serial0"; [all …]
|
H A D | msm8939-samsung-a7.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8939-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/sound/apq8016-lpass.h> 16 chassis-type = "handset"; 25 stdout-path = "serial0"; [all …]
|
H A D | msm8916-samsung-fortuna-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-pm8916.dtsi" 4 #include "msm8916-modem-qdsp6.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 19 stdout-path = "serial0"; 22 reserved-memory { 24 tz-apps@85a00000 { [all …]
|
H A D | msm8916-samsung-a2015-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-pm8916.dtsi" 4 #include "msm8916-modem-qdsp6.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 10 #include <dt-bindings/sound/apq8016-lpass.h> 20 stdout-path = "serial0"; 23 reserved-memory { [all …]
|
/linux/drivers/power/supply/ |
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() 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() 140 if (chg->const_uvolt < RT5033_CHARGER_CONST_VOLTAGE_LIMIT_MIN || in rt5033_init_const_charge() [all …]
|
H A D | power_supply_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include <linux/fixp-arith.h> 27 #include "samsung-sdi-battery.h" 48 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by() 52 if (supply->supplied_from) { in __power_supply_is_supplied_by() 53 if (!supplier->desc->name) in __power_supply_is_supplied_by() 55 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by() 56 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by() 59 if (!supply->desc->name) in __power_supply_is_supplied_by() 61 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by() [all …]
|
H A D | bq2515x_charger.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ 137 * struct bq2515x_init_data - 138 * @ilim: input current limit 139 * @ichg: fast charge current 141 * @iprechg: precharge current 151 * struct bq2515x_info - 153 * @ilim: input current limit 161 * struct bq2515x_device - 283 ret = regmap_read(bq2515x->regmap, BQ2515X_STAT0, &val); in bq2515x_wake_up() [all …]
|
H A D | bq256xx_charger.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 153 * struct bq256xx_init_data - 154 * @ichg: fast charge current 155 * @iindpm: input current limit 157 * @iterm: termination current 158 * @iprechg: precharge current 160 * @ichg_max: maximum fast charge current 177 * struct bq256xx_state - 209 * struct bq256xx_device - [all …]
|
H A D | bq24190_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <linux/extcon-provider.h> 32 #define BQ24190_REG_POC 0x01 /* Power-On Configuration */ 56 #define BQ24190_REG_CCC 0x02 /* Charge Current Control */ 63 #define BQ24190_REG_PCTCC 0x03 /* Pre-charge/Termination Current Cntl */ 161 * The tables below provide a 2-way mapping for the value that goes in 162 * the register field and the real-world value that it represents. 164 * number at that index in the array is the real-world value that it 216 * reads return the current value. In order to return the fault status 269 * 'val'. The index range returned is 0 to 'tbl_size' - 1. Assumes that [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4412-p4note.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * Based on exynos4412-midas.dtsi. 10 /dts-v1/; 12 #include "exynos4412-ppmu-common.dtsi" 14 #include <dt-bindings/clock/maxim,max77686.h> 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/linux-event-codes.h> 17 #include <dt-bindings/interrupt-controller/irq.h> 18 #include <dt-bindings/power/summit,smb347-charger.h> 19 #include "exynos-pinctrl.h" [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mq-librem5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2020 Purism SPC 6 /dts-v1/; 8 #include "dt-bindings/input/input.h" 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/leds/common.h> 11 #include "dt-bindings/pwm/pwm.h" 12 #include "dt-bindings/usb/pd.h" 18 chassis-type = "handset"; 20 backlight_dsi: backlight-dsi { [all …]
|