/Linux-v6.1/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 | 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 …]
|
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 …]
|
/Linux-v6.1/Documentation/hwmon/ |
D | ltc4260.rst | 10 Addresses scanned: - 16 Author: Guenter Roeck <linux@roeck-us.net> 20 ----------- 27 ----------- 37 $ echo ltc4260 0x10 > /sys/bus/i2c/devices/i2c-1/new_device 41 ------------- 46 value of the divider resistor against the measured voltage and R2 is the value 47 of the divider resistor against Ground. 50 Current Sense register. The reported value assumes that a 1 mOhm sense resistor 51 is installed. If a different sense resistor is installed, calculate the real [all …]
|
D | ltc4261.rst | 10 Addresses scanned: - 16 Author: Guenter Roeck <linux@roeck-us.net> 20 ----------- 22 The LTC4261/LTC4261-2 negative voltage Hot Swap controllers allow a board 27 ----------- 37 $ echo ltc4261 0x10 > /sys/bus/i2c/devices/i2c-1/new_device 41 ------------- 46 value of the divider resistor against the measured voltage and R2 is the value 47 of the divider resistor against Ground. 50 Current Sense register. The reported value assumes that a 1 mOhm sense resistor [all …]
|
D | ltc2945.rst | 10 Addresses scanned: - 14 https://www.analog.com/media/en/technical-documentation/data-sheets/2945fb.pdf 16 Author: Guenter Roeck <linux@roeck-us.net> 20 ----------- 22 The LTC2945 is a rail-to-rail system monitor that measures current, voltage, 27 ----------- 37 $ echo ltc2945 0x10 > /sys/bus/i2c/devices/i2c-1/new_device 41 ------------- 46 value of the divider resistor against the measured voltage and R2 is the value 47 of the divider resistor against Ground. [all …]
|
D | ltc2990.rst | 11 Addresses scanned: - 19 - Mike Looijmans <mike.looijmans@topic.nl> 20 - Tom Levens <tom.levens@cern.ch> 24 ----------- 29 measure current through a series resistor, or a temperature with an external 34 ----------- 41 ---------------- 52 in[1-4]_input Voltage at V[1-4] pin in millivolt 55 curr1_input Current in mA across V1-V2 assuming a 1mOhm sense resistor 56 curr2_input Current in mA across V3-V4 assuming a 1mOhm sense resistor [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/iio/dac/ |
D | adi,ad5755.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 AD5755 Multi-Channel DAC 10 - Sean Nyekjaer <sean.nyekjaer@prevas.dk> 15 - adi,ad5755 16 - adi,ad5755-1 17 - adi,ad5757 18 - adi,ad5735 19 - adi,ad5737 [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/power/supply/ |
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 …]
|
D | bq2415x.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Binding for TI bq2415x Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - ti,bq24150 20 - ti,bq24150a 21 - ti,bq24151 22 - ti,bq24151a [all …]
|
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 …]
|
/Linux-v6.1/drivers/hwmon/ |
D | ltc2945.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #include <linux/hwmon-sysfs.h> 96 * an 1mOhm sense resistor, similar to current in ltc2945_reg_to_val() 98 * Control register bit 0 selects if voltage at SENSE+/VDD in ltc2945_reg_to_val() 135 * an 1 mOhm sense resistor, in mA. If a different sense in ltc2945_reg_to_val() 136 * resistor is installed, calculate the actual current by in ltc2945_reg_to_val() 137 * dividing the reported current by the sense resistor value in ltc2945_reg_to_val() 143 return -EINVAL; in ltc2945_reg_to_val() 163 * with an 1mOhm sense resistor, similar to current in ltc2945_val_to_reg() 165 * Control register bit 0 selects if voltage at SENSE+/VDD in ltc2945_val_to_reg() [all …]
|
D | ltc4260.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #include <linux/hwmon-sysfs.h> 59 * an 1 mOhm sense resistor, in mA. If a different sense in ltc4260_get_value() 60 * resistor is installed, calculate the actual current by in ltc4260_get_value() 61 * dividing the reported current by the sense resistor value in ltc4260_get_value() 67 return -EINVAL; in ltc4260_get_value() 79 value = ltc4260_get_value(dev, attr->index); in ltc4260_value_show() 97 fault &= attr->index; in ltc4260_bool_show() 99 regmap_update_bits(regmap, LTC4260_FAULT, attr->index, 0); in ltc4260_bool_show() 118 /* Current (via sense resistor) */ [all …]
|
D | ltc4222.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include <linux/hwmon-sysfs.h> 75 * an 1 mOhm sense resistor, in mA. If a different sense in ltc4222_get_value() 76 * resistor is installed, calculate the actual current by in ltc4222_get_value() 77 * dividing the reported current by the sense resistor value in ltc4222_get_value() 83 return -EINVAL; in ltc4222_get_value() 94 value = ltc4222_get_value(dev, attr->index); in ltc4222_value_show() 108 ret = regmap_read(regmap, attr->nr, &fault); in ltc4222_bool_show() 111 fault &= attr->index; in ltc4222_bool_show() 113 regmap_update_bits(regmap, attr->nr, attr->index, 0); in ltc4222_bool_show() [all …]
|
D | ltc4261.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 22 #include <linux/hwmon-sysfs.h> 58 struct i2c_client *client = data->client; in ltc4261_update_device() 61 mutex_lock(&data->update_lock); in ltc4261_update_device() 63 if (time_after(jiffies, data->last_updated + HZ / 4) || !data->valid) { in ltc4261_update_device() 66 /* Read registers -- 0x00 to 0x09 */ in ltc4261_update_device() 67 for (i = 0; i < ARRAY_SIZE(data->regs); i++) { in ltc4261_update_device() 76 data->valid = false; in ltc4261_update_device() 79 data->regs[i] = val; in ltc4261_update_device() 81 data->last_updated = jiffies; in ltc4261_update_device() [all …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/drivers/power/supply/ |
D | ds2782_battery.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * I2C client/driver for the Maxim/Dallas DS2782 Stand-Alone Fuel Gauge IC 33 #define DS2782_REG_RSNSP 0x69 /* Sense resistor value */ 35 /* Current unit measurement in uA for a 1 milli-ohm sense resistor */ 73 ret = i2c_smbus_read_byte_data(info->client, reg); in ds278x_read_reg() 75 dev_err(&info->client->dev, "register read failed\n"); in ds278x_read_reg() 88 ret = i2c_smbus_read_word_data(info->client, reg_msb); in ds278x_read_reg16() 90 dev_err(&info->client->dev, "register read failed\n"); in ds278x_read_reg16() 125 * the sense resistor. in ds2782_get_current() 131 dev_err(&info->client->dev, "sense resistor value is 0\n"); in ds2782_get_current() [all …]
|
D | ds2780_battery.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * 1-wire client/driver for the Maxim/Dallas DS2780 Stand-Alone Fuel Gauge IC 7 * Author: Clifton Barnes <cabarnes@indesign-llc.com> 23 /* Current unit measurement in uA for a 1 milli-ohm sense resistor */ 25 /* Charge unit measurement in uAh for a 1 milli-ohm sense resistor */ 28 #define DS2780_USER_EEPROM_SIZE (DS2780_EEPROM_BLOCK0_END - \ 31 #define DS2780_PARAM_EEPROM_SIZE (DS2780_EEPROM_BLOCK1_END - \ 58 return w1_ds2780_io(dev_info->w1_dev, buf, addr, count, io); in ds2780_battery_io() 108 ret = ds2780_store_eeprom(dev_info->w1_dev, reg); in ds2780_save_eeprom() 112 ret = ds2780_recall_eeprom(dev_info->w1_dev, reg); in ds2780_save_eeprom() [all …]
|
D | ds2781_battery.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * 1-wire client/driver for the Maxim/Dallas DS2781 Stand-Alone Fuel Gauge IC 21 /* Current unit measurement in uA for a 1 milli-ohm sense resistor */ 23 /* Charge unit measurement in uAh for a 1 milli-ohm sense resistor */ 26 #define DS2781_USER_EEPROM_SIZE (DS2781_EEPROM_BLOCK0_END - \ 29 #define DS2781_PARAM_EEPROM_SIZE (DS2781_EEPROM_BLOCK1_END - \ 56 return w1_ds2781_io(dev_info->w1_dev, buf, addr, count, io); in ds2781_battery_io() 112 ret = ds2781_store_eeprom(dev_info->w1_dev, reg); in ds2781_save_eeprom() 116 ret = ds2781_recall_eeprom(dev_info->w1_dev, reg); in ds2781_save_eeprom() 123 /* Set sense resistor value in mhos */ [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
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 <matti.vaittinen@fi.rohmeurope.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 <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 …]
|
/Linux-v6.1/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 | 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 curent sense resistor in microohms. 35 - compatible 36 - reg [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 curent sense resistor in microohms. If not provided, 33 adi,shutdown-threshold-microamp: [all …]
|