]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: add support for thermal sensor present on SPEAr13xx machines
authorVincenzo Frascino <vincenzo.frascino@st.com>
Wed, 21 Mar 2012 19:55:03 +0000 (12:55 -0700)
committerLen Brown <len.brown@intel.com>
Thu, 22 Mar 2012 05:05:32 +0000 (01:05 -0400)
commite02c73e13237e43e5a1490102b55349616814339
tree5b735f0f657b808b0e023c63e8c773a3f0d50619
parent1e3951551a46532104c3a07c01984c695bb60a22
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>
drivers/thermal/Kconfig
drivers/thermal/Makefile
drivers/thermal/spear_thermal.c [new file with mode: 0644]
include/linux/platform_data/spear_thermal.h [new file with mode: 0644]