summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorCaesar Wang <caesar.wang@rock-chips.com>2014-11-24 05:59:02 +0100
committerHeiko Stuebner <heiko@sntech.de>2014-11-25 00:34:48 +0100
commitff9d0ecbbe9181b6fb575223e79c6b98c687af8d (patch)
tree8ef1fd1f4ccd5dcdd3d6349e9e1a0cfb0676b439 /arch/arm/boot
parentARM: dts: rockchip: add main thermal info to rk3288 (diff)
downloadlinux-ff9d0ecbbe9181b6fb575223e79c6b98c687af8d.tar.xz
linux-ff9d0ecbbe9181b6fb575223e79c6b98c687af8d.zip
ARM: dts: rockchip: enable thermal on rk3288-evb board
When a thermal temperature is invoked use the CRU to reset the chip on rk3288-evb boards. TSHUT is low active on these boards. Signed-off-by: Caesar Wang <caesar.wang@rock-chips.com> Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/rk3288-evb.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi
index cb83cea52fa1..3e067dd65d0c 100644
--- a/arch/arm/boot/dts/rk3288-evb.dtsi
+++ b/arch/arm/boot/dts/rk3288-evb.dtsi
@@ -148,6 +148,12 @@
status = "okay";
};
+&tsadc {
+ rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
+ rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
+ status = "okay";
+};
+
&pinctrl {
backlight {
bl_en: bl-en {