From patchwork Thu Aug 30 15:45:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10582213 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1CA02920 for ; Thu, 30 Aug 2018 16:04:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 085922C10F for ; Thu, 30 Aug 2018 16:04:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED28A2C115; Thu, 30 Aug 2018 16:04:46 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 87EF22C10F for ; Thu, 30 Aug 2018 16:04:46 +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:References: In-Reply-To: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:List-Owner; bh=Fe6cHCjQIlPZfumNZLMN/j+cGiBnc41YFGFSoOQj8zE=; b=u/nvWFLcNsRli7W7Y9antiV272 JTo42CzKmjnZmjHsVB+CBGht19n/s6LK4BYGMF0R+hxSv4+xo/BORW6gqESrdu4UaVU1LknuW+tKW Nlpha4Ut5yT2HqcjOJZKwfeoFqLIZb3hykYwMWTZKf3WCFsm7bk6OJNjGMgLqw182V9Lc25X9pfOv mFUhPjyo6pNJVZB54DQ8aOlb4TNbF+jCa9bZRfWZH92Mf+yLYKoZzxvsCs64E53RUIYAsoJNE8vKV lSKS8L7hUXW2CBSSwCP0i30j6nVBgxLqq/KUjohdYavKAiG1shSKk+RL/dJ+HP6R6Pc0MgQU+im9+ QlOhWYJA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvPR0-0004yE-Gf; Thu, 30 Aug 2018 16:04:38 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvP8v-0001kN-K6 for linux-arm-kernel@lists.infradead.org; Thu, 30 Aug 2018 15:45:59 +0000 Received: by mail-wm0-x244.google.com with SMTP id s12-v6so2482377wmc.0 for ; Thu, 30 Aug 2018 08:45:47 -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:in-reply-to:references; bh=FywbVIB0mybZGQlha7NFbll0y71vzt8iOO5Bixlf4OM=; b=TGIpwGhzBwkzCA2k0q5aqOzmNO+gwTDQe4W2eznKJAMCoTOXzszi8sLJRBl7S+ejXD uS/I6378Cpn3/kvXXhk7mbJiZy9gF8G/ni3z10hQ/cMvBJD8mnxxvLSYIEcePM8GjmNR WSTQcyCm+2ae7LYYQAu3wxn8SQ+8uLzzHoxC6oGnlCFn9SIMmheek819Ta+LhtfoeqIp HLrq21b75L2B90xqlKsZ43PR4UDzaIGLRHfisQjBKwH1CwksFiHjijVUhdazU9Ri665b ArbI+MXODDsgYB4Lzoez9/nB2I4+73LNMeW3yvEH5uFpHI+AuiBQLMr6Gkf4dl2bXg9v BfnA== 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:in-reply-to :references; bh=FywbVIB0mybZGQlha7NFbll0y71vzt8iOO5Bixlf4OM=; b=TRywZJZehwLXgnwoM6F7JW0H4H5Ielr4oELP4QGl/DQiuchxdi2U7fbexgAODDsJ5E PxHycGH5e44K+/aP2Y5St7JvUJOdSrogoBSK9i9ukyhipXGlMQq9KT1BSgHQK8HAMnLm b4fA1kS99syFVirl3WoshGw7CJXx+dQQJXDmewIVGytC7cC96e3V0lX6Nc7NEC3R9nEe YwxikgNqGuyWLYyoqPlUpBAIAaTHwjukIbkHu+QBQ/yoKi+YsfwdTUyEfCPsfZQzPDQ6 Vnqg7w8bFdwk08i08iejCkn13lHvcNuO8hjwue0MtTIpSolVIouWa2GvqE4J0AuDIqi5 83Tg== X-Gm-Message-State: APzg51DFU8Vp8tMd1PzFeezOPDd1mdJJdEYykLSQKf6J2RKfSQj5+7Jf N5L1m50/Q09K9+MmKkFYv54= X-Google-Smtp-Source: ANB0Vdb49E8FXdr5hCrNgeojqWMHwts1H1t3PCXOFkIgWsf3OM1BOR5eP1POMRnYkyXEudrQryqrSA== X-Received: by 2002:a1c:e70b:: with SMTP id e11-v6mr2127387wmh.22.1535643945694; Thu, 30 Aug 2018 08:45:45 -0700 (PDT) Received: from debian-hp.wlan.uni-ulm.de (eduroam170-020.wlan.uni-ulm.de. [134.60.170.20]) by smtp.gmail.com with ESMTPSA id j20-v6sm1362759wmh.9.2018.08.30.08.45.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Aug 2018 08:45:45 -0700 (PDT) From: Philipp Rossak To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, linux@armlinux.org.uk, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, eugen.hristev@microchip.com, rdunlap@infradead.org, vilhelm.gray@gmail.com, clabbe.montjoie@gmail.com, quentin.schulz@bootlin.com, geert+renesas@glider.be, lukas@wunner.de, icenowy@aosc.io, arnd@arndb.de, broonie@kernel.org, arnaud.pouliquen@st.com Subject: [PATCH v3 24/30] ARM: dts: sun8i: h3: add support for the thermal sensor in H3 Date: Thu, 30 Aug 2018 17:45:12 +0200 Message-Id: <20180830154518.29507-25-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180830154518.29507-1-embed3d@gmail.com> References: <20180830154518.29507-1-embed3d@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180830_084558_186282_0CA10B2D X-CRM114-Status: GOOD ( 12.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the missing compatible and the thermal sensor cells. The H3 has one sensor. Signed-off-by: Philipp Rossak --- arch/arm/boot/dts/sun8i-h3.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 41d57c76f290..5b7994cb1471 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi @@ -185,3 +185,8 @@ &pio { compatible = "allwinner,sun8i-h3-pinctrl"; }; + +&ths { + compatible = "allwinner,sun8i-h3-ths"; + #thermal-sensor-cells = <0>; +};