Home
last modified time | relevance | path

Searched +full:shunt +full:- +full:resistor +full:- +full:micro +full:- +full:ohms (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.10/Documentation/devicetree/bindings/iio/adc/
Dmaxim,max9611.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
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
29 RS- inputs, across which the current is measured. Value needed to compute
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/hwmon/
Dltc4151.txt4 - compatible: Must be "lltc,ltc4151"
5 - reg: I2C address
8 - shunt-resistor-micro-ohms
9 Shunt resistor value in micro-Ohms
17 shunt-resistor-micro-ohms = <1500>;
Dina3221.txt5 - compatible: Must be "ti,ina3221"
6 - reg: I2C address
9 - ti,single-shot: This chip has two power modes: single-shot (chip takes one
13 but the single-shot mode is more power-friendly and useful
14 for battery-powered device which cares power consumptions
16 If this property is present, the single-shot mode will be
22 - #address-cells: Required only if a child node is present. Must be 1.
23 - #size-cells: Required only if a child node is present. Must be 0.
27 - reg: Must be 0, 1 or 2, corresponding to IN1, IN2 or IN3 port of INA3221
30 - label: Name of the input source
[all …]
Dadm1275.txt4 - compatible: Must be one of the supported compatible strings:
5 - "adi,adm1075" for adm1075
6 - "adi,adm1272" for adm1272
7 - "adi,adm1275" for adm1275
8 - "adi,adm1276" for adm1276
9 - "adi,adm1278" for adm1278
10 - "adi,adm1293" for adm1293
11 - "adi,adm1294" for adm1294
12 - reg: I2C address
16 - shunt-resistor-micro-ohms
[all …]
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>
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 …]
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 …]
/Linux-v5.10/Documentation/devicetree/bindings/iio/afe/
Dcurrent-sense-shunt.txt1 Current Sense Shunt
4 When an io-channel measures the voltage over a current sense shunt,
6 shunt, not the voltage over it. This binding describes such a current
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 …]
/Linux-v5.10/arch/arm64/boot/dts/nvidia/
Dtegra186-p2771-0000.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/linux-event-codes.h>
5 #include <dt-bindings/input/gpio-keys.h>
7 #include "tegra186-p3310.dtsi"
11 compatible = "nvidia,p2771-0000", "nvidia,tegra186";
14 power-monitor@42 {
17 #address-cells = <1>;
18 #size-cells = <0>;
23 shunt-resistor-micro-ohms = <20000>;
[all …]
Dtegra186-p3310.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/mfd/max77620.h>
27 stdout-path = "serial0:115200n8";
38 phy-reset-gpios = <&gpio TEGRA186_MAIN_GPIO(M, 4)
40 phy-handle = <&phy>;
41 phy-mode = "rgmii";
44 #address-cells = <1>;
45 #size-cells = <0>;
48 compatible = "ethernet-phy-ieee802.3-c22";
50 interrupt-parent = <&gpio>;
[all …]
/Linux-v5.10/drivers/hwmon/
Dltc4151.c1 // SPDX-License-Identifier: GPL-2.0-or-later
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()
77 data->regs[i] = val; in ltc4151_update_device()
[all …]
Dadm1177.c1 // 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
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()
94 4096 * st->r_sense_uohm); in adm1177_read()
[all …]
Dina3221.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/
10 #include <linux/hwmon-sysfs.h>
53 #define INA3221_CONFIG_CHx_EN(x) BIT(14 - (x))
70 /* Alert Flags: SF is the summation-alert flag */
98 * struct ina3221_input - channel input source specific information
100 * @shunt_resistor: shunt resistor value of channel input source
110 * struct ina3221_data - device specific information
117 * @summation_shunt_resistor: equivalent shunt resistor value for summation
118 * @single_shot: running in single-shot operating mode
[all …]
Dtmp513.c1 // SPDX-License-Identifier: GPL-2.0
7 * Local Temperature Sensor and Current Shunt Monitor
12 * and Local Temperature Sensor and Current Shunt Monitor
15 * Copyright (C) 2019 Eric Tremblay <etremblay@distech-controls.com>
110 // Max possible value is -256 to +256 but datasheet indicated -40 to 125.
112 #define MIN_TEMP_LIMIT -40000
179 return 5 - ffs(data->pga_gain); in tmp51x_get_pga_shift()
198 *val = sign_extend32(regval, 17 - tmp51x_get_pga_shift(data)); in tmp51x_get_value()
199 *val = DIV_ROUND_CLOSEST(*val * 10000, data->shunt_uohms); in tmp51x_get_value()
210 *val = regval * data->pwr_lsb_uw; in tmp51x_get_value()
[all …]
/Linux-v5.10/drivers/iio/afe/
Diio-rescale.c1 // 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 do_div(tmp, rescale->denominator); in rescale_read_raw()
64 tmp *= rescale->numerator; in rescale_read_raw()
[all …]
/Linux-v5.10/arch/arm64/boot/dts/renesas/
Dsalvator-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for common parts of Salvator-X board variants
5 * Copyright (C) 2015-2016 Renesas Electronics Corp.
9 * SSI-AK4613
31 #include <dt-bindings/gpio/gpio.h>
32 #include <dt-bindings/input/input.h>
43 stdout-path = "serial0:115200n8";
46 audio_clkout: audio-clkout {
49 * but needed to avoid cs2000/rcar_sound probe dead-lock
51 compatible = "fixed-clock";
[all …]
/Linux-v5.10/drivers/hwmon/pmbus/
Dadm1275.c1 // 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.10/arch/arm/boot/dts/
Ds5pv210-aries.dtsi1 // 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.10/drivers/iio/adc/
Dmax9611.c1 // SPDX-License-Identifier: GPL-2.0
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
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
137 * max9611_csa_gain_conf - associate gain multiplier with LSB and
195 * max9611_read_single() - read a single value from ADC interface
202 * Data are transmitted with big-endian ordering: MSB arrives first.
[all …]