Searched +full:current +full:- +full:sense +full:- +full:shunt (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.15/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-v5.15/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 …]
|
/Linux-v5.15/drivers/iio/afe/ |
D | iio-rescale.c | 1 // SPDX-License-Identifier: GPL-2.0 47 if (rescale->chan_processed) in rescale_read_raw() 53 return iio_read_channel_processed(rescale->source, val); in rescale_read_raw() 55 return iio_read_channel_raw(rescale->source, val); in rescale_read_raw() 58 if (rescale->chan_processed) { in rescale_read_raw() 60 * Processed channels are scaled 1-to-1 in rescale_read_raw() 66 ret = iio_read_channel_scale(rescale->source, val, val2); in rescale_read_raw() 70 *val *= rescale->numerator; in rescale_read_raw() 71 *val2 *= rescale->denominator; in rescale_read_raw() 74 *val *= rescale->numerator; in rescale_read_raw() [all …]
|
/Linux-v5.15/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-v5.15/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 …]
|
/Linux-v5.15/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-v5.15/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 …]
|
/Linux-v5.15/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 49 * max9611 current sense amplifier voltage output: 57 * The complete formula to calculate current sense voltage is: 58 * (((adc_read >> 4) - offset) / ((1 / LSB) * 10^-3) 72 * (((adc_read >> 4) * 1000) - offset) / (1 / 14 * 1000) 114 * max9611_mux_conf - associate ADC mux configuration with register address [all …]
|
/Linux-v5.15/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-v5.15/ |
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 …]
|