From: Caesar Wang Date: Mon, 2 May 2016 07:05:38 +0000 (+0800) Subject: ARM64: config: enable the devfreq_thermal for rockchip X-Git-Tag: firefly_0821_release~2685 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b7f56e41655697287cb84b1c4371eee8d5d7ea18;p=firefly-linux-kernel-4.4.55.git ARM64: config: enable the devfreq_thermal for rockchip 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 --- diff --git a/arch/arm64/configs/rockchip_cros_defconfig b/arch/arm64/configs/rockchip_cros_defconfig index 4466122099bb..e6c1218ec874 100644 --- a/arch/arm64/configs/rockchip_cros_defconfig +++ b/arch/arm64/configs/rockchip_cros_defconfig @@ -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 diff --git a/arch/arm64/configs/rockchip_defconfig b/arch/arm64/configs/rockchip_defconfig index eece343a5619..e8a85c5773e4 100644 --- a/arch/arm64/configs/rockchip_defconfig +++ b/arch/arm64/configs/rockchip_defconfig @@ -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