From patchwork Sun Jan 28 23:29:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10188543 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 4C7186056A for ; Sun, 28 Jan 2018 23:30:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46720286CD for ; Sun, 28 Jan 2018 23:30:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3AFA3286D1; Sun, 28 Jan 2018 23:30:43 +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 C9BF8286CD for ; Sun, 28 Jan 2018 23:30:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754232AbeA1X3w (ORCPT ); Sun, 28 Jan 2018 18:29:52 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33588 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753672AbeA1X3q (ORCPT ); Sun, 28 Jan 2018 18:29:46 -0500 Received: by mail-wm0-f65.google.com with SMTP id x4so42485793wmc.0; Sun, 28 Jan 2018 15:29:45 -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=qf39g9sQ2k8K6rzn4plnSn9jBprxtxse6Ch/fWwplTqyIlS1iKq3H/ukgilZSRASK6 s6KZkGw3YW6iYExAeZI9d2NSxjYMqyaxXBxC+RXnveaL8anLNDo1tk+D50k1lr5mWiQj qWYhnqKFfkVL9R3+sCE6i/EDS8MNdEPH2aZkXY7lRSgSgPFpx0vwS5vvL8fWrInbCRKb Whf/eJEXQJHN/KyAx3uVT5gQoaKc8hxUzALQRYAGcFNkasT+xYqkIjpGcUOG2oamE8Nd wBKISqJI+AGcmSlUipsjEvyFBkx2tQLNqCMgO7OA1xS6MfFlKWfkZkCr7EVKtpaG5LjK WLZA== 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=Dm++6lHtHnKBBPcHgMitV1mf+QuTjpPZKbyID481Vh553XX5+Sp3VqN57QSG15iAIA 1uw0Q9PdBQ1Bxe4RHDqMwa53Yz4LINbCPISe+1486hxzqxWsC0/fnH9GaJVTqsgjtttS yvzXQvrJgapB9LD9Qwod30DSOxUaBR6NP4sMOM/rvUbPEDx2UfQGkRxv4UhPjLK73hzo wy3cXsMkLAoIESNuvmcUI9vUzEPpnqPZzaPLDeQwoh4YuiYuPKmvHjLkiT9x4X6ZIiIM wWG8gVFtSZOPxv1xPBy5Y8mBRjmqL02ZTJoWFApEXaY4K0T8mG1b7rwHH122W5vX6FKO MyHA== X-Gm-Message-State: AKwxyteLGWemInChzYuW6ECxBWoIhohmue/jwdgj9N1jQhEWxy2IQp4q UlpcCOPhpIsXwTkeD5LGngI= X-Google-Smtp-Source: AH8x226enDVbUMMTMp3sdaepAAHwc17yJlU0JSX8lpypPCoaJzjiCiRAAhTKFiauj1oWLe8TaIFUyA== X-Received: by 10.28.25.129 with SMTP id 123mr17566930wmz.2.1517182184838; Sun, 28 Jan 2018 15:29:44 -0800 (PST) Received: from debian-laptop.fritz.box (p578F04D2.dip0.t-ipconnect.de. [87.143.4.210]) by smtp.gmail.com with ESMTPSA id m86sm11839223wmi.40.2018.01.28.15.29.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 15:29:44 -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 v2 12/16] arm: dts: sun8i: h3: add support for the thermal sensor in H3 Date: Mon, 29 Jan 2018 00:29:15 +0100 Message-Id: <20180128232919.12639-13-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180128232919.12639-1-embed3d@gmail.com> References: <20180128232919.12639-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>; +};