From ae9810ed8e33a5de5c6183d8a874f8961755b536 Mon Sep 17 00:00:00 2001 From: Caesar Wang Date: Fri, 15 Apr 2016 11:45:11 +0800 Subject: [PATCH] ARM64: config: add the thermal needed configure for rockchip We need the cpu throttle and IPA function for rockchip. Also enable the writable trips function. Let's enable the needed config for thermal. Change-Id: Ibd43aa4ef3cc5e0a325e376d753cffc8bcdb8c02 Signed-off-by: Caesar Wang --- arch/arm64/configs/rockchip_cros_defconfig | 3 +++ arch/arm64/configs/rockchip_defconfig | 1 + 2 files changed, 4 insertions(+) diff --git a/arch/arm64/configs/rockchip_cros_defconfig b/arch/arm64/configs/rockchip_cros_defconfig index 3c92211c9d14..25470c0d17f4 100644 --- a/arch/arm64/configs/rockchip_cros_defconfig +++ b/arch/arm64/configs/rockchip_cros_defconfig @@ -325,6 +325,9 @@ CONFIG_SYSCON_REBOOT_MODE=y CONFIG_POWER_AVS=y CONFIG_ROCKCHIP_IODOMAIN=y CONFIG_THERMAL=y +CONFIG_THERMAL_WRITABLE_TRIPS=y +CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y +CONFIG_CPU_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 e5caa824dc2c..0ed16214fbed 100644 --- a/arch/arm64/configs/rockchip_defconfig +++ b/arch/arm64/configs/rockchip_defconfig @@ -316,6 +316,7 @@ CONFIG_SYSCON_REBOOT_MODE=y CONFIG_POWER_AVS=y CONFIG_ROCKCHIP_IODOMAIN=y CONFIG_THERMAL=y +CONFIG_THERMAL_WRITABLE_TRIPS=y CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y CONFIG_CPU_THERMAL=y CONFIG_ROCKCHIP_THERMAL=y -- 2.34.1