From patchwork Fri Jan 26 15:19:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10186321 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 3996B60383 for ; Fri, 26 Jan 2018 15:22:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B9A829C19 for ; Fri, 26 Jan 2018 15:22:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 202EB29C2A; Fri, 26 Jan 2018 15:22:01 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BA66A29C19 for ; Fri, 26 Jan 2018 15:22:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753356AbeAZPVr (ORCPT ); Fri, 26 Jan 2018 10:21:47 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:44658 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752539AbeAZPUI (ORCPT ); Fri, 26 Jan 2018 10:20:08 -0500 Received: by mail-wr0-f193.google.com with SMTP id v31so817396wrc.11; Fri, 26 Jan 2018 07:20:07 -0800 (PST) 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=XB24F+ifnsp3ApNM4HMUN/IXAvDjYlviKMmydtExSgg=; b=lEVzPRPufk5kzoPQHiS0idFbr/aSlTH+Bk0sahmtIJ9natY23H+K/2VL9aGkjEF5vv BuPdS/L6PNhaoLMZCOm8Koc3N6DIOs1cHtrYGhlvi3ZOQ/dvTncPTYyGj7FKSjZVQ9mH LcnuPwI6LP7n/X3gXCDv25mydSxuDLUDeG1L1TLCQUWmsTgvt7yZ6uMz1KXWARf6gebV P69z27yotq3WdhBeHNz+TMulPra9B+qKYUq1Qyou4Jihrx9PjrPBZFWgs1gyBXF9O/iX ajG6xtLX1U9bzGeG0wjF1qzWYBPSFWsbgK9eOH57p3imr8vYMA68yXtJrJE1OdGYjhxx Nl+g== 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=XB24F+ifnsp3ApNM4HMUN/IXAvDjYlviKMmydtExSgg=; b=Jf0fRpvrGElFs6qjgGUFlqalJVkgkpg9TWWprFV1uT4XftXNDFFFaLdQHdc4frZioA Wz056EtctKtCzWuIGA7EB/ZAQDs6Qovh80ns5z9fmRdYYE+M3BJqDYlpZ4ALSmyKlzOM jLSPRVxqw++V0b1SZZS1WCn1kLOR2Rng8kaaTewvDxX9QKxSch2kIwSLv+HRlgGd+Hg4 5EtHEieJpbmT6+SYJIHhqZx/n5DjUQ+AL9nLDd4mUoZOz9jJZcp7Y6ylA7shi8cixFGS N5xXBGkOihPS39J9Wwwir0f/SImfd+EN0bsjLCeIGZV+HnJB1QQ+jTACLO2X4NDleOjb Gl0g== X-Gm-Message-State: AKwxyteCyWX6uLCcwQ8ApNyMytrZSBTg5fLaPdtBFiomMH8NXz5JlbZy 7fm3/gU9OF4FcQu6bzfGpA4= X-Google-Smtp-Source: AH8x226XFOKc9Rn8W6nTRIItMeayAUbnGGjxkOsejehbPV2chKHmYXh8kUIqYzJ6fSYNDaebvcfQEg== X-Received: by 10.223.189.15 with SMTP id j15mr9055472wrh.1.1516980006977; Fri, 26 Jan 2018 07:20:06 -0800 (PST) Received: from debian-laptop.fritz.box (p578F04D2.dip0.t-ipconnect.de. [87.143.4.210]) by smtp.gmail.com with ESMTPSA id e15sm4586130wmd.26.2018.01.26.07.20.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jan 2018 07:20:06 -0800 (PST) From: Philipp Rossak To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, davem@davemloft.net, hans.verkuil@cisco.com, mchehab@kernel.org, rask@formelder.dk, clabbe.montjoie@gmail.com, sean@mess.org, krzk@kernel.org, quentin.schulz@free-electrons.com, icenowy@aosc.io, edu.molinas@gmail.com, singhalsimran0@gmail.com Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH 12/16] arm: dts: sun8i: h3: add support for the thermal sensor in H3 Date: Fri, 26 Jan 2018 16:19:37 +0100 Message-Id: <20180126151941.12183-13-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180126151941.12183-1-embed3d@gmail.com> References: <20180126151941.12183-1-embed3d@gmail.com> Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.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 8495deecedad..fbb007e5798e 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi @@ -128,3 +128,8 @@ &pio { compatible = "allwinner,sun8i-h3-pinctrl"; }; + +&ths { + compatible = "allwinner,sun8i-h3-ths"; + #thermal-sensor-cells = <0>; +};