Thread (1 message) 1 message, 1 author, 2015-07-22

[PATCH 1/2] ARM: dts: rockchip: Use correct dts properties for tsadc node

From: heiko@sntech.de (Heiko Stübner)
Date: 2015-07-22 09:00:04
Also in: linux-devicetree, linux-rockchip

Am Mittwoch, 22. Juli 2015, 07:44:06 schrieb Romain Perier:
quoted hunk
tsadc-tshut-mode and tsadc-tshut-polarity properties don't exist. The
rockchip thermal driver looks for rockchip,hw-tshut-mode and
rockchip,hw-tshut-polarity instead, otherwise it might freeze or hang the
device according to the default mode or polarity used.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
---
 arch/arm/boot/dts/rk3288-veyron.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi
b/arch/arm/boot/dts/rk3288-veyron.dtsi index 627d113..cc76cf7 100644
--- a/arch/arm/boot/dts/rk3288-veyron.dtsi
+++ b/arch/arm/boot/dts/rk3288-veyron.dtsi
@@ -367,8 +367,8 @@
 &tsadc {
 	status = "okay";

-	tsadc-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
-	tsadc-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
+	rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
+	rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
 };

 &uart0 {
applied this one to my dts branch for 4.3 (after adding a veyron to the 
subject).


Thanks for the catch
Heiko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help