Home
last modified time | relevance | path

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

12

/Linux-v6.1/Documentation/devicetree/bindings/iio/afe/
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 …]
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 …]
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 …]
/Linux-v6.1/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#
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 …]
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 …]
/Linux-v6.1/Documentation/devicetree/bindings/power/supply/
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 …]
Dmaxim,max17042.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
18 - maxim,max17042
19 - maxim,max17047
20 - maxim,max17050
21 - maxim,max17055
22 - maxim,max77849-battery
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/hwmon/pmbus/
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 …]
/Linux-v6.1/Documentation/devicetree/bindings/hwmon/
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 …]
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 curent sense resistor in microohms. If not provided,
33 adi,shutdown-threshold-microamp:
[all …]
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 curent sense resistor in microohms.
35 - compatible
36 - reg
[all …]
/Linux-v6.1/drivers/iio/afe/
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()
80 * For IIO_VAL_INT_PLUS_{MICRO,NANO} scale types if either *val in rescale_process_scale()
82 * *val = 1 and *val2 = -0.5 yields -1.5 not -0.5. in rescale_process_scale()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/mfd/
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 …]
/Linux-v6.1/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 */
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 …]
/Linux-v6.1/Documentation/devicetree/bindings/iio/addac/
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 …]
/Linux-v6.1/drivers/iio/adc/
Dqcom-spmi-iadc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
72 #define IADC_INT_RSENSE_DEVIATION 15625 /* nano Ohms per bit */
74 #define IADC_INT_RSENSE_IDEAL_VALUE 10000 /* micro Ohms */
75 #define IADC_INT_RSENSE_DEFAULT_VALUE 7800 /* micro Ohms */
76 #define IADC_INT_RSENSE_DEFAULT_GF 9000 /* micro Ohms */
77 #define IADC_INT_RSENSE_DEFAULT_SMIC 9700 /* micro Ohms */
95 * struct iadc_chip - IADC Current ADC device structure.
99 * @rsense: Values of the internal and external sense resister in micro Ohms.
123 ret = regmap_read(iadc->regmap, iadc->base + offset, &val); in iadc_read()
[all …]
Dmax9611.c1 // 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/
Dste-ux500-samsung-janice.dts1 // 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 …]
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-v6.1/include/linux/power/
Dmax17042_battery.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
191 /* External current sense resistor value in milli-ohms */
255 * R_sns in micro-ohms.
/Linux-v6.1/arch/arm64/boot/dts/rockchip/
Drk3326-odroid-go2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
14 model = "ODROID-GO Advance";
15 compatible = "hardkernel,rk3326-odroid-go2", "rockchip,rk3326";
22 stdout-path = "serial2:115200n8";
25 adc-joystick {
26 compatible = "adc-joystick";
[all …]
/Linux-v6.1/drivers/hwmon/pmbus/
Dlm25066.c1 // SPDX-License-Identifier: GPL-2.0-or-later
60 .R = -2,
64 .b = -1833,
65 .R = -2,
69 .b = -537,
70 .R = -2,
74 .b = -2908,
75 .R = -3,
79 .b = -5646,
80 .R = -4,
[all …]
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-v6.1/drivers/power/supply/
Drk817_charger.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/devm-helpers.h>
68 * soc - state of charge - like the BSP this is stored as a percentage,
143 return -EINVAL; in rk817_chg_cur_to_reg()
166 return -EINVAL; in rk817_chg_cur_from_reg()
177 regmap_bulk_read(charger->rk808->regmap, RK817_GAS_GAUGE_VCALIB0_H, in rk817_bat_calib_vol()
181 regmap_bulk_read(charger->rk808->regmap, RK817_GAS_GAUGE_VCALIB1_H, in rk817_bat_calib_vol()
186 charger->voltage_k = (4025 - 2300) * 1000 / in rk817_bat_calib_vol()
187 ((vcalib1 - vcalib0) ? (vcalib1 - vcalib0) : 1); in rk817_bat_calib_vol()
188 charger->voltage_b = 4025 - (charger->voltage_k * vcalib1) / 1000; in rk817_bat_calib_vol()
[all …]

12