Home
last modified time | relevance | path

Searched +full:sense +full:- +full:resistor +full:- +full:ohms (Results 1 – 25 of 42) sorted by relevance

12

/openbmc/linux/Documentation/devicetree/bindings/iio/afe/
H A Dcurrent-sense-amplifier.yaml1 # 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 …]
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,
16 sense circuit.
20 const: current-sense-shunt
22 io-channels:
[all …]
H A Dtemperature-transducer.yaml1 # 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 …]
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/
H A Dmaxim,max9611.yaml1 # 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 …]
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
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 …]
/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A Dltc4162-l.yaml1 # 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 …]
H A Dlltc,ltc294x.yaml1 # 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 …]
/openbmc/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>
24 - maxim,max5970
25 - maxim,max5978
39 "#address-cells":
42 "#size-cells":
46 "^led@[0-3]$":
52 vss1-supply:
[all …]
H A Drohm,bd71815-pmic.yaml1 # 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 <mazziesaccount@gmail.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 …]
H A Drohm,bd71828-pmic.yaml1 # 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 <mazziesaccount@gmail.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 …]
H A Drockchip,rk817.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chris Zhong <zyw@rock-chips.com>
11 - Zhang Qing <zhangqing@rock-chips.com>
21 - rockchip,rk817
29 '#clock-cells':
31 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.
35 clock-output-names:
39 rockchip,system-power-controller:
[all …]
/openbmc/linux/Documentation/devicetree/bindings/hwmon/
H A Dadi,ltc2992.yaml1 # 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 …]
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:
30 The value of current sense resistor in microohms. If not provided,
33 adi,shutdown-threshold-microamp:
[all …]
H A Dti,tps23861.yaml1 # 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 current sense resistor in microohms.
35 - compatible
36 - reg
[all …]
/openbmc/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
23 - ti,lm25056
24 - ti,lm25066
25 - ti,lm5064
26 - ti,lm5066
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-adc-max96114 Contact: linux-iio@vger.kernel.org
5 Description: The value of the shunt resistor used to compute power drain on
6 common input voltage pin (RS+). In Ohms.
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.
/openbmc/linux/Documentation/devicetree/bindings/iio/temperature/
H A Dadi,ltc2983.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices LTC2983, LTC2986, LTM2985 Multi-sensor Temperature system
10 - Nuno Sá <nuno.sa@analog.com>
13 Analog Devices LTC2983, LTC2984, LTC2986, LTM2985 Multi-Sensor Digital
16 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/2984fb.pdf
18 https://www.analog.com/media/en/technical-documentation/data-sheets/29861fa.pdf
19 https://www.analog.com/media/en/technical-documentation/data-sheets/ltm2985.pdf
[all …]
/openbmc/linux/drivers/iio/afe/
H A Diio-rescale.c1 // 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 …]
/openbmc/linux/drivers/hwmon/
H A Dltc4151.c1 // SPDX-License-Identifier: GPL-2.0-or-later
25 #include <linux/hwmon-sysfs.h>
42 unsigned int shunt; /* in micro ohms */
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 …]
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()
128 /* Overflow check: Assuming max 24-bit power, val is at most 53 bits right now. */ in ltc2945_reg_to_val()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/iio/addac/
H A Dadi,ad74413r.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Cosmin Tanislav <cosmin.tanislav@analog.com>
13 The AD74412R and AD74413R are quad-channel software configurable input/output
18 The devices feature a 16-bit ADC and four configurable 13-bit DACs to provide
20 The AD74413R differentiates itself from the AD74412R by being HART-compatible.
27 - adi,ad74412r
28 - adi,ad74413r
33 '#address-cells':
[all …]
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3566-anbernic-rg353vs.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
8 #include "rk3566-anbernic-rg353x.dtsi"
21 compatible = "simple-battery";
22 charge-full-design-microamp-hours = <3151000>;
23 charge-term-current-microamp = <300000>;
24 constant-charge-current-max-microamp = <2000000>;
[all …]
H A Drk3566-anbernic-rg353ps.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
8 #include "rk3566-anbernic-rg353x.dtsi"
21 compatible = "simple-battery";
22 charge-full-design-microamp-hours = <3472000>;
23 charge-term-current-microamp = <300000>;
24 constant-charge-current-max-microamp = <2000000>;
[all …]
/openbmc/linux/drivers/iio/adc/
H A Dqcom-spmi-iadc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
71 #define IADC_INT_RSENSE_DEVIATION 15625 /* nano Ohms per bit */
73 #define IADC_INT_RSENSE_IDEAL_VALUE 10000 /* micro Ohms */
74 #define IADC_INT_RSENSE_DEFAULT_VALUE 7800 /* micro Ohms */
75 #define IADC_INT_RSENSE_DEFAULT_GF 9000 /* micro Ohms */
76 #define IADC_INT_RSENSE_DEFAULT_SMIC 9700 /* micro Ohms */
94 * struct iadc_chip - IADC Current ADC device structure.
98 * @rsense: Values of the internal and external sense resister in micro Ohms.
122 ret = regmap_read(iadc->regmap, iadc->base + offset, &val); in iadc_read()
[all …]
/openbmc/linux/drivers/power/supply/
H A Dds2782_battery.c1 // 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 …]

12