hwmon: (ntc_thermistor) Add ntc thermistor to thermal subsystem as a sensor.
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Wed, 17 Sep 2014 05:54:37 +0000 (14:54 +0900)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 22 Sep 2014 18:14:52 +0000 (11:14 -0700)
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>
Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt
drivers/hwmon/Kconfig
drivers/hwmon/ntc_thermistor.c

index 2391e5c..fcca8e7 100644 (file)
@@ -25,6 +25,9 @@ Requires node properties:
 - "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
 
Simple merge
Simple merge