From b7f56e41655697287cb84b1c4371eee8d5d7ea18 Mon Sep 17 00:00:00 2001 From: Caesar Wang Date: Mon, 2 May 2016 15:05:38 +0800 Subject: [PATCH] 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 --- arch/arm64/configs/rockchip_cros_defconfig | 1 + arch/arm64/configs/rockchip_defconfig | 1 + 2 files changed, 2 insertions(+) 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 -- 2.34.1