Searched +full:current +full:- +full:sense +full:- +full:shunt (Results 1 – 16 of 16) sorted by relevance
| /Linux-v6.1/Documentation/devicetree/bindings/iio/afe/ |
| 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, 14 the interesting measurement is almost always the current through the 15 shunt, not the voltage over it. This binding describes such a current 16 sense circuit. [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 15 out the loading current and power. 17 The device monitors both of the drops across sense resistor and the BUS 18 voltage, converts into the current in amperes, and power in watts through 19 internal analog-to-digital converter ADC. The programmable calibration, [all …]
|
| /Linux-v6.1/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 …]
|
| /Linux-v6.1/drivers/hwmon/ |
| D | ltc4151.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for Linear Technology LTC4151 High Voltage I2C Current 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() 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() [all …]
|
| D | adm1177.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 2015-2019 Analog Devices Inc. 27 * struct adm1177_state - driver instance specific data 30 * @r_sense_uohm: current sense resistor value 31 * @alert_threshold_ua: current limit for shutdown 44 return i2c_master_recv(st->client, data, num); in adm1177_read_raw() 49 return i2c_smbus_write_byte(st->client, cmd); in adm1177_write_cmd() 58 val = 0xFFULL * alert_threshold_ua * st->r_sense_uohm; in adm1177_write_alert_thr() 64 ret = i2c_smbus_write_byte_data(st->client, ADM1177_REG_ALERT_TH, in adm1177_write_alert_thr() 69 st->alert_threshold_ua = alert_threshold_ua; in adm1177_write_alert_thr() [all …]
|
| /Linux-v6.1/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> 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, 31 the current reading and overcurrent alert is disabled. [all …]
|
| /Linux-v6.1/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 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.
|
| /Linux-v6.1/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 16 offer temperature, current, voltage, and power monitoring. 23 - ti,lm25056 24 - ti,lm25066 25 - ti,lm5064 [all …]
|
| /Linux-v6.1/Documentation/hwmon/ |
| D | lm25066.rst | 10 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 …]
|
| /Linux-v6.1/drivers/hwmon/pmbus/ |
| D | adm1275.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Hardware monitoring driver for Analog Devices ADM1275 Hot-Swap Controller 110 [0] = { 27169, 0, -1 }, /* voltage */ 111 [1] = { 806, 20475, -1 }, /* current, irange25 */ 112 [2] = { 404, 20475, -1 }, /* current, irange50 */ 113 [3] = { 8549, 0, -1 }, /* power, irange25 */ 114 [4] = { 4279, 0, -1 }, /* power, irange50 */ 118 [0] = { 6770, 0, -2 }, /* voltage, vrange 60V */ 119 [1] = { 4062, 0, -2 }, /* voltage, vrange 100V */ 120 [2] = { 1326, 20480, -1 }, /* current, vsense range 15mV */ [all …]
|
| D | lm25066.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 36 #define LM25066_DEV_SETUP_CL BIT(4) /* Current limit */ 60 .R = -2, 64 .b = -1833, 65 .R = -2, 69 .b = -537, 70 .R = -2, 74 .b = -2908, 75 .R = -3, 79 .b = -5646, [all …]
|
| /Linux-v6.1/drivers/iio/adc/ |
| D | max9611.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Maxim max9611/max9612 high side current sense amplifier with 6 * 12-bit ADC interface. 12 * This driver supports input common-mode voltage, current-sense 16 * Op-amp, analog comparator, and watchdog functionalities are not 50 * max9611 current sense amplifier voltage output: 58 * The complete formula to calculate current sense voltage is: 59 * (((adc_read >> 4) - offset) / ((1 / LSB) * 10^-3) 73 * (((adc_read >> 4) * 1000) - offset) / (1 / 14 * 1000) 115 * max9611_mux_conf - associate ADC mux configuration with register address [all …]
|
| /Linux-v6.1/arch/arm/boot/dts/ |
| D | ste-ux500-samsung-janice.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy S Advance GT-I9070 also known as Janice. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8500.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
| D | s5pv210-aries.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 32 reserved-memory { 33 #address-cells = <1>; 34 #size-cells = <1>; 38 compatible = "shared-dma-pool"; 39 no-map; 44 compatible = "shared-dma-pool"; [all …]
|
| /Linux-v6.1/ |
| D | MAINTAINERS | 6 trivial patch so apply some common sense. 9 ------------------------- 30 ``diff -u`` to make the patch easy to merge. Be prepared to get your 40 See Documentation/process/coding-style.rst for guidance here. 46 See Documentation/process/submitting-patches.rst for details. 57 include a Signed-off-by: line. The current version of this 59 Documentation/process/submitting-patches.rst. 70 that the bug would present a short-term risk to other users if it 76 Documentation/admin-guide/security-bugs.rst for details. 81 --------------------------------------------------- [all …]
|