/openbmc/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 | sc2731-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/sc2731-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 17 const: sprd,sc2731-charger 26 monitored-battery: 29 - charge-term-current-microamp: current for charge termination phase. 30 - constant-charge-voltage-max-microvolt: maximum constant input voltage. [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 | 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 | 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 | 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 …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3566-anbernic-rg353vs.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include "rk3566-anbernic-rg353x.dtsi" 21 compatible = "simple-battery"; 22 charge-full-design-microamp-hours = <3151000>; 23 charge-term-current-microamp = <300000>; 24 constant-charge-current-max-microamp = <2000000>; [all …]
|
H A D | rk3566-anbernic-rg353ps.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include "rk3566-anbernic-rg353x.dtsi" 21 compatible = "simple-battery"; 22 charge-full-design-microamp-hours = <3472000>; 23 charge-term-current-microamp = <300000>; 24 constant-charge-current-max-microamp = <2000000>; [all …]
|
H A D | rk3566-anbernic-rg353v.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include "rk3566-anbernic-rg353x.dtsi" 22 compatible = "simple-battery"; 23 charge-full-design-microamp-hours = <3151000>; 24 charge-term-current-microamp = <300000>; 25 constant-charge-current-max-microamp = <2000000>; [all …]
|
H A D | rk3326-odroid-go2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include "rk3326-odroid-go.dtsi" 12 model = "ODROID-GO Advance"; 13 compatible = "hardkernel,rk3326-odroid-go2", "rockchip,rk3326"; 15 analog_sticks: adc-joystick { 16 compatible = "adc-joystick"; 17 io-channels = <&saradc 1>, 19 poll-interval = <60>; 20 #address-cells = <1>; [all …]
|
H A D | rk3566-anbernic-rg353p.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include "rk3566-anbernic-rg353x.dtsi" 22 compatible = "simple-battery"; 23 charge-full-design-microamp-hours = <3472000>; 24 charge-term-current-microamp = <300000>; 25 constant-charge-current-max-microamp = <2000000>; [all …]
|
H A D | rk3566-anbernic-rg503.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include "rk3566-anbernic-rgxx3.dtsi" 21 compatible = "simple-battery"; 22 charge-full-design-microamp-hours = <3472000>; 23 charge-term-current-microamp = <300000>; 24 constant-charge-current-max-microamp = <2000000>; [all …]
|
H A D | rk3326-odroid-go2-v11.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include "rk3326-odroid-go.dtsi" 12 model = "ODROID-GO Advance Black Edition"; 13 compatible = "hardkernel,rk3326-odroid-go2-v11", "rockchip,rk3326"; 19 analog_sticks: adc-joystick { 20 compatible = "adc-joystick"; 21 io-channels = <&saradc 1>, 23 poll-interval = <60>; 24 #address-cells = <1>; [all …]
|
H A D | rk3326-odroid-go3.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include "rk3326-odroid-go.dtsi" 12 model = "ODROID-GO Super"; 13 compatible = "hardkernel,rk3326-odroid-go3", "rockchip,rk3326"; 15 joystick_mux_controller: mux-controller { 16 compatible = "gpio-mux"; 18 #mux-control-cells = <0>; 20 mux-gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_LOW>, 24 joystick_mux: adc-mux { [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
H A D | rockchip,rk817.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 21 - rockchip,rk817 29 '#clock-cells': 31 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 35 clock-output-names: 39 rockchip,system-power-controller: [all …]
|
/openbmc/linux/arch/arm64/boot/dts/sprd/ |
H A D | sp9860g-1h10.dts | 6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 /dts-v1/; 17 compatible = "sprd,sp9860g-1h10", "sprd,sc9860"; 34 stdout-path = "serial1:115200n8"; 37 reserved-memory { 38 #address-cells = <2>; 39 #size-cells = <2>; 44 compatible = "simple-battery"; 45 charge-full-design-microamp-hours = <1900000>; 46 charge-term-current-microamp = <120000>; [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | rt5033_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/mfd/rt5033-private.h> 33 struct regmap *regmap = charger->regmap; in rt5033_get_charger_state() 64 struct regmap *regmap = charger->regmap; in rt5033_get_charger_type() 86 struct regmap *regmap = charger->regmap; in rt5033_get_charger_current_limit() 102 struct regmap *regmap = charger->regmap; in rt5033_get_charger_const_voltage() 118 struct rt5033_charger_data *chg = charger->chg; in rt5033_init_const_charge() 124 if (chg->const_uvolt < RT5033_CHARGER_CONST_VOLTAGE_LIMIT_MIN || in rt5033_init_const_charge() 125 chg->const_uvolt > RT5033_CHARGER_CONST_VOLTAGE_LIMIT_MAX) { in rt5033_init_const_charge() 126 dev_err(charger->dev, in rt5033_init_const_charge() [all …]
|
H A D | power_supply_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 #include <linux/fixp-arith.h> 26 #include "samsung-sdi-battery.h" 44 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by() 48 if (supply->supplied_from) { in __power_supply_is_supplied_by() 49 if (!supplier->desc->name) in __power_supply_is_supplied_by() 51 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by() 52 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by() 55 if (!supply->desc->name) in __power_supply_is_supplied_by() 57 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by() [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 */ 50 #define BQ24190_REG_CCC 0x02 /* Charge Current Control */ 57 #define BQ24190_REG_PCTCC 0x03 /* Pre-charge/Termination Current Cntl */ 69 #define BQ24190_REG_CVC 0x04 /* Charge Voltage Control */ 78 #define BQ24190_REG_CTTC 0x05 /* Charge Term/Timer Control */ 152 * reads return the current value. In order to return the fault status 190 * The tables below provide a 2-way mapping for the value that goes in 191 * the register field and the real-world value that it represents. [all …]
|
/openbmc/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 <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 22 * arch/arm/boot/dts/qcom-msm8916-samsung-serranove.dts 28 chassis-type = "handset"; 37 stdout-path = "serial0"; 40 reserved-memory { [all …]
|
/openbmc/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 …]
|