From 6877af4c3f8a740b4bc411f813c748d4a68d26fd Mon Sep 17 00:00:00 2001 From: Caesar Wang Date: Thu, 14 Apr 2016 11:40:29 +0800 Subject: [PATCH] ARM64: dts: rockchip: fixes the hw-tshut-polarity for rk3399 AFAIK, the hardware designed that TSHUT should be set the active high. Since rk3399 evb designed the over-temperature protection pin is connected to PMIC that active high vaild. Also, as gru/kevin designed the over-temperature protection pin is connected to EC control that active high to prevent leakage. Change-Id: Ib7b15d115d2ea4e474918fc416dde273b040e740 Signed-off-by: Caesar Wang --- arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 2 +- arch/arm64/boot/dts/rockchip/rk3399-tb.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi index 052941516bf1..546cda2ebb95 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi @@ -789,7 +789,7 @@ ap_i2c_audio: &i2c8 { status = "okay"; rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */ - rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */ + rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */ }; &uart2 { diff --git a/arch/arm64/boot/dts/rockchip/rk3399-tb.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-tb.dtsi index 6fc899a87e56..889a31968324 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-tb.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-tb.dtsi @@ -524,7 +524,7 @@ &tsadc { rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */ - rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */ + rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */ status = "okay"; }; -- 2.34.1