[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1410926353-15674-5-git-send-email-caesar.wang@rock-chips.com>
Date: Wed, 17 Sep 2014 11:59:13 +0800
From: Caesar Wang <caesar.wang@...k-chips.com>
To: heiko@...ech.de, rui.zhang@...el.com, edubezval@...il.com,
arnd@...db.de
Cc: linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
linux-doc@...r.kernel.org, huangtao@...k-chips.com,
cf@...k-chips.com, dianders@...omium.org, dtor@...omium.org,
dmitry.torokhov@...il.com, addy.ke@...k-chips.com,
zyf@...k-chips.com, cjf@...k-chips.com,
Caesar Wang <caesar.wang@...k-chips.com>
Subject: [PATCH v5 4/4] ARM: dts: enable Thermal on rk3288-evb board
Signed-off-by: Caesar Wang <caesar.wang@...k-chips.com>
---
arch/arm/boot/dts/rk3288-evb.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi
index 2964370..b68d21b 100644
--- a/arch/arm/boot/dts/rk3288-evb.dtsi
+++ b/arch/arm/boot/dts/rk3288-evb.dtsi
@@ -101,6 +101,24 @@
status = "okay";
};
+&tsadc {
+ num-trips = <2>;
+
+ trip0-temp = <80>;
+ trip0-type = "passive";
+ trip0-cdev-num = <1>;
+ trip0-cdev-name0 = "thermal-cpufreq-0";
+
+ trip1-temp = <100>;
+ trip1-type = "critical";
+ trip1-cdev-num = <1>;
+ trip1-cdev-name0 = "thermal-cpufreq-0";
+
+ hw-shut-temp = <120>;
+
+ status = "okay";
+};
+
&pinctrl {
buttons {
pwrbtn: pwrbtn {
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists