| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| D | adc-battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/adc-battery.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ADC battery 10 - Sebastian Reichel <sre@kernel.org> 13 Basic battery capacity meter, which only reports basic battery data 14 via ADC channels and optionally indicate that the battery is full by 17 The voltage is expected to be measured between the battery terminals 19 monitor the current/power flowing out of the battery. Last but not [all …]
|
| D | lego,ev3-battery.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/lego,ev3-battery.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: LEGO MINDSTORMS EV3 Battery 10 - David Lechner <david@lechnology.com> 11 - Sebastian Reichel <sre@kernel.org> 14 LEGO MINDSTORMS EV3 has some built-in capability for monitoring the battery. 15 It uses 6 AA batteries or a special Li-ion rechargeable battery pack that is 16 detected by a key switch in the battery compartment. [all …]
|
| D | ingenic,battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 # Copyright 2019-2020 Artur Rojek 4 --- 5 $id: http://devicetree.org/schemas/power/supply/ingenic,battery.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Ingenic JZ47xx battery 11 - Artur Rojek <contact@artur-rojek.eu> 13 $ref: power-supply.yaml# 18 - const: ingenic,jz4740-battery 19 - items: [all …]
|
| D | nokia,n900-battery.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/nokia,n900-battery.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Nokia N900 battery 10 - Pali Rohár <pali@kernel.org> 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 18 const: nokia,n900-battery 20 io-channels: [all …]
|
| D | x-powers,axp20x-battery-power-supply.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-battery-power-supply.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: AXP20x Battery power-supply 10 The supported devices can read the battery voltage, charge and discharge 11 currents of the battery by reading ADC channels from the ADC. 14 - Chen-Yu Tsai <wens@csie.org> 15 - Sebastian Reichel <sre@kernel.org> 18 - $ref: power-supply.yaml# [all …]
|
| D | sc27xx-fg.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/sc27xx-fg.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 18 - sprd,sc2720-fgu 19 - sprd,sc2721-fgu 20 - sprd,sc2723-fgu 21 - sprd,sc2730-fgu [all …]
|
| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| D | da9052.rst | 6 * Dialog Semiconductors DA9052-BC and DA9053-AA/Bx PMICs 15 ----------- 17 The DA9052/53 provides an Analogue to Digital Converter (ADC) with 10 bits 21 the input of the ADC during the conversion. 23 The ADC is used to measure the following inputs: 26 Channel 0 VDDOUT - measurement of the system voltage 27 Channel 1 ICH - internal battery charger current measurement 28 Channel 2 TBAT - output from the battery NTC 29 Channel 3 VBAT - measurement of the battery voltage 30 Channel 4 ADC_IN4 - high impedance input (0 - 2.5V) [all …]
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| D | da9052.rst | 6 * Dialog Semiconductors DA9052-BC and DA9053-AA/Bx PMICs 15 ----------- 17 The DA9052/53 provides an Analogue to Digital Converter (ADC) with 10 bits 21 the input of the ADC during the conversion. 23 The ADC is used to measure the following inputs: 26 Channel 0 VDDOUT - measurement of the system voltage 27 Channel 1 ICH - internal battery charger current measurement 28 Channel 2 TBAT - output from the battery NTC 29 Channel 3 VBAT - measurement of the battery voltage 30 Channel 4 ADC_IN4 - high impedance input (0 - 2.5V) [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | ingenic,battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 # Copyright 2019-2020 Artur Rojek 4 --- 5 $id: "http://devicetree.org/schemas/power/supply/ingenic,battery.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 8 title: Ingenic JZ47xx battery bindings 11 - Artur Rojek <contact@artur-rojek.eu> 16 - const: ingenic,jz4740-battery 17 - items: 18 - enum: [all …]
|
| D | rx51-battery.txt | 1 Binding for Nokia N900 battery 3 The Nokia N900 battery status can be read via the TWL4030's A/D converter. 6 - compatible: Should contain one of the following: 7 * "nokia,n900-battery" 8 - io-channels: Should contain IIO channel specifiers 9 for each element in io-channel-names. 10 - io-channel-names: Should contain the following values: 11 * "temp" - The ADC channel for temperature reading 12 * "bsi" - The ADC channel for battery size identification 13 * "vbat" - The ADC channel to measure the battery voltage [all …]
|
| D | axp20x_battery.txt | 1 AXP20x and AXP22x battery power supply 4 - compatible, one of: 5 "x-powers,axp209-battery-power-supply" 6 "x-powers,axp221-battery-power-supply" 7 "x-powers,axp813-battery-power-supply" 11 The supported devices can read the battery voltage, charge and discharge 12 currents of the battery by reading ADC channels from the ADC. 17 battery_power_supply: battery-power-supply { 18 compatible = "x-powers,axp209-battery-power-supply";
|
| D | lego_ev3_battery.txt | 1 LEGO MINDSTORMS EV3 Battery 4 LEGO MINDSTORMS EV3 has some built-in capability for monitoring the battery. 5 It uses 6 AA batteries or a special Li-ion rechargeable battery pack that is 6 detected by a key switch in the battery compartment. 9 - compatible: Must be "lego,ev3-battery" 10 - io-channels: phandles to analog inputs for reading voltage and current 11 - io-channel-names: Must be "voltage", "current" 12 - rechargeable-gpios: phandle to the rechargeable battery indication gpio 16 battery { 17 compatible = "lego,ev3-battery"; [all …]
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | sc27xx_fuel_gauge.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/nvmem-consumer.h> 75 * @battery: battery power supply 78 * @gpiod: GPIO for battery detection 79 * @channel: IIO channel to get battery temperature 81 * @internal_resist: the battery internal resistance in mOhm 82 * @total_cap: the total capacity of the battery in mAh 83 * @init_cap: the initial capacity of the battery in mAh 87 * @min_volt: the minimum drained battery voltage in microvolt 91 * @cur_1000ma_adc: ADC value corresponding to 1000 mA [all …]
|
| D | max8925_power.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Battery driver for Maxim MAX8925 5 * Copyright (c) 2009-2010 Marvell International Ltd. 31 /* registers in ADC */ 66 struct i2c_client *adc; member 70 struct power_supply *battery; member 87 struct max8925_chip *chip = info->chip; in __set_charger() 90 if (info->set_charger) in __set_charger() 91 info->set_charger(1); in __set_charger() 93 max8925_set_bits(info->gpm, MAX8925_CHG_CNTL1, 1 << 7, 0); in __set_charger() [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | sc27xx_fuel_gauge.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/nvmem-consumer.h> 75 * @battery: battery power supply 78 * @gpiod: GPIO for battery detection 79 * @channel: IIO channel to get battery temperature 81 * @internal_resist: the battery internal resistance in mOhm 82 * @total_cap: the total capacity of the battery in mAh 83 * @init_cap: the initial capacity of the battery in mAh 87 * @min_volt: the minimum drained battery voltage in microvolt 91 * @cur_1000ma_adc: ADC value corresponding to 1000 mA [all …]
|
| D | max8925_power.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Battery driver for Maxim MAX8925 5 * Copyright (c) 2009-2010 Marvell International Ltd. 31 /* registers in ADC */ 66 struct i2c_client *adc; member 70 struct power_supply *battery; member 87 struct max8925_chip *chip = info->chip; in __set_charger() 90 if (info->set_charger) in __set_charger() 91 info->set_charger(1); in __set_charger() 93 max8925_set_bits(info->gpm, MAX8925_CHG_CNTL1, 1 << 7, 0); in __set_charger() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/ |
| D | aspeed,ast2600-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/aspeed,ast2600-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ADC that forms part of an ASPEED server management processor. 10 - Billy Tsai <billy_tsai@aspeedtech.com> 13 • 10-bits resolution for 16 voltage channels. 16 • Channel scanning can be non-continuous. 17 • Programmable ADC clock frequency. 21 • Built-in a compensating method. [all …]
|
| D | qcom,spmi-rradc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-rradc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm's SPMI PMIC Round Robin ADC 10 - Caleb Connolly <caleb.connolly@linaro.org> 13 The Qualcomm SPMI Round Robin ADC (RRADC) provides interface to clients to 15 the battery thermistor die temperature, charger temperature, USB and DC input 16 voltage / current and battery ID resistor. 21 - qcom,pmi8998-rradc [all …]
|
| D | ti,palmas-gpadc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/ti,palmas-gpadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Palmas general purpose ADC IP block 10 - Tony Lindgren <tony@atomide.com> 13 This ADC is often used to provide channels via the io-channels 16 0 battery type 17 1 battery temp NTC (optional current source) 24 8 Backup Battery voltage [all …]
|
| D | adi,ad7280a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/adi,ad7280a.yaml# 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> 14 Bindings for the Analog Devices AD7280a Battery Monitoring System. 15 Used in devices such as hybrid electric cars, battery backup and power tools. 18 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7280A.pdf [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # ADC drivers 10 bool "ST-Ericsson AB8500 GPADC driver" 16 internal voltages, convert accessory and battery, AC (charger, mains) 25 tristate "Analog Device AD4130 ADC Driver" 33 Say yes here to build support for Analog Devices AD4130-8 SPI analog 34 to digital converters (ADC). 40 tristate "Analog Devices AD7091R5 ADC Driver" 44 Say yes here to build support for Analog Devices AD7091R-5 ADC. 47 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver" [all …]
|
| D | intel_mrfld_adc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ADC driver for Basin Cove PMIC 65 struct mrfld_adc *adc = iio_priv(indio_dev); in mrfld_adc_thread_isr() local 67 complete(&adc->completion); in mrfld_adc_thread_isr() 75 struct mrfld_adc *adc = iio_priv(indio_dev); in mrfld_adc_single_conv() local 76 struct regmap *regmap = adc->regmap; in mrfld_adc_single_conv() 82 reinit_completion(&adc->completion); in mrfld_adc_single_conv() 93 req = mrfld_adc_requests[chan->channel]; in mrfld_adc_single_conv() 98 timeout = wait_for_completion_interruptible_timeout(&adc->completion, in mrfld_adc_single_conv() 105 ret = -ETIMEDOUT; in mrfld_adc_single_conv() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | stericsson,ab8500.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST-Ericsson Analog Baseband AB8500 and AB8505 10 - Linus Walleij <linus.walleij@linaro.org> 13 the AB8500 "Analog Baseband" is the mixed-signals integrated circuit 14 handling power management (regulators), analog-to-digital conversion 15 (ADC), battery charging, fuel gauging of the battery, battery-backed 16 RTC, PWM, USB PHY and some GPIO lines in the ST-Ericsson U8500 platforms 21 USB charging handling has changed, and it has an embedded USB-to-serial [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/iio/adc/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # ADC drivers 8 tristate "Analog Devices AD7816/7/8 temperature sensor and ADC driver" 13 temperature sensors and ADC. 19 tristate "Analog Devices AD7280A Lithium Ion Battery Monitoring System" 24 Lithium Ion Battery Monitoring System.
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | intel_mrfld_adc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ADC driver for Basin Cove PMIC 64 struct mrfld_adc *adc = iio_priv(indio_dev); in mrfld_adc_thread_isr() local 66 complete(&adc->completion); in mrfld_adc_thread_isr() 74 struct mrfld_adc *adc = iio_priv(indio_dev); in mrfld_adc_single_conv() local 75 struct regmap *regmap = adc->regmap; in mrfld_adc_single_conv() 81 reinit_completion(&adc->completion); in mrfld_adc_single_conv() 92 req = mrfld_adc_requests[chan->channel]; in mrfld_adc_single_conv() 97 timeout = wait_for_completion_interruptible_timeout(&adc->completion, in mrfld_adc_single_conv() 104 ret = -ETIMEDOUT; in mrfld_adc_single_conv() [all …]
|