diff options
author | Vincenzo Frascino <vincenzo.frascino@st.com> | 2012-03-21 15:55:03 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-03-22 01:05:32 -0400 |
commit | 6a92c36688bd6d8e68e19ca9b5e41e8197921b59 (patch) | |
tree | 5b735f0f657b808b0e023c63e8c773a3f0d50619 /drivers/thermal/Kconfig | |
parent | c5a01dd52dc4903772f464ea580895ccc36e911d (diff) |
thermal: add support for thermal sensor present on SPEAr13xx machines
ST's SPEAr13xx machines are based on CortexA9 ARM processors. These
machines contain a thermal sensor for junction temperature monitoring.
This patch adds support for this thermal sensor in existing thermal
framework.
[akpm@linux-foundation.org: little code cleanup]
[akpm@linux-foundation.org: print the pointer correctly]
[viresh.kumar@st.com: thermal/spear_thermal: add compilation dependency on PLAT_SPEAR]
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r-- | drivers/thermal/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index f7f71b2d3101..514a691abea0 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig | |||
@@ -18,3 +18,11 @@ config THERMAL_HWMON | |||
18 | depends on THERMAL | 18 | depends on THERMAL |
19 | depends on HWMON=y || HWMON=THERMAL | 19 | depends on HWMON=y || HWMON=THERMAL |
20 | default y | 20 | default y |
21 | |||
22 | config SPEAR_THERMAL | ||
23 | bool "SPEAr thermal sensor driver" | ||
24 | depends on THERMAL | ||
25 | depends on PLAT_SPEAR | ||
26 | help | ||
27 | Enable this to plug the SPEAr thermal sensor driver into the Linux | ||
28 | thermal framework | ||