Home
last modified time | relevance | path

Searched +full:shunt +full:- +full:voltage (Results 1 – 25 of 46) sorted by relevance

12

/linux/Documentation/hwmon/
H A Dina209.rst6 * Burr-Brown / Texas Instruments INA209
10 Addresses scanned: -
16 - Paul Hays <Paul.Hays@cattail.ca>
17 - Ira W. Snyder <iws@ovro.caltech.edu>
18 - Guenter Roeck <linux@roeck-us.net>
22 -----------
24 The TI / Burr-Brown INA209 monitors voltage, current, and power on the high side
31 -------------
40 in0_input shunt voltage (mV)
41 in0_input_highest shunt voltage historical maximum reading (mV)
[all …]
H A Dina2xx.rst10 Addresses: I2C 0x40 - 0x4f
20 Addresses: I2C 0x40 - 0x4f
30 Addresses: I2C 0x40 - 0x4f
40 Addresses: I2C 0x40 - 0x4f
50 Addresses: I2C 0x40 - 0x4f
60 Addresses: I2C 0x40 - 0x4f
70 Addresses: I2C 0x40 - 0x4f
80 -----------
82 The INA219 is a high-side current shunt and power monitor with an I2C
83 interface. The INA219 monitors both shunt drop and supply voltage, with
[all …]
H A Dina238.rst1 .. SPDX-License-Identifier: GPL-2.0-only
12 Addresses: I2C 0x40 - 0x4f
20 -----------
22 The INA238 is a current shunt, power and temperature monitor with an I2C
24 conversion rate, sample averaging and selectable shunt voltage accuracy.
26 The shunt value in micro-ohms can be set via platform data or device tree at
27 compile-time or via the shunt_resistor attribute in sysfs at run-time. Please
32 -------------
35 in0_input Shunt voltage (mV)
36 in0_min Minimum shunt voltage threshold (mV)
[all …]
H A Dina3221.rst10 Addresses: I2C 0x40 - 0x43
19 -----------
21 The Texas Instruments INA3221 monitors voltage, current, and power on the high
22 side of up to three D.C. power supplies. The INA3221 monitors both shunt drop
23 and supply voltage, with programmable conversion times and averaging, current
24 and power are calculated host-side from these.
27 -------------
30 in[123]_label Voltage channel labels
31 in[123]_enable Voltage channel enable controls
32 in[123]_input Bus voltage(mV) channels
[all …]
H A Dtmp513.rst1 .. SPDX-License-Identifier: GPL-2.0
22 Eric Tremblay <etremblay@distech-controls.com>
25 -----------
28 The TMP512 (dual-channel) and TMP513 (triple-channel) are system monitors
29 that include remote sensors, a local temperature sensor, and a high-side current
30 shunt monitor. These system monitors have the capability of measuring remote
31 temperatures, on-chip temperatures, and system voltage/power/current
35 -40 to + 125 degrees with a resolution of 0.0625 degree C.
44 **temp[1-4]_input**
46 **temp[1-4]_crit**
[all …]
H A Dlm25066.rst10 Addresses scanned: -
22 Addresses scanned: -
34 Addresses scanned: -
44 Addresses scanned: -
54 Addresses scanned: -
61 Author: Guenter Roeck <linux@roeck-us.net>
65 -----------
76 -----------
78 This driver does not auto-detect devices. You will have to instantiate the
79 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
[all …]
H A Dltc4286.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
12 Addresses scanned: -
14 Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ltc4286.pdf
20 Addresses scanned: -
22 Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ltc4287.pdf
28 -----------
31 and LTC4287 Hot-Swap Controller and Digital Power Monitors.
33 LTC4286 and LTC4287 are hot-swap controllers that allow a circuit board
35 current and voltage readback via an integrated 12 bit analog-to-digital
43 -----------
[all …]
/linux/Documentation/devicetree/bindings/iio/afe/
H A Dcurrent-sense-shunt.yaml1 # 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,
15 shunt, not the voltage over it. This binding describes such a current
20 const: current-sense-shunt
22 io-channels:
[all …]
/linux/Documentation/devicetree/bindings/hwmon/
H A Dti,ina3221.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments INA3221 Current and Voltage Monitor
10 - Jean Delvare <jdelvare@suse.com>
11 - Guenter Roeck <linux@roeck-us.net>
20 ti,single-shot:
22 This chip has two power modes: single-shot (chip takes one measurement
25 hardware monitor type device, but the single-shot mode is more power-
26 friendly and useful for battery-powered device which cares power
[all …]
H A Dti,tmp513.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Eric Tremblay <etremblay@distech-controls.com>
14 The TMP512 (dual-channel) and TMP513 (triple-channel) are system monitors
15 that include remote sensors, a local temperature sensor, and a high-side
16 current shunt monitor. These system monitors have the capability of measuring
17 remote temperatures, on-chip temperatures, and system voltage/power/current
28 - ti,tmp512
29 - ti,tmp513
[all …]
H A Dlltc,ltc4151.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LTC4151 High Voltage I2C Current and Voltage Monitor
10 - Krzysztof Kozlowski <krzk@kernel.org>
19 shunt-resistor-micro-ohms:
21 Shunt resistor value in micro-Ohms
25 - compatible
26 - reg
29 - $ref: hwmon-common.yaml#
[all …]
H A Dadi,adm1177.yaml1 # 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:
33 adi,shutdown-threshold-microamp:
37 based on shunt-resistor-micro-ohms.
[all …]
H A Dadi,ltc2991.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Analog Devices LTC2991 Octal I2C Voltage, Current and Temperature Monitor
11 - Antoniu Miclaus <antoniu.miclaus@analog.com>
29 '#address-cells':
32 '#size-cells':
35 vcc-supply: true
38 "^channel@[0-3]$":
51 shunt-resistor-micro-ohms:
[all …]
/linux/drivers/hwmon/
H A Dina3221.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * INA3221 Triple Current/Voltage Monitor
5 * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/
11 #include <linux/hwmon-sysfs.h>
54 #define INA3221_CONFIG_CHx_EN(x) BIT(14 - (x))
71 /* Alert Flags: SF is the summation-alert flag */
99 * struct ina3221_input - channel input source specific information
101 * @shunt_resistor: shunt resistor value of channel input source
113 * struct ina3221_data - device specific information
121 * @summation_shunt_resistor: equivalent shunt resistor value for summation
[all …]
H A Dltc4151.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for Linear Technology LTC4151 High Voltage I2C Current
4 * and Voltage Monitor
10 * Driver for Linear Technology LTC4261 I2C Negative Voltage Hot
25 #include <linux/hwmon-sysfs.h>
42 unsigned int shunt; /* in micro ohms */ member
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()
[all …]
H A Dina238.c1 // SPDX-License-Identifier: GPL-2.0-only
59 * based on a fixed shunt resistor value. This allows for conversion within the
61 * relative to the shunt resistor value within the driver. This is similar to
64 * The end result of this is that increasing shunt values (from a fixed 20 mOhm
65 * shunt) increase the effective current/power accuracy whilst limiting the
66 * range and decreasing shunt values decrease the effective accuracy but
70 * Current (A) = (shunt voltage register * 5) * calibration / 81920
72 * The maximum shunt voltage is 163.835 mV (0x7fff, ADC_RANGE = 0, gain = 4).
73 * With the maximum current value of 0x7fff and a fixed shunt value results in
80 * bus voltage is 102396.875 mV, 0x7fff), where the maximum power that can
[all …]
H A Dina2xx.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Zero Drift Bi-Directional Current/Power Monitor with I2C Interface
10 * Bi-Directional Current/Power Monitor with I2C Interface
14 * Bi-Directional Current/Power Monitor with I2C Interface
18 * Bi-directional Current/Power Monitor with I2C Interface
59 /* settings - depend on use case */
95 * Both bus voltage and shunt voltage conversion times for ina226 are set
143 bool has_ishunt; /* chip has internal shunt resistor */
144 bool has_power_average; /* chip has internal shunt resistor */
259 val = DIV_ROUND_CLOSEST((s16)regval, data->config->shunt_div); in ina2xx_get_value()
[all …]
H A Dltc2945.c1 // SPDX-License-Identifier: GPL-2.0-or-later
14 #include <linux/hwmon-sysfs.h>
68 * struct ltc2945_data - LTC2945 device data
70 * @shunt_resistor: shunt resistor value in micro ohms (1000 by default)
86 struct regmap *regmap = data->regmap; in ltc2945_reg_to_val()
87 u32 shunt_resistor = data->shunt_resistor; in ltc2945_reg_to_val()
99 /* 24-bit power */ in ltc2945_reg_to_val()
102 /* 12-bit current, voltage */ in ltc2945_reg_to_val()
114 * Control register bit 0 selects if voltage at SENSE+/VDD in ltc2945_reg_to_val()
115 * or voltage at ADIN is used to measure power. in ltc2945_reg_to_val()
[all …]
H A Dina209.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2012 Guenter Roeck <linux@roeck-us.net>
10 * Copyright (C) 2008-2009 Ira W. Snyder <iws@ovro.caltech.edu>
13 * Copyright (C) 2012 Lothar Felten <l-felten@ti.com>
28 #include <linux/hwmon-sysfs.h>
79 struct i2c_client *client = data->client; in ina209_update_device()
84 mutex_lock(&data->update_lock); in ina209_update_device()
86 if (!data->valid || in ina209_update_device()
87 time_after(jiffies, data->last_updated + data->update_interval)) { in ina209_update_device()
88 for (i = 0; i < ARRAY_SIZE(data->regs); i++) { in ina209_update_device()
[all …]
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dti,lmp92064.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments LMP92064 Precision Current and Voltage Sensor.
10 - Leonard Göhrs <l.goehrs@pengutronix.de>
13 The LMP92064 is a two channel ADC intended for combined voltage and current
16 The device contains two ADCs to allow simultaneous sampling of voltage and
22 - ti,lmp92064
27 vdd-supply:
30 vdig-supply:
[all …]
H A Drichtek,rtq6056.yaml1 # 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
18 voltage, converts into the current in amperes, and power in watts through
19 internal analog-to-digital converter ADC. The programmable calibration,
24 https://www.richtek.com/assets/product_file/RTQ6056/DSQ6056-00.pdf
29 - enum:
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dmaxim,max5970.yaml1 # 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>
14 and voltage and current sensing.
24 - maxim,max5970
25 - maxim,max5978
39 "#address-cells":
42 "#size-cells":
46 "^led@[0-3]$":
[all …]
/linux/Documentation/devicetree/bindings/hwmon/pmbus/
H A Dti,lm25066.yaml1 # 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
16 offer temperature, current, voltage, and power monitoring.
23 - ti,lm25056
24 - ti,lm25066
25 - ti,lm5064
[all …]
/linux/drivers/hwmon/pmbus/
H A Dadm1275.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Hardware monitoring driver for Analog Devices ADM1275 Hot-Swap Controller
116 [0] = { 27169, 0, -1 }, /* voltage */
117 [1] = { 806, 20475, -1 }, /* current, irange25 */
118 [2] = { 404, 20475, -1 }, /* current, irange50 */
119 [3] = { 8549, 0, -1 }, /* power, irange25 */
120 [4] = { 4279, 0, -1 }, /* power, irange50 */
124 [0] = { 6770, 0, -2 }, /* voltage, vrange 60V */
125 [1] = { 4062, 0, -2 }, /* voltage, vrange 100V */
126 [2] = { 1326, 20480, -1 }, /* current, vsense range 15mV */
[all …]
/linux/drivers/regulator/
H A Dmax5970-regulator.c1 // SPDX-License-Identifier: GPL-2.0
55 struct regmap *regmap = ddata->regmap; in max5970_read()
66 * Calculate current from ADC value, IRNG range & shunt resistor value. in max5970_read()
67 * ddata->irng holds the voltage corresponding to the maximum value the in max5970_read()
68 * 10-bit ADC can measure. in max5970_read()
70 * millivolts) and then divide it by the maximum value of the 10-bit ADC. in max5970_read()
72 *val = (*val * ddata->irng) >> 10; in max5970_read()
73 /* Convert the voltage measurement across shunt resistor to current */ in max5970_read()
74 *val = (*val * 1000) / ddata->shunt_micro_ohms; in max5970_read()
77 return -EOPNOTSUPP; in max5970_read()
[all …]

12