| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/afe/ |
| D | current-sense-amplifier.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/current-sense-amplifier.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Current Sense Amplifier 10 - Peter Rosin <peda@axentia.se> 13 When an io-channel measures the output voltage from a current sense 15 through the sense resistor, not the voltage output. This binding 16 describes such a current sense circuit. 20 const: current-sense-amplifier [all …]
|
| D | current-sense-shunt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/current-sense-shunt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Current Sense Shunt 10 - Peter Rosin <peda@axentia.se> 13 When an io-channel measures the voltage over a current sense shunt, 16 sense circuit. 20 const: current-sense-shunt 22 io-channels: [all …]
|
| D | temperature-transducer.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/temperature-transducer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Beguin <liambeguin@gmail.com> 19 When an io-channel measures the output voltage of a temperature analog front 35 ----- 37 +---+---+ 39 +---+---+ ----- 41 V proportional to T +----+----+ [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/afe/ |
| D | current-sense-shunt.txt | 1 Current Sense Shunt 4 When an io-channel measures the voltage over a current sense shunt, 7 sense circuit. 10 - compatible : "current-sense-shunt" 11 - io-channels : Channel node of a voltage io-channel. 12 - shunt-resistor-micro-ohms : The shunt resistance in microohms. 16 3.3 ohms shunt resistor. 19 compatible = "current-sense-shunt"; 20 io-channels = <&tiadc 0>; 23 shunt-resistor-micro-ohms = <3300000>; [all …]
|
| D | current-sense-amplifier.txt | 1 Current Sense Amplifier 4 When an io-channel measures the output voltage from a current sense 6 through the sense resistor, not the voltage output. This binding 7 describes such a current sense circuit. 10 - compatible : "current-sense-amplifier" 11 - io-channels : Channel node of a voltage io-channel. 12 - sense-resistor-micro-ohms : The sense resistance in microohms. 15 - sense-gain-mult: Amplifier gain multiplier. The default is <1>. 16 - sense-gain-div: Amplifier gain divider. The default is <1>. 21 compatible = "current-sense-amplifier"; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/ |
| D | maxim,max9611.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Maxim MAX9611 and similar current sense amplifiers with integrated ADCs 10 - Jacopo Mondi <jacopo@jmondi.org> 13 These devices combine a high-side current sense amplifier with a 12 bit ADC. 19 - maxim,max9611 20 - maxim,max9612 25 shunt-resistor-micro-ohms: 27 Value in micro Ohms of the shunt resistor connected between the RS+ and [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | maxim,max9611.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Maxim MAX9611 and similar current sense amplifiers with integrated ADCs 10 - Jacopo Mondi <jacopo@jmondi.org> 13 These devices combine a high-side current sense amplifier with a 12 bit ADC. 19 - maxim,max9611 20 - maxim,max9612 25 shunt-resistor-micro-ohms: 28 Value in micro Ohms of the shunt resistor connected between the RS+ and [all …]
|
| D | qcom,spmi-iadc.txt | 5 through an external resistor (channel 1) or internal (built-in) resistor 6 (channel 0). When using an external resistor it is to be described by 7 qcom,external-resistor-micro-ohms property. 11 - compatible: 14 Definition: Should contain "qcom,spmi-iadc". 16 - reg: 18 Value type: <prop-encoded-array> 21 - interrupts: 23 Value type: <prop-encoded-array> 26 - qcom,external-resistor-micro-ohms: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| 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-schemas/core.yaml# 8 title: Linear Technology (Analog Devices) LTC4162-L Charger 11 - Mike Looijmans <mike.looijmans@topic.nl> 14 The LTC ® 4162-L is an advanced monolithic synchronous step-down switching 17 panels, etc., and a rechargeable Lithium-Ion/Polymer battery. 20 https://www.analog.com/en/products/ltc4162-s.html 25 - lltc,ltc4162-l [all …]
|
| D | lltc,ltc294x.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 17 - Sebastian Reichel <sre@kernel.org> 20 - $ref: power-supply.yaml# 25 - lltc,ltc2941 26 - lltc,ltc2942 27 - lltc,ltc2943 28 - lltc,ltc2944 33 lltc,resistor-sense: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | maxim,max5970.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Patrick Rudolph <patrick.rudolph@9elements.com> 24 - maxim,max5970 25 - maxim,max5978 39 "#address-cells": 42 "#size-cells": 46 "^led@[0-3]$": 52 vss1-supply: [all …]
|
| D | rohm,bd71815-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71815-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 13 BD71815AGW is a single-chip power management ICs for battery-powered 15 for LED and a 500 mA single-cell linear charger. Also included is a Coulomb 16 counter, a real-time clock (RTC), and a 32.768 kHz clock gate and two GPOs. 30 gpio-controller: true 32 "#gpio-cells": [all …]
|
| D | rohm,bd71828-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71828-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 13 BD71828GW is a single-chip power management IC for battery-powered portable 15 single-cell linear charger. Also included is a Coulomb counter, a real-time 30 gpio-controller: true 32 "#gpio-cells": 41 "#clock-cells": [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/hwmon/ |
| D | adi,ltc2992.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandru Tachici <alexandru.tachici@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2992.pdf 19 - adi,ltc2992 24 '#address-cells': 27 '#size-cells': 30 avcc-supply: true 33 "^channel@([0-1])$": [all …]
|
| D | adi,adm1177.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf 19 - adi,adm1177 24 avcc-supply: 28 shunt-resistor-micro-ohms: 30 The value of current sense resistor in microohms. If not provided, 33 adi,shutdown-threshold-microamp: [all …]
|
| D | ti,tps23861.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Robert Marko <robert.marko@sartura.hr> 14 The TPS23861 is a IEEE 802.3at Quad Port Power-over-Ethernet PSE Controller. 23 - ti,tps23861 28 shunt-resistor-micro-ohms: 29 description: The value of current sense resistor in microohms. 35 - compatible 36 - reg [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/hwmon/pmbus/ |
| D | ti,lm25066.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: National Semiconductor/Texas Instruments LM250x6/LM506x power-management ICs 11 - Zev Weiss <zev@bewilderbeest.net> 14 The LM25066 family of power-management ICs (a.k.a. hot-swap 23 - ti,lm25056 24 - ti,lm25066 25 - ti,lm5064 26 - ti,lm5066 [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/hwmon/ |
| D | adi,adm1177.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 11 - Beniamin Bia <beniamin.bia@analog.com> 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf 20 - adi,adm1177 25 avcc-supply: 29 shunt-resistor-micro-ohms: 31 The value of curent sense resistor in microohms. If not provided, [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | rohm,bd71828-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71828-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 13 BD71828GW is a single-chip power management IC for battery-powered portable 15 single-cell linear charger. Also included is a Coulomb counter, a real-time 30 gpio-controller: true 32 "#gpio-cells": 41 "#clock-cells": [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | ltc2941.txt | 10 - compatible: Should contain "lltc,ltc2941", "lltc,ltc2942", "lltc,ltc2943" 12 - reg: The 7-bit I2C address. 13 - lltc,resistor-sense: The sense resistor value in milli-ohms. Can be a 32-bit 15 resistor. 16 - lltc,prescaler-exponent: The prescaler exponent as explained in the datasheet. 26 lltc,resistor-sense = <15>; 27 lltc,prescaler-exponent = <5>; /* 2^(2*5) = 1024 */
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-bus-iio-adc-max9611 | 4 Contact: linux-iio@vger.kernel.org 5 Description: The value of the shunt resistor used to compute power drain on 6 common input voltage pin (RS+). In Ohms. 11 Contact: linux-iio@vger.kernel.org 12 Description: The value of the shunt resistor used to compute current flowing 13 between RS+ and RS- voltage sense inputs. In Ohms. 17 current flowing between RS+ and RS- inputs.
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-bus-iio-adc-max9611 | 4 Contact: linux-iio@vger.kernel.org 5 Description: The value of the shunt resistor used to compute power drain on 6 common input voltage pin (RS+). In Ohms. 11 Contact: linux-iio@vger.kernel.org 12 Description: The value of the shunt resistor used to compute current flowing 13 between RS+ and RS- voltage sense inputs. In Ohms. 17 current flowing between RS+ and RS- inputs.
|
| /kernel/linux/linux-5.10/drivers/iio/afe/ |
| D | iio-rescale.c | 1 // SPDX-License-Identifier: GPL-2.0 46 return iio_read_channel_raw(rescale->source, val); in rescale_read_raw() 49 ret = iio_read_channel_scale(rescale->source, val, val2); in rescale_read_raw() 52 *val *= rescale->numerator; in rescale_read_raw() 53 *val2 *= rescale->denominator; in rescale_read_raw() 56 *val *= rescale->numerator; in rescale_read_raw() 57 if (rescale->denominator == 1) in rescale_read_raw() 59 *val2 = rescale->denominator; in rescale_read_raw() 63 tmp = div_s64(tmp, rescale->denominator); in rescale_read_raw() 64 tmp *= rescale->numerator; in rescale_read_raw() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/temperature/ |
| D | adi,ltc2983.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices LTC2983, LTC2986, LTM2985 Multi-sensor Temperature system 10 - Nuno Sá <nuno.sa@analog.com> 13 Analog Devices LTC2983, LTC2984, LTC2986, LTM2985 Multi-Sensor Digital 16 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/2984fb.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/29861fa.pdf 19 https://www.analog.com/media/en/technical-documentation/data-sheets/ltm2985.pdf [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/afe/ |
| D | iio-rescale.c | 1 // SPDX-License-Identifier: GPL-2.0 33 *val *= rescale->numerator; in rescale_process_scale() 34 if (rescale->denominator == 1) in rescale_process_scale() 36 *val2 = rescale->denominator; in rescale_process_scale() 44 if (!check_mul_overflow(*val, rescale->numerator, &_val) && in rescale_process_scale() 45 !check_mul_overflow(*val2, rescale->denominator, &_val2)) { in rescale_process_scale() 53 tmp = div_s64(tmp, rescale->denominator); in rescale_process_scale() 54 tmp *= rescale->numerator; in rescale_process_scale() 82 * *val = 1 and *val2 = -0.5 yields -1.5 not -0.5. in rescale_process_scale() 86 tmp = (s64)abs(*val) * abs(rescale->numerator); in rescale_process_scale() [all …]
|