| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/hwmon/ |
| D | ntc_thermistor.txt | 2 ------------------------------- 5 - "compatible" value : one of 23 - "pullup-uv" Pull up voltage in micro volts 24 - "pullup-ohm" Pull up resistor value in ohms 25 - "pulldown-ohm" Pull down resistor value in ohms 26 - "connected-positive" Always ON, If not specified. 28 - "io-channels" Channel node of ADC to be used for 32 - "#thermal-sensor-cells" Used to expose itself to thermal fw. 35 Documentation/devicetree/bindings/iio/iio-bindings.txt 40 pullup-uv = <1800000>; [all …]
|
| D | adm1275.txt | 4 - compatible: Must be one of the supported compatible strings: 5 - "adi,adm1075" for adm1075 6 - "adi,adm1272" for adm1272 7 - "adi,adm1275" for adm1275 8 - "adi,adm1276" for adm1276 9 - "adi,adm1278" for adm1278 10 - "adi,adm1293" for adm1293 11 - "adi,adm1294" for adm1294 12 - reg: I2C address 16 - shunt-resistor-micro-ohms [all …]
|
| D | ina3221.txt | 5 - compatible: Must be "ti,ina3221" 6 - reg: I2C address 9 - ti,single-shot: This chip has two power modes: single-shot (chip takes one 13 but the single-shot mode is more power-friendly and useful 14 for battery-powered device which cares power consumptions 16 If this property is present, the single-shot mode will be 22 - #address-cells: Required only if a child node is present. Must be 1. 23 - #size-cells: Required only if a child node is present. Must be 0. 27 - reg: Must be 0, 1 or 2, corresponding to IN1, IN2 or IN3 port of INA3221 30 - label: Name of the input source [all …]
|
| D | ina2xx.txt | 4 - compatible: Must be one of the following: 5 - "ti,ina209" for ina209 6 - "ti,ina219" for ina219 7 - "ti,ina220" for ina220 8 - "ti,ina226" for ina226 9 - "ti,ina230" for ina230 10 - "ti,ina231" for ina231 11 - reg: I2C address 15 - shunt-resistor 16 Shunt resistor value in micro-Ohm [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/hwmon/ |
| D | ntc-thermistor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 --- 3 $id: http://devicetree.org/schemas/hwmon/ntc-thermistor.yaml# 4 $schema: http://devicetree.org/meta-schemas/core.yaml# 9 - Linus Walleij <linus.walleij@linaro.org> 13 vary in resistance in an often non-linear way in relation to temperature. 16 temperature is non-linear, software drivers most often need to use a look 20 pull-up resistor or/and a pull-down resistor and a fixed voltage like this: 22 + e.g. 5V = pull-up voltage (puv) 24 +-+ [all …]
|
| D | adi,ltc2945.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Guenter Roeck <linux@roeck-us.net> 15 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2945.pdf 20 - adi,ltc2945 25 shunt-resistor-micro-ohms: 27 Shunt resistor value in micro-Ohms 31 - compatible 32 - reg [all …]
|
| D | ina3221.txt | 5 - compatible: Must be "ti,ina3221" 6 - reg: I2C address 9 - ti,single-shot: This chip has two power modes: single-shot (chip takes one 13 but the single-shot mode is more power-friendly and useful 14 for battery-powered device which cares power consumptions 16 If this property is present, the single-shot mode will be 22 - #address-cells: Required only if a child node is present. Must be 1. 23 - #size-cells: Required only if a child node is present. Must be 0. 27 - reg: Must be 0, 1 or 2, corresponding to IN1, IN2 or IN3 port of INA3221 30 - label: Name of the input source [all …]
|
| D | adi,adm1275.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> 15 that offer digital current, voltage, and power monitoring using an on-chip, 16 12-bit analog-to-digital converter (ADC), communicated through a PMBus 25 - adi,adm1075 26 - adi,adm1272 27 - adi,adm1275 28 - adi,adm1276 [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | qcom,spmi-iadc.txt | 5 through an external resistor (channel 1) or internal (built-in) resistor 7 qcom,external-resistor-micro-ohms property. 11 - compatible: 14 Definition: Should contain "qcom,spmi-iadc". 16 - reg: 18 Value type: <prop-encoded-array> 21 - interrupts: 23 Value type: <prop-encoded-array> 26 - qcom,external-resistor-micro-ohms: 29 Definition: Sense resister value in micro Ohm. [all …]
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | ug3105_battery.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Note the uG3105 is not a full-featured autonomous fuel-gauge. Instead it is 7 * its coulomb-counter before it can wrap (must be read every 400 seconds!). 9 * Since Linux does not monitor coulomb-counter changes while the device 25 * readings, esp. in the 30-70% range and allow userspace to estimate time 28 * capacity during run-time ? 32 * in a total_coulomb_count increase of 3277 units with a 5 milli-ohm sense R. 37 #include <linux/devm-helpers.h> 75 int ocv[UG3105_MOV_AVG_WINDOW]; /* micro-volt */ 76 int intern_res[UG3105_MOV_AVG_WINDOW]; /* milli-ohm */ [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/st/ |
| D | ste-hrefv60plus.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 ST-Ericsson AB 6 #include "ste-href-ab8500.dtsi" 7 #include "ste-href.dtsi" 10 model = "ST-Ericsson HREF (v60+) platform with Device Tree"; 11 compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500"; 13 thermal-zones { 14 chassis-thermal { 16 polling-delay = <20000>; 18 polling-delay-passive = <2000>; [all …]
|
| D | ste-href.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 ST-Ericsson AB 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/leds/common.h> 8 #include "ste-href-family-pinctrl.dtsi" 17 compatible = "simple-battery"; 18 battery-type = "lithium-ion-polymer"; 21 thermal-zones { 22 battery-thermal { 24 polling-delay = <0>; [all …]
|
| D | ste-ux500-samsung-golden.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "ste-db8500.dtsi" 5 #include "ste-ab8505.dtsi" 6 #include "ste-dbx5x0-pinctrl.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 14 * You need an intermediate, device-tree compatible bootloader [all …]
|
| D | ste-ux500-samsung-skomer.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung XCover 2 GT-S7710 also known as Skomer. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8505.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 | ste-ux500-samsung-gavini.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Beam GT-I8530 also known as Gavini. 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/ |
| D | property-units.txt | 13 ---------------------------------------- 14 -mhz : megahertz 15 -hz : hertz (preferred) 16 -sec : second 17 -ms : millisecond 18 -us : microsecond 19 -ns : nanosecond 20 -ps : picosecond 23 ---------------------------------------- 24 -mm : millimeter [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/afe/ |
| D | temperature-sense-rtd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/temperature-sense-rtd.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Beguin <liambeguin@gmail.com> 17 When an io-channel measures the output voltage across an RTD such as a 25 T = 1 / (alpha * r0 * iexc) * (V - r0 * iexc) 30 ----- 32 +---+----+ 34 +---+----+ [all …]
|
| /kernel/linux/linux-6.6/drivers/hwmon/ |
| 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 42 return i2c_master_recv(st->client, data, num); in adm1177_read_raw() 47 return i2c_smbus_write_byte(st->client, cmd); in adm1177_write_cmd() 56 val = 0xFFULL * alert_threshold_ua * st->r_sense_uohm; in adm1177_write_alert_thr() 62 ret = i2c_smbus_write_byte_data(st->client, ADM1177_REG_ALERT_TH, in adm1177_write_alert_thr() 67 st->alert_threshold_ua = alert_threshold_ua; in adm1177_write_alert_thr() 89 * ((105.84mV / 4096) x raw) / senseResistor(ohm) in adm1177_read() 92 4096 * st->r_sense_uohm); in adm1177_read() [all …]
|
| D | tps23861.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/hwmon-sysfs.h> 110 #define RESISTANCE_LSB 110966 /* 11.0966 Ohm*/ 111 #define RESISTANCE_LSB_LOW 157216 /* 15.7216 Ohm*/ 131 err = regmap_read(data->regmap, TEMPERATURE, ®val); in tps23861_read_temp() 135 *val = ((long)regval * TEMPERATURE_LSB) - 20000; in tps23861_read_temp() 148 err = regmap_bulk_read(data->regmap, in tps23861_read_voltage() 152 err = regmap_bulk_read(data->regmap, in tps23861_read_voltage() 173 if (data->shunt_resistor == SHUNT_RESISTOR_DEFAULT) in tps23861_read_current() 178 err = regmap_bulk_read(data->regmap, in tps23861_read_current() [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/exynos/ |
| D | exynos5433-tm2-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 11 /dts-v1/; 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/interrupt-controller/irq.h> 17 #include <dt-bindings/sound/samsung-i2s.h> 48 stdout-path = &serial_1; 56 gpio-keys { 57 compatible = "gpio-keys"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/exynos/ |
| D | exynos5433-tm2-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 11 /dts-v1/; 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/interrupt-controller/irq.h> 17 #include <dt-bindings/sound/samsung-i2s.h> 48 stdout-path = &serial_1; 56 gpio-keys { 57 compatible = "gpio-keys"; [all …]
|
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| 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 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() 91 * ((105.84mV / 4096) x raw) / senseResistor(ohm) in adm1177_read() 94 4096 * st->r_sense_uohm); in adm1177_read() [all …]
|
| /kernel/linux/linux-6.6/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. 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() 132 return regmap_write(iadc->regmap, iadc->base + offset, data); in iadc_write() [all …]
|
| /kernel/linux/linux-5.10/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. 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() 133 return regmap_write(iadc->regmap, iadc->base + offset, data); in iadc_write() [all …]
|