/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 | 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 …]
|
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.
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8216-samsung-fortuna3g.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-fortuna-common.dtsi" 8 model = "Samsung Galaxy Grand Prime (SM-G530H)"; 10 chassis-type = "handset"; 14 charge-term-current-microamp = <200000>; 15 constant-charge-current-max-microamp = <1000000>; 16 constant-charge-voltage-max-microvolt = <4350000>;
|
H A D | msm8916-samsung-grandprimelte.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-fortuna-common.dtsi" 8 model = "Samsung Galaxy Grand Prime (SM-G530FZ)"; 10 chassis-type = "handset"; 14 charge-term-current-microamp = <200000>; 15 constant-charge-current-max-microamp = <1000000>; 16 constant-charge-voltage-max-microvolt = <4350000>;
|
H A D | msm8916-samsung-rossa.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-rossa-common.dtsi" 10 chassis-type = "handset"; 14 charge-term-current-microamp = <150000>; 15 constant-charge-current-max-microamp = <700000>; 16 constant-charge-voltage-max-microvolt = <4400000>; 24 interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>; 26 touchscreen-size-x = <480>; 27 touchscreen-size-y = <800>; [all …]
|
H A D | msm8916-samsung-e7.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-e2015-common.dtsi" 11 * There seems to be no way to boot ARM64 kernels on 32-bit devices at the 17 * arch/arm/boot/dts/qcom-msm8916-samsung-e7.dts 23 chassis-type = "handset"; 27 charge-term-current-microamp = <200000>; 28 constant-charge-current-max-microamp = <1500000>; 29 constant-charge-voltage-max-microvolt = <4350000>; 34 regulator-min-microvolt = <3000000>; [all …]
|
H A D | msm8916-samsung-e5.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-e2015-common.dtsi" 11 * There seems to be no way to boot ARM64 kernels on 32-bit devices at the 17 * arch/arm/boot/dts/qcom-msm8916-samsung-e5.dts 23 chassis-type = "handset"; 27 charge-term-current-microamp = <200000>; 28 constant-charge-current-max-microamp = <1500000>; 29 constant-charge-voltage-max-microvolt = <4350000>; 39 interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>; [all …]
|
H A D | msm8916-samsung-a5u-eur.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-a2015-common.dtsi" 9 compatible = "samsung,a5u-eur", "qcom,msm8916"; 10 chassis-type = "handset"; 12 reg_touch_key: regulator-touch-key { 13 compatible = "regulator-fixed"; 14 regulator-name = "touch_key"; 15 regulator-min-microvolt = <3300000>; 16 regulator-max-microvolt = <3300000>; [all …]
|
H A D | msm8916-samsung-gprimeltecan.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-fortuna-common.dtsi" 8 model = "Samsung Galaxy Grand Prime (SM-G530W)"; 10 chassis-type = "handset"; 12 reserved-memory { 14 /delete-node/ tz-apps@85a00000; 17 tz-apps@85500000 { 19 no-map; 25 charge-term-current-microamp = <200000>; [all …]
|
H A D | msm8916-samsung-grandmax.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-e2015-common.dtsi" 6 #include <dt-bindings/leds/common.h> 12 * There seems to be no way to boot ARM64 kernels on 32-bit devices at the 18 * arch/arm/boot/dts/qcom-msm8916-samsung-grandmax.dts 24 chassis-type = "handset"; 26 /delete-node/ gpio-hall-sensor; 27 /delete-node/ i2c-nfc; 28 /delete-node/ i2c-tkey; [all …]
|
H A D | msm8916-samsung-a3u-eur.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-a2015-common.dtsi" 9 compatible = "samsung,a3u-eur", "qcom,msm8916"; 10 chassis-type = "handset"; 12 reg_panel_vdd3: regulator-panel-vdd3 { 13 compatible = "regulator-fixed"; 14 regulator-name = "panel_vdd3"; 15 regulator-min-microvolt = <1800000>; 16 regulator-max-microvolt = <1800000>; [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 …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
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 | 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 …]
|
H A D | rk3566-powkiddy-rk2023.dtsi | 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/leds/common.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/soc/rockchip,vop2.h> 13 chassis-type = "handset"; 21 adc-joystick { 22 compatible = "adc-joystick"; [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 …]
|
/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,rk809 22 - rockchip,rk817 30 '#clock-cells': 32 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 39 clock-names: [all …]
|
/linux/drivers/power/supply/ |
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 …]
|
/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 …]
|