/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 | bq27xxx.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Pali Rohár <pali@kernel.org> 12 - Andrew F. Davis <afd@ti.com> 13 - Sebastian Reichel <sre@kernel.org> 20 - $ref: power-supply.yaml# 25 - ti,bq27200 26 - ti,bq27210 27 - ti,bq27500 # deprecated, use revision specific property below [all …]
|
H A D | cw2015_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 - Tobias Schramm <t.schramm@manjaro.org> 13 The driver can utilize information from a simple-battery linked via a 14 phandle in monitored-battery. If specified the driver uses the 15 charge-full-design-microamp-hours property of the battery. 18 - $ref: power-supply.yaml# 27 cellwise,battery-profile: 33 $ref: /schemas/types.yaml#/definitions/uint8-array [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3326-odroid-go2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Copyright (c) 2020 Theobroma Systems Design und Consulting GmbH 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>; [all …]
|
H A D | rk3326-odroid-go2-v11.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Copyright (c) 2020 Theobroma Systems Design und Consulting GmbH 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>; [all …]
|
H A D | rk3326-odroid-go3.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Copyright (c) 2020 Theobroma Systems Design und Consulting GmbH 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>, [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 …]
|
H A D | rk3568-photonicat.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/soc/rockchip,vop2.h> 23 compatible = "simple-battery"; 24 device-chemistry = "lithium-ion"; 25 charge-full-design-microamp-hours = <6800000>; 26 energy-full-design-microwatt-hours = <25000000>; 27 voltage-max-design-microvolt = <4200000>; [all …]
|
H A D | rk3588-coolpi-cm5-genbook.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/soc/rockchip,vop2.h> 11 #include "rk3588-coolpi-cm5.dtsi" 15 compatible = "coolpi,pi-cm5-genbook", "coolpi,pi-cm5", "rockchip,rk3588"; 18 compatible = "pwm-backlight"; 19 enable-gpios = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&bl_en>; [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | ene-kb930.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/ene-kb930.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Dmitry Osipenko <digetx@gmail.com> 16 $ref: /schemas/power/supply/power-supply.yaml 21 - enum: 22 - acer,a500-iconia-ec # Acer A500 Iconia tablet device 23 - const: ene,kb930 27 system-power-controller: true [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/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-longcheer-l8150.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-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/leds/common.h> 16 chassis-type = "handset"; 25 stdout-path = "serial0"; [all …]
|
H A D | msm8996-oneplus3t.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include "msm8996-oneplus-common.dtsi" 13 chassis-type = "handset"; 14 qcom,board-id = <8 0 15811 26>, 20 firmware-name = "qcom/msm8996/oneplus3t/adsp.mbn"; 25 charge-full-design-microamp-hours = <3400000>; 26 voltage-max-design-microvolt = <4400000>; 32 zap-shader { 33 firmware-name = "qcom/msm8996/oneplus3t/a530_zap.mbn"; [all …]
|
H A D | msm8996-oneplus3.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include "msm8996-oneplus-common.dtsi" 13 chassis-type = "handset"; 14 qcom,board-id = <8 0 15801 15>, <8 0 15801 16>; 15 qcom,msm-id = <246 0x30001>; 19 firmware-name = "qcom/msm8996/oneplus3/adsp.mbn"; 24 charge-full-design-microamp-hours = <3000000>; 25 voltage-max-design-microvolt = <4350000>; 31 zap-shader { [all …]
|
H A D | sdm845-oneplus-fajita.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 #include "sdm845-oneplus-common.dtsi" 13 chassis-type = "handset"; 14 qcom,msm-id = <0x141 0x20001>; 15 qcom,board-id = <8 0 18801 41>; 18 compatible = "simple-battery"; 20 charge-full-design-microamp-hours = <3700000>; 21 voltage-min-design-microvolt = <3400000>; 22 voltage-max-design-microvolt = <4400000>; 37 monitored-battery = <&battery>; [all …]
|
H A D | msm8916-lg-m216.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 13 chassis-type = "handset"; 22 stdout-path = "serial0"; 26 compatible = "simple-battery"; 27 voltage-min-design-microvolt = <3300000>; 28 voltage-max-design-microvolt = <4350000>; [all …]
|
H A D | sdm845-oneplus-enchilada.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 #include "sdm845-oneplus-common.dtsi" 13 chassis-type = "handset"; 14 qcom,msm-id = <0x141 0x20001>; 15 qcom,board-id = <8 0 17819 22>; 18 compatible = "simple-battery"; 20 charge-full-design-microamp-hours = <3300000>; 21 voltage-min-design-microvolt = <3400000>; 22 voltage-max-design-microvolt = <4400000>; 33 monitored-battery = <&battery>; [all …]
|
H A D | msm8916-wingtech-wt865x8.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/pinctrl/qcom,pmic-mpp.h> 17 stdout-path = "serial0"; 20 headphones_switch: audio-switch { 21 compatible = "simple-audio-amplifier"; 23 pinctrl-0 = <&headphones_switch_default>; 24 pinctrl-names = "default"; [all …]
|
H A D | msm8916-gplus-fl8005a.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-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/leds/common.h> 15 chassis-type = "tablet"; 24 stdout-path = "serial0"; 28 compatible = "simple-battery"; [all …]
|
H A D | sdm845-xiaomi-beryllium-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include <dt-bindings/leds/common.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 8 #include <dt-bindings/sound/qcom,q6afe.h> 9 #include <dt-bindings/sound/qcom,q6asm.h> 11 #include "sdm845-wcd9340.dtsi" 19 /delete-node/ &tz_mem; 20 /delete-node/ &adsp_mem; [all …]
|
H A D | sdm845-xiaomi-polaris.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12 #include <dt-bindings/input/linux-event-codes.h> 13 #include <dt-bindings/sound/qcom,q6afe.h> 14 #include <dt-bindings/sound/qcom,q6asm.h> 16 #include "sdm845-wcd9340.dtsi" 25 /delete-node/ &rmtfs_mem; [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6ull-uti260b.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 // Copyright (C) 2022-2024 Sebastian Reichel <sre@kernel.org> 4 /dts-v1/; 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/clock/imx6ul-clock.h> 9 #include <dt-bindings/leds/common.h> 12 model = "UNI-T UTi260B Thermal Camera"; 13 compatible = "uni-t,uti260b", "fsl,imx6ull"; 16 stdout-path = "serial0:115200n8"; [all …]
|
/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra30-lg-p880.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra30-lg-x3.dtsi" 16 pinctrl-names = "default"; 17 pinctrl-0 = <&state_default>; 21 host-wlan-wake { 26 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 29 /* GNSS UART-B pinmux */ 30 uartb-rxd { 35 nvidia,enable-input = <TEGRA_PIN_ENABLE>; [all …]
|
H A D | tegra30-lg-p895.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra30-lg-x3.dtsi" 11 pinctrl-names = "default"; 12 pinctrl-0 = <&state_default>; 15 /* GNSS UART-B pinmux */ 16 uartb-cts-rxd { 22 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 24 uartb-rts-txd { 30 nvidia,enable-input = <TEGRA_PIN_DISABLE>; [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 …]
|