Searched +full:rsense +full:- +full:nano +full:- +full:ohms (Results 1 – 3 of 3) sorted by relevance
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | adi,ltc4282.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nuno Sa <nuno.sa@analog.com> 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ltc4282.pdf 20 - adi,ltc4282 25 vdd-supply: true 30 '#clock-cells': 33 adi,rsense-nano-ohms: 36 adi,vin-mode-microvolt: [all …]
|
/linux/drivers/iio/adc/ |
H A D | qcom-spmi-iadc.c | 1 // 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. 110 u32 rsense[2]; member [all …]
|
/linux/drivers/hwmon/ |
H A D | ltc4282.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/clk-provider.h> 15 #include <linux/hwmon-sysfs.h> 115 #define LTC4282_CLKIN_RANGE (LTC4282_CLKIN_MAX - LTC4282_CLKIN_MIN + 1) 146 u32 rsense; member 168 return regmap_update_bits(st->map, LTC4282_CLK_DIV, LTC4282_CLKOUT_MASK, in ltc4282_set_rate() 197 ret = regmap_read(st->map, LTC4282_CLK_DIV, &clkdiv); in ltc4282_recalc_rate() 215 regmap_clear_bits(st->map, LTC4282_CLK_DIV, LTC4282_CLKOUT_MASK); in ltc4282_disable() 224 ret = regmap_bulk_read(st->map, reg, &in, sizeof(in)); in ltc4282_read_voltage_word() 246 ret = regmap_read(st->map, reg, &in); in ltc4282_read_voltage_byte_cached() [all …]
|