ARM64: config: enable the devfreq_thermal for rockchip
authorCaesar Wang <wxt@rock-chips.com>
Mon, 2 May 2016 07:05:38 +0000 (15:05 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 5 May 2016 11:22:51 +0000 (19:22 +0800)
It will enable the devfreq thermal that's generic devfreq cooling
mechanism through frequency reduction for devices using devfreq.
This will throttle the device by limiting the maximum allowed DVFS
frequency corresponding to the cooling level.

Change-Id: Ia017ecf46599700382b9604e375193135f7d1d24
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
arch/arm64/configs/rockchip_cros_defconfig
arch/arm64/configs/rockchip_defconfig

index 4466122099bb2a7bc55078f43f819bd129cc589a..e6c1218ec874ed35a7be316ea0c5ef69ae415e45 100644 (file)
@@ -329,6 +329,7 @@ CONFIG_THERMAL=y
 CONFIG_THERMAL_WRITABLE_TRIPS=y
 CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y
 CONFIG_CPU_THERMAL=y
+CONFIG_DEVFREQ_THERMAL=y
 CONFIG_ROCKCHIP_THERMAL=y
 CONFIG_MFD_RK808=y
 CONFIG_REGULATOR=y
index eece343a5619dd652cdadc91c78948c616b94d15..e8a85c5773e48d967b04b1262bdb6734d1bec323 100644 (file)
@@ -321,6 +321,7 @@ CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=y
 CONFIG_THERMAL_GOV_STEP_WISE=y
 CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y
 CONFIG_CPU_THERMAL=y
+CONFIG_DEVFREQ_THERMAL=y
 CONFIG_ROCKCHIP_THERMAL=y
 CONFIG_MFD_RK808=y
 CONFIG_REGULATOR=y