thermal: sti: Introduce ST Thermal core code
authorLee Jones <lee.jones@linaro.org>
Thu, 5 Jun 2014 15:06:55 +0000 (16:06 +0100)
committerZhang Rui <rui.zhang@intel.com>
Tue, 15 Jul 2014 14:01:22 +0000 (22:01 +0800)
This core is shared by both ST's 'memory mapped' and
'system configuration register' based Thermal controllers.

Signed-off-by: Ajit Pal Singh <ajitpal.singh@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/Kconfig
drivers/thermal/Makefile
drivers/thermal/st/Kconfig [new file with mode: 0644]
drivers/thermal/st/Makefile [new file with mode: 0644]
drivers/thermal/st/st_thermal.c [new file with mode: 0644]
drivers/thermal/st/st_thermal.h [new file with mode: 0644]

index f9a1386..57240f5 100644 (file)
@@ -243,4 +243,9 @@ depends on ARCH_EXYNOS
 source "drivers/thermal/samsung/Kconfig"
 endmenu
 
+menu "STMicroelectronics thermal drivers"
+depends on ARCH_STI && OF
+source "drivers/thermal/st/Kconfig"
+endmenu
+
 endif
index de0636a..31e232f 100644 (file)
@@ -32,3 +32,4 @@ obj-$(CONFIG_X86_PKG_TEMP_THERMAL)    += x86_pkg_temp_thermal.o
 obj-$(CONFIG_INTEL_SOC_DTS_THERMAL)    += intel_soc_dts_thermal.o
 obj-$(CONFIG_TI_SOC_THERMAL)   += ti-soc-thermal/
 obj-$(CONFIG_ACPI_INT3403_THERMAL)     += int3403_thermal.o
+obj-$(CONFIG_ST_THERMAL)       += st/
diff --git a/drivers/thermal/st/Kconfig b/drivers/thermal/st/Kconfig
new file mode 100644 (file)
index 0000000..1ba6760
--- /dev/null
@@ -0,0 +1,4 @@
+config ST_THERMAL
+       tristate "Thermal sensors on STMicroelectronics STi series of SoCs"
+       help
+         Support for thermal sensors on STMicroelectronics STi series of SoCs.
Simple merge
Simple merge
Simple merge