Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1264239

Re: [PATCH v2 9/9] arm64: dts: Enable the Thermal on R88 board

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Eduardo Valentin <edubezval@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 9/9] arm64: dts: Enable the Thermal on R88 board
Date Fri, 06 Nov 2015 20:20:02 +0100
Message-ID <qrUIi-9d-9@gated-at.bofh.it> (permalink)
References <qrl7P-2g9-5@gated-at.bofh.it> <qrl7Q-2g9-21@gated-at.bofh.it>
X-Original-To Caesar Wang <wxt@rock-chips.com>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=Sfrg5za8Y53z/KX3xkrODT1cNbkwUiQAQuuEiKgBFPo=; b=f6IKznsxsJlmxMQvfSu97/N4dr5jnkEttnJUoP4niQsnyLPjpSMm05q5fXonz/YLeE zWIvXSW3f5FG+D6CRb/vIErDO6qtsn/+AdRhkDJid51Unq93UzYyZxJqBo7KvUm7fkV9 HFeXQ1o0aeySkfNAzE0JSzUDF3zyGQjEsIugG8TfS+VPQbirdorOWo6UP0HWw5/U17YJ YOBZMxD9/jjxA+bIDS7TxCNTKfMFDD7Suy//V5JfpPkWtF+ni28CgE2Mj7PJQi5VmzN9 ZDb29C+XU9VnaI5Jpbr/LNZUypdbKHeHSKlEOoLtOnx+KO4kuIh7z/t7EIlmLFTdzfmk FyQA==
X-Received by 10.67.4.38 with SMTP id cb6mr19677475pad.34.1446837374633; Fri, 06 Nov 2015 11:16:14 -0800 (PST)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 44
Organization linux.* mail to news gateway
X-Original-Cc Heiko Stuebner <heiko@sntech.de>, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Kumar Gala <galak@codeaurora.org>, linux-kernel@vger.kernel.org, Ian Campbell <ijc+devicetree@hellion.org.uk>, Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>, Will Deacon <will.deacon@arm.com>, Mark Rutland <mark.rutland@arm.com>, Olof Johansson <olof@lixom.net>, Catalin Marinas <catalin.marinas@arm.com>, linux-arm-kernel@lists.infradead.org
X-Original-Date Fri, 6 Nov 2015 11:16:11 -0800
X-Original-Message-ID <20151106191611.GF8202@localhost.localdomain>
X-Original-References <1446700685-18017-1-git-send-email-wxt@rock-chips.com> <1446700685-18017-10-git-send-email-wxt@rock-chips.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1264239

Show key headers only | View raw


On Thu, Nov 05, 2015 at 01:18:05PM +0800, Caesar Wang wrote:
> This patch enable the TS-ADC.
> 
> When a thermal temperature is invoked use the CRU to reset the chip
> on R88 board. TSHUT is low active on this board.
> 

Acked-by: Eduardo Valentin <edubezval@gmail.com>

> Signed-off-by: Caesar Wang <wxt@rock-chips.com>
> 
> ---
> 
> Changes in v2: None
> Changes in v1: None
> 
>  arch/arm64/boot/dts/rockchip/rk3368-r88.dts | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts
> index 401a812..7684426a 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts
> @@ -336,6 +336,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";
> +}
> +
>  &uart2 {
>  	status = "okay";
>  };
> -- 
> 1.9.1
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 9/9] arm64: dts: Enable the Thermal on R88 board Caesar Wang <wxt@rock-chips.com> - 2015-11-05 06:20 +0100
  Re: [PATCH v2 9/9] arm64: dts: Enable the Thermal on R88 board Eduardo Valentin <edubezval@gmail.com> - 2015-11-06 20:20 +0100

csiph-web