hwmon: Support thermal zones registration for SCP temperature sensors
authorPunit Agrawal <punit.agrawal@arm.com>
Wed, 24 Jun 2015 18:03:16 +0000 (19:03 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Fri, 9 Oct 2015 10:05:53 +0000 (11:05 +0100)
commit68acc77a2d5197141ba376fd8872eccb43bfcd7d
treebffea2f31a5487cd747a879375313415bb70d758
parentea98b29a05e9c70dbe159cbc6254d111059a2bb9
hwmon: Support thermal zones registration for SCP temperature sensors

Add support to create thermal zones based on the temperature sensors
provided by the SCP. The thermal zones can be defined using the
thermal DT bindings and should refer to the SCP sensor id to select
the sensor.

Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Cc: Eduardo Valentin <edubezval@gmail.com>
drivers/hwmon/scpi-hwmon.c