| /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-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 …]
|
| D | richtek,rtq6056.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RTQ6056 Bi-Directional Current and Power Monitor with 16-bit ADC 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RTQ6056 is a high accuracy current-sense monitor with I2C and SMBus 17 The device monitors both of the drops across sense resistor and the BUS 19 internal analog-to-digital converter ADC. The programmable calibration, 24 https://www.richtek.com/assets/product_file/RTQ6056/DSQ6056-00.pdf 33 "#io-channel-cells": [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-5.10/Documentation/devicetree/bindings/iio/afe/ |
| 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 …]
|
| 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 …]
|
| /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 …]
|
| /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 | 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,rk817 29 '#clock-cells': 31 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 35 clock-output-names: 39 rockchip,system-power-controller: [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-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-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/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/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() 80 * For IIO_VAL_INT_PLUS_{MICRO,NANO} scale types if either *val in rescale_process_scale() 82 * *val = 1 and *val2 = -0.5 yields -1.5 not -0.5. in rescale_process_scale() [all …]
|
| /kernel/linux/linux-6.6/drivers/hwmon/ |
| D | ltc4151.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 25 #include <linux/hwmon-sysfs.h> 42 unsigned int shunt; /* in micro ohms */ 51 struct i2c_client *client = data->client; in ltc4151_update_device() 54 mutex_lock(&data->update_lock); in ltc4151_update_device() 58 * (Conversion Rate 6 - 9 Hz) in ltc4151_update_device() 60 if (time_after(jiffies, data->last_updated + HZ / 6) || !data->valid) { in ltc4151_update_device() 63 dev_dbg(&client->dev, "Starting ltc4151 update\n"); in ltc4151_update_device() 66 for (i = 0; i < ARRAY_SIZE(data->regs); i++) { in ltc4151_update_device() 77 data->regs[i] = val; in ltc4151_update_device() [all …]
|
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| D | ltc4151.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 25 #include <linux/hwmon-sysfs.h> 42 unsigned int shunt; /* in micro ohms */ 51 struct i2c_client *client = data->client; in ltc4151_update_device() 54 mutex_lock(&data->update_lock); in ltc4151_update_device() 58 * (Conversion Rate 6 - 9 Hz) in ltc4151_update_device() 60 if (time_after(jiffies, data->last_updated + HZ / 6) || !data->valid) { in ltc4151_update_device() 63 dev_dbg(&client->dev, "Starting ltc4151 update\n"); in ltc4151_update_device() 66 for (i = 0; i < ARRAY_SIZE(data->regs); i++) { in ltc4151_update_device() 77 data->regs[i] = val; in ltc4151_update_device() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/addac/ |
| D | adi,ad74413r.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cosmin Tanislav <cosmin.tanislav@analog.com> 13 The AD74412R and AD74413R are quad-channel software configurable input/output 18 The devices feature a 16-bit ADC and four configurable 13-bit DACs to provide 20 The AD74413R differentiates itself from the AD74412R by being HART-compatible. 27 - adi,ad74412r 28 - adi,ad74413r 33 '#address-cells': [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/addac/ |
| D | adi,ad74413r.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cosmin Tanislav <cosmin.tanislav@analog.com> 13 The AD74412R and AD74413R are quad-channel software configurable input/output 18 The devices feature a 16-bit ADC and four configurable 13-bit DACs to provide 20 The AD74413R differentiates itself from the AD74412R by being HART-compatible. 27 - adi,ad74412r 28 - adi,ad74413r 33 '#address-cells': [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| D | qcom-spmi-iadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. 71 #define IADC_INT_RSENSE_DEVIATION 15625 /* nano Ohms per bit */ 73 #define IADC_INT_RSENSE_IDEAL_VALUE 10000 /* micro Ohms */ 74 #define IADC_INT_RSENSE_DEFAULT_VALUE 7800 /* micro Ohms */ 75 #define IADC_INT_RSENSE_DEFAULT_GF 9000 /* micro Ohms */ 76 #define IADC_INT_RSENSE_DEFAULT_SMIC 9700 /* micro Ohms */ 94 * struct iadc_chip - IADC Current ADC device structure. 98 * @rsense: Values of the internal and external sense resister in micro Ohms. 122 ret = regmap_read(iadc->regmap, iadc->base + offset, &val); in iadc_read() [all …]
|