diff mbox

[v14,5/5] ARM: dts: enable Thermal on rk3288-evb board

Message ID 1414377588-2237-6-git-send-email-caesar.wang@rock-chips.com (mailing list archive)
State New, archived
Headers show

Commit Message

Wang Caesar Oct. 27, 2014, 2:39 a.m. UTC
when a thermal temperature over TSHUT.Default to via
CRU reset the entire chip on rk3288-evb Board,
TSHUT is low active on rk3288-evb board.

Signed-off-by: Caesar Wang <caesar.wang@rock-chips.com>
---
 arch/arm/boot/dts/rk3288-evb.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Dmitry Torokhov Oct. 28, 2014, 12:26 a.m. UTC | #1
On Mon, Oct 27, 2014 at 10:39:48AM +0800, Caesar Wang wrote:
> when a thermal temperature over TSHUT.Default to via
> CRU reset the entire chip on rk3288-evb Board,
> TSHUT is low active on rk3288-evb board.
> 
> Signed-off-by: Caesar Wang <caesar.wang@rock-chips.com>

Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

> ---
>  arch/arm/boot/dts/rk3288-evb.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi
> index cb83cea..fb70523 100644
> --- a/arch/arm/boot/dts/rk3288-evb.dtsi
> +++ b/arch/arm/boot/dts/rk3288-evb.dtsi
> @@ -148,6 +148,12 @@
>  	status = "okay";
>  };
>  
> +&tsadc {
> +	tsadc-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
> +	tsadc-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
> +	status = "okay";
> +};
> +
>  &pinctrl {
>  	backlight {
>  		bl_en: bl-en {
> -- 
> 1.9.1
> 
>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi
index cb83cea..fb70523 100644
--- a/arch/arm/boot/dts/rk3288-evb.dtsi
+++ b/arch/arm/boot/dts/rk3288-evb.dtsi
@@ -148,6 +148,12 @@ 
 	status = "okay";
 };
 
+&tsadc {
+	tsadc-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
+	tsadc-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
+	status = "okay";
+};
+
 &pinctrl {
 	backlight {
 		bl_en: bl-en {