Received: by 10.223.176.5 with SMTP id f5csp4126778wra; Tue, 30 Jan 2018 02:31:08 -0800 (PST) X-Google-Smtp-Source: AH8x226hagG9o06qlLWoMwML0yD5cRhyn1DHlBw+TRGJoL6cIvy5ycSlTlRfgfDESw3TdS8R6UPf X-Received: by 10.98.178.17 with SMTP id x17mr30042007pfe.57.1517308268068; Tue, 30 Jan 2018 02:31:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517308268; cv=none; d=google.com; s=arc-20160816; b=QARJAvoEwXBsNjzK6+QDOb4T/Nb7AUL9eZVwB/BoObXORtxVK3ew2r/Hh/cMiltU1Z OfarDoA/yaFHFtEYRSeH1epVf/8OjaO+YrV+RUxGp4e2J9VyqNkip8LhUtEBdzIa7vGm nw6iDZeKiXxfmFk0+gv243Rp3RY1AK/petY90SAk2+szFD48a/HkByE98PJMGFX0BXmv sAMq4eIhGcQ+ZDQDAsWFHrvaBgj2WwbkI5R5OzyBhIFBN7oBjqpxhcv1WIN4gpSd/ltR Cl72zdd+lrpZ5xw0BSSj+pg8n6Z9yRAWWItKJPETQ+pWgwETnD3fKsCgmicxOHdJuYsi 0SEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=aryon/9LteIKOg731I7rKlHmSEs36JyWQBbSyGGJW0Q=; b=MWY3MkDI83ZMU6Q3XSvYaYl4B5t2MnKDRWEytqU9XgmVmL3K3sKUNDcPu9R1eZxlR+ 2uyy4rnRdptyykW89KsLusiPW53HvEhHToznNIAUrT+8W/RKbDSRewLV9Vt8P2rFSERO 6o2k7U8GKdHBEjM/z/fordjSp7QTShzTJf3fz9Q7dJV+CQWgdGrQjl44gqG10XPJEpya QCMzvPEV1ybFvSrX/pC+gozjn0TRkO8qOygsDB4WAk1zQAU4ZEeXxfnb37W8p0kNff01 DSs6JInoETl2U4hl4SYzSbQLk/m+S5LvG4iRbhYprQoPRffMF5EO8k9jQG5qDe1cuhIr KBbA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si2150463plo.446.2018.01.30.02.30.53; Tue, 30 Jan 2018 02:31:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751974AbeA3KaM (ORCPT + 99 others); Tue, 30 Jan 2018 05:30:12 -0500 Received: from vegas.theobroma-systems.com ([144.76.126.164]:39710 "EHLO mail.theobroma-systems.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751718AbeA3KaK (ORCPT ); Tue, 30 Jan 2018 05:30:10 -0500 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 Cc: linux-kernel@vger.kernel.org, Heiko Stuebner , Klaus Goger 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"; -- 2.11.0