summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/exynos4412-trats2.dts
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@samsung.com>2015-01-30 00:26:02 +0100
committerKukjin Kim <kgene@kernel.org>2015-02-26 21:22:56 +0100
commitbf4a0bed363ec5cf2530121f07a7ce3aa6cf2560 (patch)
tree914967f43875287eee96982be1d69fd7efbddb38 /arch/arm/boot/dts/exynos4412-trats2.dts
parentARM: dts: Enable TMU for exynos4412-odriod-common (diff)
downloadlinux-bf4a0bed363ec5cf2530121f07a7ce3aa6cf2560.tar.xz
linux-bf4a0bed363ec5cf2530121f07a7ce3aa6cf2560.zip
ARM: dts: Adding CPU cooling binding for Exynos SoCs
Presented patch aims to move data necessary for correct CPU cooling device configuration from exynos_tmu_data.c to device tree. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Acked-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-trats2.dts')
-rw-r--r--arch/arm/boot/dts/exynos4412-trats2.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts
index 21f748083586..173ffa479ad3 100644
--- a/arch/arm/boot/dts/exynos4412-trats2.dts
+++ b/arch/arm/boot/dts/exynos4412-trats2.dts
@@ -927,6 +927,21 @@
pulldown-ohm = <100000>; /* 100K */
io-channels = <&adc 2>; /* Battery temperature */
};
+
+ thermal-zones {
+ cpu_thermal: cpu-thermal {
+ cooling-maps {
+ map0 {
+ /* Corresponds to 800MHz at freq_table */
+ cooling-device = <&cpu0 7 7>;
+ };
+ map1 {
+ /* Corresponds to 200MHz at freq_table */
+ cooling-device = <&cpu0 13 13>;
+ };
+ };
+ };
+ };
};
&pmu_system_controller {