Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757637AbbKFTQR (ORCPT ); Fri, 6 Nov 2015 14:16:17 -0500 Received: from mail-pa0-f53.google.com ([209.85.220.53]:33706 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757391AbbKFTQP (ORCPT ); Fri, 6 Nov 2015 14:16:15 -0500 Date: Fri, 6 Nov 2015 11:16:11 -0800 From: Eduardo Valentin To: Caesar Wang Cc: Heiko Stuebner , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Kumar Gala , linux-kernel@vger.kernel.org, Ian Campbell , Rob Herring , Pawel Moll , Will Deacon , Mark Rutland , Olof Johansson , Catalin Marinas , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 9/9] arm64: dts: Enable the Thermal on R88 board Message-ID: <20151106191611.GF8202@localhost.localdomain> References: <1446700685-18017-1-git-send-email-wxt@rock-chips.com> <1446700685-18017-10-git-send-email-wxt@rock-chips.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1446700685-18017-10-git-send-email-wxt@rock-chips.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1251 Lines: 44 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 > Signed-off-by: Caesar Wang > > --- > > 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/