From: Jonghwa Lee Date: Wed, 17 Sep 2014 05:54:37 +0000 (+0900) Subject: hwmon: (ntc_thermistor) Add ntc thermistor to thermal subsystem as a sensor. X-Git-Tag: omap-for-v3.19/prcm-cleanup~129^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c08860ffe5c0e986e208e8217dae8191c0b40b24;p=pandora-kernel.git hwmon: (ntc_thermistor) Add ntc thermistor to thermal subsystem as a sensor. 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 Signed-off-by: Guenter Roeck --- diff --git a/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt b/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt index 2391e5c41999..fcca8e744f41 100644 --- a/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt +++ b/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt @@ -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 Reading git-diff-tree failed