From patchwork Fri Oct 13 17:33:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10005551 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 9032060325 for ; Fri, 13 Oct 2017 17:49:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8493A28A8A for ; Fri, 13 Oct 2017 17:49:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7947B28AD5; Fri, 13 Oct 2017 17:49:32 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, 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 3EF2E28A8A for ; Fri, 13 Oct 2017 17:49:32 +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=wU+zwFuzotlfk5XG+fUoz7HtDwMa8HyoGgFHMkaEq/w=; b=muj f3m0kY29DI3k1pOVtCt059w+TSBw/5rHMgA+eYNWXAehLMAY5N57bvoWZjKAv4GJ5hohUFaCXliWt dDSgF4SKTECPr5jw3z5UK3uVbsfX2k/R2I6RCaFVlcm7tYecShjtZgGY6Wu+U2FQy3Y5HMR9CtQMj VYiVyHD9ETlXH+83auYJNjr3BCEI70f/3aHfU8cEr86K9b5/2ZvlcqiDnPS6PsLECc3qmRrz0paHL fVreMKHCC7p2N5Tgr7+T7AaAq3VKdKq3BXxksC1TymU8s9XovqyxE+9Agh0cZUob6eJVLQAEuPS5+ vboyb27tGKY76OPI+b/6I9RTZg3X8sA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e345S-0001rj-F1; Fri, 13 Oct 2017 17:49:30 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e345B-0001Wb-3E; Fri, 13 Oct 2017 17:49:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=eeGo6YD7st2V28DfH7p4TdGqlU3r5Tsr6UjLqHfrZ/w=; b=TD8OqZ73Z/GwRaAK/aSdFb6zp lkODI5ztqsWnsUc9uQKo+cbgkC3p8ct7Gc0FXLtb0pz5OOVjUqnzgaHQYmcAOhrr3CLVOElsFtjZM w/W6cBW9+DtQ3+b5dP3XlORtJIL/RjBstgJNqJPxLPGO8U8mESyko9f/vLbe6FSrzucEQQ9JpZNua 3LSzrDZxlYzkPRgcKH2p7jsTKbqfojb1qYtJ0I0XRA5mOXEOQHOHyspWuEWMvSOwAcjwQls5DFOX7 cTm1hL6ngifF2ebb+MhcNlVr7GqLvoMMjSXNXxdQr2Sg2tUl4eiqguo0t06pmBg4muMs5L2t7S5+H sgYwDuFBg==; Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e33qU-0003SW-G0; Fri, 13 Oct 2017 17:34:06 +0000 Received: by mail-wm0-x241.google.com with SMTP id b189so22710529wmd.4; Fri, 13 Oct 2017 10:33:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=eeGo6YD7st2V28DfH7p4TdGqlU3r5Tsr6UjLqHfrZ/w=; b=bSG5K5Yc8yAI0f44xe924LL/SAHuDr3XiWCAwNu2NFATTjcF0T2ZZB9EQa9fRJy15b cmI2G91un7EG7h6AMBqjqZE9+oWkxMdyWRIE5lJuhp3ZnJkGsH0eBN9UCCI5hdlxkd4z uZmEqiQ3HfZKM4Jww4otBaULQ3UYahJj0QpNCx1t0WcVQqsZfx2KcfFg5LbKj3ALRAwo 50Zy6hy6Jg0UBI9mBE8Qqhmu2taOPftKYwtXqNyy42xJp6WW0jr5YaPBVjuKaa+WJHxz 38xGQDTGY0SqbjY+I4OAiVWhiDTwjInpQppbep3shtrtjVJzR4NWEDftPzCoEwlsAwiY 8BPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=eeGo6YD7st2V28DfH7p4TdGqlU3r5Tsr6UjLqHfrZ/w=; b=qxlfD1qrRnDpevoSLcASyrJ+18jqsy0zFSGhlS72yW1IleyySt8yKtSpJNFsTxmRwc ItHGQZRvv9MQnJmtPMl6hiyuSmOPK+rjQT2sdB+WpjeYNrtR+7MPrkyVfvwvY245i/CX 6rX+BCfiYlraAK8tnxx1KTri3P9ObUhSAevS+u1PvL5Ub/2WTGsagvOv4pft7lblsRMG D0F2tb8u/q5IVPud0+2RL8Eib34cDAaXRA0h+RSlURiS6Hn76hflet9simkIYyekT/K0 ur4ekDJ7XA8nD4M6aVhxNCaLerrl3TEyH73F6ZopjzBe4MQYMkbW7/gM4oU+7dpc6Re9 7Rig== X-Gm-Message-State: AMCzsaVvfO0OjOZ7OIre0NGNgM5j8wwGRECuHMovYP3Tp18oizGUY0Cb 5g+HocQgnLVBGfBfA0KC7l6nMblc X-Google-Smtp-Source: ABhQp+Sy09iusO2FQtCa+KsqxaHGwAExA+vxDvbTRziMR0vPrvu4bppSVGoxFgmBc7Y0UVLWRTVXbQ== X-Received: by 10.28.107.150 with SMTP id a22mr2261676wmi.41.1507916017978; Fri, 13 Oct 2017 10:33:37 -0700 (PDT) Received: from localhost.localdomain ([62.18.29.96]) by smtp.gmail.com with ESMTPSA id y29sm1150129wrd.3.2017.10.13.10.33.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Oct 2017 10:33:36 -0700 (PDT) From: Jagan Teki X-Google-Original-From: Jagan Teki To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: rockchip: Enable thermal on rk3288-vyasa board Date: Fri, 13 Oct 2017 23:03:32 +0530 Message-Id: <1507916012-3980-1-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 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: Mark Rutland , devicetree@vger.kernel.org, Heiko Stuebner , Russell King , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Rob Herring , Jagan Teki , Michael Trimarchi 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 From: Michael Trimarchi Enable thermal on rk3288-vyasa board, TSHUT is high active. Signed-off-by: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/boot/dts/rk3288-vyasa.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-vyasa.dts b/arch/arm/boot/dts/rk3288-vyasa.dts index 932311c..3546eb8 100644 --- a/arch/arm/boot/dts/rk3288-vyasa.dts +++ b/arch/arm/boot/dts/rk3288-vyasa.dts @@ -302,6 +302,12 @@ status = "okay"; }; +&tsadc { + rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */ + rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */ + status = "okay"; +}; + &uart2 { status = "okay"; };