/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 | samsung,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 - Linus Walleij <linus.walleij@linaro.org> 14 of lithium ion chemistry devices used for mobile phones, laptops and other 24 - const: samsung,eb-l1m7flu 25 description: 3.8V 1500 mAh battery used in Samsung GT-I8190 26 - const: samsung,eb425161la 27 description: 3.8V 1500 mAh battery used in Samsung SGH-T599 and SGH-I407 28 - const: samsung,eb425161lu [all …]
|
H A D | ltc4162-l.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/power/supply/ltc4162-l.yaml# 6 $schema: http://devicetree.org/meta-schema [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 …]
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | adi,ad7280a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD7280a Lithium Ion Battery Monitoring System 10 - Michael Hennerich <michael.hennerich@analog.com> 11 - Jonathan Cameron <jic23@kernel.org> 18 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7280A.pdf 31 adi,voltage-alert-last-chan: 40 adi,acquisition-time-ns: 47 adi,thermistor-termination: [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/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 …]
|
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 …]
|
H A D | max17040_battery.c | 1 // SPDX-License-Identifier: GPL-2.0 4 // fuel-gauge systems for lithium-ion (Li+) batteries 160 return regmap_write(chip->regmap, MAX17040_CMD, chip->data.reset_val); in max17040_reset() 165 level = 32 - level * (chip->quirk_double_soc ? 2 : 1); in max17040_set_low_soc_alert() 166 return regmap_update_bits(chip->regmap, MAX17040_CONFIG, in max17040_set_low_soc_alert() 172 return regmap_update_bits(chip->regmap, MAX17040_CONFIG, in max17040_set_soc_alert() 178 u16 mask = chip->data.rcomp_bytes == 2 ? in max17040_set_rcomp() 181 return regmap_update_bits(chip->regmap, MAX17040_CONFIG, mask, rcomp); in max17040_set_rcomp() 186 struct chip_data *d = &chip->data; in max17040_raw_vcell_to_uvolts() 188 return (vcell >> d->vcell_shift) * d->vcell_mul / d->vcell_div; in max17040_raw_vcell_to_uvolts() [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
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 …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | ste-href.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 ST-Ericsson AB 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/leds/common.h> 8 #include "ste-href-family-pinctrl.dtsi" 17 compatible = "simple-battery"; 18 battery-type = "lithium-ion-polymer"; 21 thermal-zones { 22 battery-thermal { 24 polling-delay = <0>; [all …]
|
H A D | ste-snowball.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2011 ST-Ericsson AB 6 /dts-v1/; 7 #include "ste-db9500.dtsi" 8 #include "ste-href-ab8500.dtsi" 9 #include "ste-href-family-pinctrl.dtsi" 13 compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500"; 21 compatible = "simple-battery"; 22 battery-type = "lithium-ion-polymer"; 25 thermal-zones { [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/iio/adc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 bool "ST-Ericsson AB8500 GPADC driver" 45 Say yes here to build support for Analog Devices AD4130-8 SPI analog 73 Say yes here to build support for Analog Devices AD7091R-5 ADC. 81 Say yes here to build support for Analog Devices AD7091R-2, AD7091R-4, 82 and AD7091R-8 ADC. 88 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver" 92 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8 107 - AD7172-2 108 - AD7173-8 [all …]
|
/linux/drivers/mfd/ |
H A D | tps65010.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * tps65010 - driver for tps6501x power management chips 6 * Copyright (C) 2004-2005 David Brownell 27 /*-------------------------------------------------------------------------*/ 37 /*-------------------------------------------------------------------------*/ 40 * voltage regulators, lithium ion/polymer battery charging, GPIOs, LEDs, 47 * battery-insert != device-on. 84 /*-------------------------------------------------------------------------*/ 184 struct tps65010 *tps = s->private; in dbg_show() 190 switch (tps->model) { in dbg_show() [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 …]
|