From 44bc8b47ca4b4763b48f74f35e0fcfaea6a8dfe9 Mon Sep 17 00:00:00 2001 From: Jonghwa Lee Date: Wed, 20 Aug 2014 09:28:13 +0900 Subject: 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. Change-Id: Ie5b8948ca0cb567854905e0e9ea903ff7cdc1f4c Signed-off-by: Jonghwa Lee --- Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Documentation') diff --git a/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt b/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt index c6f66674f19..bdae6df488e 100644 --- a/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt +++ b/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt @@ -16,6 +16,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 -- cgit v1.2.3