From 04f65765c374ac07ff36c92e9a91d2fa6cfd9dc9 Mon Sep 17 00:00:00 2001 From: Rocky Hao Date: Fri, 17 Mar 2017 09:50:30 +0800 Subject: [PATCH] thermal: rockchip: add rk3368 support Change-Id: I970fedca9542c724d777c0bac788300c4fa21303 Signed-off-by: Rocky Hao Signed-off-by: Elaine Zhang --- drivers/thermal/Kconfig | 9 +++++++++ drivers/thermal/Makefile | 1 + 2 files changed, 10 insertions(+) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 0e69edc77d18..0483ee8c4732 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -262,6 +262,15 @@ config ROCKCHIP_THERMAL trip point. Cpufreq is used as the cooling device and will throttle CPUs when the Temperature crosses the passive trip point. +config RK3368_THERMAL + tristate "rk3368 thermal driver legacy" + depends on ROCKCHIP_THERMAL + help + Rk3368 thermal legacy driver provides support for Temperature sensor + ADC (TS-ADC) for rk3368 soc only. It supports one critical + trip point. Cpufreq is used as the cooling device and will throttle + CPUs when the Temperature crosses the passive trip point. + config RCAR_THERMAL tristate "Renesas R-Car thermal driver" depends on ARCH_RENESAS || COMPILE_TEST diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile index 610344eb3e03..506d7fa72c76 100644 --- a/drivers/thermal/Makefile +++ b/drivers/thermal/Makefile @@ -32,6 +32,7 @@ obj-y += broadcom/ obj-$(CONFIG_QCOM_SPMI_TEMP_ALARM) += qcom-spmi-temp-alarm.o obj-$(CONFIG_SPEAR_THERMAL) += spear_thermal.o obj-$(CONFIG_ROCKCHIP_THERMAL) += rockchip_thermal.o +obj-$(CONFIG_RK3368_THERMAL) += rk3368_thermal.o obj-$(CONFIG_RCAR_THERMAL) += rcar_thermal.o obj-$(CONFIG_RCAR_GEN3_THERMAL) += rcar_gen3_thermal.o obj-$(CONFIG_KIRKWOOD_THERMAL) += kirkwood_thermal.o