forked from Minki/linux
c08860ffe5
To get more comprehensive and integrated thermal management, it adds ntc thermistor to thermal framework as a thermal sensor. It's governed thermal susbsystem only if it is described in DT node. Otherwise, it just notifies temperature to userspace via sysfs as it used to be. Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
NTC Thermistor hwmon sensors
|
|
-------------------------------
|
|
|
|
Requires node properties:
|
|
- "compatible" value : one of
|
|
"epcos,b57330v2103"
|
|
"murata,ncp15wb473"
|
|
"murata,ncp18wb473"
|
|
"murata,ncp21wb473"
|
|
"murata,ncp03wb473"
|
|
"murata,ncp15wl333"
|
|
|
|
/* Usage of vendor name "ntc" is deprecated */
|
|
<DEPRECATED> "ntc,ncp15wb473"
|
|
<DEPRECATED> "ntc,ncp18wb473"
|
|
<DEPRECATED> "ntc,ncp21wb473"
|
|
<DEPRECATED> "ntc,ncp03wb473"
|
|
<DEPRECATED> "ntc,ncp15wl333"
|
|
|
|
- "pullup-uv" Pull up voltage in micro volts
|
|
- "pullup-ohm" Pull up resistor value in ohms
|
|
- "pulldown-ohm" Pull down resistor value in ohms
|
|
- "connected-positive" Always ON, If not specified.
|
|
Status change is possible.
|
|
- "io-channels" Channel node of ADC to be used for
|
|
conversion.
|
|
|
|
Optional node properties:
|
|
- "#thermal-sensor-cells" Used to expose itself to thermal fw.
|
|
|
|
Read more about iio bindings at
|
|
Documentation/devicetree/bindings/iio/iio-bindings.txt
|
|
|
|
Example:
|
|
ncp15wb473@0 {
|
|
compatible = "murata,ncp15wb473";
|
|
pullup-uv = <1800000>;
|
|
pullup-ohm = <47000>;
|
|
pulldown-ohm = <0>;
|
|
io-channels = <&adc 3>;
|
|
};
|