Searched +full:sense +full:- +full:resistor +full:- +full:micro +full:- +full:ohms (Results 1 – 18 of 18) sorted by relevance
| /Linux-v5.15/Documentation/devicetree/bindings/iio/afe/ |
| D | current-sense-amplifier.yaml | 1 # 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 …]
|
| 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, 16 sense circuit. 20 const: current-sense-shunt 22 io-channels: [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/Documentation/devicetree/bindings/power/supply/ |
| D | ltc4162-l.yaml | 1 # 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 …]
|
| D | maxim,max17042.yaml | 1 # 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-v5.15/Documentation/devicetree/bindings/hwmon/ |
| D | adi,ltc2992.yaml | 1 # 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 …]
|
| 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 …]
|
| D | ti,tps23861.yaml | 1 # 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-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 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 …]
|
| 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 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-v5.15/drivers/iio/adc/ |
| D | qcom-spmi-iadc.c | 1 // 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 …]
|
| 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/include/linux/power/ |
| D | max17042_battery.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 191 /* External current sense resistor value in milli-ohms */ 255 * R_sns in micro-ohms.
|
| /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/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/power/supply/ |
| D | bq25890_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 86 u8 rbatcomp; /* IBAT sense resistor value */ 251 * Most of the val -> idx conversions can be computed, given the minimum, 320 ret = regmap_field_read(bq->rmap_fields[field_id], &val); in bq25890_field_read() 330 return regmap_field_write(bq->rmap_fields[field_id], val); in bq25890_field_write() 347 rtbl_size = (rtbl->max - rtbl->min) / rtbl->step + 1; in bq25890_find_idx() 350 idx < rtbl_size && (idx * rtbl->step + rtbl->min <= value); in bq25890_find_idx() 355 return idx - 1; in bq25890_find_idx() 369 return (rtbl->min + idx * rtbl->step); in bq25890_find_val() 409 mutex_lock(&bq->lock); in bq25890_power_supply_get_property() [all …]
|