From patchwork Tue Jan 30 10:15:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Klaus Goger X-Patchwork-Id: 10191597 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4F784601A0 for ; Tue, 30 Jan 2018 10:16:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3BB2E287C8 for ; Tue, 30 Jan 2018 10:16:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 307EA288E0; Tue, 30 Jan 2018 10:16:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AD154287C8 for ; Tue, 30 Jan 2018 10:16:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=EikY5ZeTikfMEnx/ywvwGTB6hBJfJqakd2DddXH8ypY=; b=UOJ 0b+x9YOKfQTGoWU54Q8urnGY49XKBCVV8izLjdEwbEBj2qxI58+lCTItrkXq/qRVg/+XLv7oa1zTV 9sDMjiI89mGvktHSrdd+ivC15SUNGVxOhNP/Nzalc/vjYv6WBE3jDuKzU6ziMewVhveIkXdquwEWl 4l3ERiJ/kghoHzsx/9cJIt5tu4MLZ61v5cPgRjGlEncmT8JGDAB6pDPLWdhr9QfjXFctIQB07dqqT +cT2nxTRqRFv8fYh+YyVQUGrtcL0LOCZkSzYUf63MkzM3Me1IJvCYGzrTXGt4rHK8LnmGD6h4k/Rf 8bMD+u7k8echQlq/gtCLmBMhT7iuC/w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1egSxk-00027B-Hz; Tue, 30 Jan 2018 10:16:24 +0000 Received: from vegas.theobroma-systems.com ([144.76.126.164] helo=mail.theobroma-systems.com) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1egSxW-0001tB-Nt for linux-rockchip@lists.infradead.org; Tue, 30 Jan 2018 10:16:13 +0000 Received: from [86.59.122.178] (port=56312 helo=blau.lan) by mail.theobroma-systems.com with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1egSxK-0002gv-8d; Tue, 30 Jan 2018 11:15:58 +0100 From: Klaus Goger To: linux-rockchip@lists.infradead.org Subject: [PATCH] arm64: dts: rockchip: enable tsadc on rk3399-puma Date: Tue, 30 Jan 2018 11:15:55 +0100 Message-Id: <20180130101555.41475-1-klaus.goger@theobroma-systems.com> X-Mailer: git-send-email 2.11.0 X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Klaus Goger , linux-kernel@vger.kernel.org, Heiko Stuebner MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Enable the SoC thermal sensor on RK3399-Q7 (Puma). As we want to do do a full board reset instead of just a SoC one, set hw-tshut-mode to GPIO. Signed-off-by: Klaus Goger --- arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi index a3fcb803ff69..524f47c7e79f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi @@ -523,6 +523,12 @@ }; }; +&tsadc { + rockchip,hw-tshut-mode = <1>; + rockchip,hw-tshut-polarity = <1>; + status = "okay"; +}; + &u2phy1 { status = "okay";