Searched +full:shunt +full:- +full:gain (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.1/Documentation/devicetree/bindings/hwmon/ |
D | ti,ina2xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Krzysztof Kozlowski <krzk@kernel.org> 14 The INA209 is a high-side current shunt and power monitor with 23 - ti,ina209 24 - ti,ina219 25 - ti,ina220 26 - ti,ina226 27 - ti,ina230 [all …]
|
D | ti,tmp513.yaml | 1 # 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-v6.1/drivers/hwmon/ |
D | ina238.c | 1 // SPDX-License-Identifier: GPL-2.0-only 59 * based on a fixed shunt resistor value. This allows for conversion within the 61 * relative to the shunt resistor value within the driver. This is similar to 64 * The end result of this is that increasing shunt values (from a fixed 20 mOhm 65 * shunt) increase the effective current/power accuracy whilst limiting the 66 * range and decreasing shunt values decrease the effective accuracy but 70 * Current (A) = (shunt voltage register * 5) * calibration / 81920 72 * The maximum shunt voltage is 163.835 mV (0x7fff, ADC_RANGE = 0, gain = 4). 73 * With the maximum current value of 0x7fff and a fixed shunt value results in 84 * to be scaled by the difference between the fixed shunt resistor and the [all …]
|
D | tmp513.c | 1 // 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 176 // Set the shift based on the gain 8=4, 4=3, 2=2, 1=1 179 return 5 - ffs(data->pga_gain); in tmp51x_get_pga_shift() 196 * on the pga gain setting. 1lsb = 10uV in tmp51x_get_value() 198 *val = sign_extend32(regval, 17 - tmp51x_get_pga_shift(data)); in tmp51x_get_value() [all …]
|
/Linux-v6.1/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, 15 shunt, not the voltage over it. This binding describes such a current 20 const: current-sense-shunt 22 io-channels: [all …]
|
/Linux-v6.1/Documentation/hwmon/ |
D | tmp513.rst | 1 .. SPDX-License-Identifier: GPL-2.0 22 Eric Tremblay <etremblay@distech-controls.com> 25 ----------- 28 The TMP512 (dual-channel) and TMP513 (triple-channel) are system monitors 29 that include remote sensors, a local temperature sensor, and a high-side current 30 shunt monitor. These system monitors have the capability of measuring remote 31 temperatures, on-chip temperatures, and system voltage/power/current 35 -40 to + 125 degrees with a resolution of 0.0625 degree C. 44 **temp[1-4]_input** 46 **temp[1-4]_crit** [all …]
|
/Linux-v6.1/drivers/iio/afe/ |
D | iio-rescale.c | 1 // 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 …]
|
/Linux-v6.1/drivers/comedi/drivers/ |
D | jr3_pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 31 * two-byte words. 42 * Channels 1-6 contain the coupled force data Fx through Mz. Channel 43 * 7 contains the sensor's calibration data. The use of channels 8-15 139 * was detected in the on-board RAM during the power-up 249 * 0 - end transform packet 250 * 1 - translate along X axis (TX) 251 * 2 - translate along Y axis (TY) 252 * 3 - translate along Z axis (TZ) 253 * 4 - rotate about X axis (RX) [all …]
|
/Linux-v6.1/drivers/iio/adc/ |
D | ina2xx-adc.c | 11 * Copyright 2010-2011 Analog Devices Inc. 14 * Copyright 2012 Lothar Felten <l-felten@ti.com> 16 * Licensed under the GPL-2 or later. 18 * IIO driver for INA219-220-226-230-231 20 * Configurable 7-bit I2C slave address from 0x40 to 0x4F 51 /* settings - depend on use case */ 68 /* Gain for VShunt: 1/8 (default), 1/4, 1/2, 1 */ 98 #define SAMPLING_PERIOD(c) ((c->int_time_vbus + c->int_time_vshunt) \ 99 * c->avg) 145 int int_time_vshunt; /* Shunt voltage integration time uS */ [all …]
|
D | max9611.c | 1 // 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 51 * LSB and offset values depends on selected gain (1x, 4x, 8x) 53 * GAIN LSB (nV) OFFSET (LSB steps) 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 138 * max9611_csa_gain_conf - associate gain multiplier with LSB and [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/freescale/ |
D | imx8mm-verdin.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 #include "dt-bindings/phy/phy-imx8-pcie.h" 7 #include "dt-bindings/pwm/pwm.h" 12 stdout-path = &uart1; 21 compatible = "pwm-backlight"; 22 brightness-levels = <0 45 63 88 119 158 203 255>; 23 default-brightness-level = <4>; 25 enable-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinctrl_i2s_2_d_out_dsi_1_bkl_en>; [all …]
|
D | imx8mp-verdin.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 #include "dt-bindings/pwm/pwm.h" 11 stdout-path = &uart3; 23 compatible = "pwm-backlight"; 24 brightness-levels = <0 45 63 88 119 158 203 255>; 25 default-brightness-level = <4>; 27 enable-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; 28 pinctrl-names = "default"; 29 pinctrl-0 = <&pinctrl_i2s_2_d_out_dsi_1_bkl_en>; 30 power-supply = <®_3p3v>; [all …]
|