Message ID | 20180830154518.29507-24-embed3d@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-iio-owner@kernel.org> 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 7F2FE14BD for <patchwork-linux-iio@patchwork.kernel.org>; Thu, 30 Aug 2018 15:46:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F5472C0AB for <patchwork-linux-iio@patchwork.kernel.org>; Thu, 30 Aug 2018 15:46:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 63A0D2C0B1; Thu, 30 Aug 2018 15:46:33 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 1021E2C0AB for <patchwork-linux-iio@patchwork.kernel.org>; Thu, 30 Aug 2018 15:46:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727851AbeH3Tsc (ORCPT <rfc822;patchwork-linux-iio@patchwork.kernel.org>); Thu, 30 Aug 2018 15:48:32 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33413 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727813AbeH3Tsb (ORCPT <rfc822;linux-iio@vger.kernel.org>); Thu, 30 Aug 2018 15:48:31 -0400 Received: by mail-wm0-f65.google.com with SMTP id i134-v6so2158676wmf.0; Thu, 30 Aug 2018 08:45:44 -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=l6QLRCww2N/gUDx4YyzxlMvXx8PICjJAWIzj33m3Y8k=; b=P4KY/wjMkYPFDbNjOeAzFPGXuvhGIkJHHgDVR/QUrBYJaPSFyZhLU/OKgDyVAtRfsL cwSC1UBpmTYC4KGzF43ZJNLd6bYwypq0T2oubDiL28AaiJ8wjL/FgxTn6rtbyrS2nnqz wRhinzDJs7882wZMTxrM5fu2QqFdfSRgns+WlBW7PhgOBoECmglfi85eFUZEKCjuBVy+ bhL4hdRKCHKMD7QwvrYawCYayaIMKVhc6ZhkzwTUIpMK+kmvcFs+OSQ3DSxClClQpnz5 5DKEEWANnKfCgSsYXHh2nXpcoQWGIP51an2xdKrHm5GroqXHhMEJI49pLwx4u/svWKbO 7HVg== 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=l6QLRCww2N/gUDx4YyzxlMvXx8PICjJAWIzj33m3Y8k=; b=Bpz3LV6h0oC/61v1xUJUPqc37g/SZ9uQA3nvdkQXDJ+xfVLKx15nu8PlhbZl8MF9zk PwfQviFiXh4YGFoEKCqsMPMYKF/zjSc5gX2vnf9rvL+RjNPEBKC1606TIUufVyQUXdLQ ApCQfyrGJmUU41wrymgL6ibbPXclrpc8zL+MbePwjPkA/9UdOz6z/8EQtg2Gl+O6koIv nIzDYOODuv0DwJ6wH6P1T7+eKahwR2BdSzzJkNjQm69LOz57l6cakNmRezfr6K1V/Q4E fQD8zptIYMLe+rjZyUQViu9Ic6+TvxPo4wJG4hYHDgGqWDQAA15Oj6htYiFoMbJLaE7H y4mw== X-Gm-Message-State: APzg51CiNurjcgwLMFEwbDaeA/7FG3hO6BKwKOn5xSD6TU+3J8saWpvR Th554tpI2dRs5GTu2ksH8gI= X-Google-Smtp-Source: ANB0VdatYCV55jeDhSuK82bQ3CoqrHQ8yzytm678XM5qd4qnGTaM7Jb2ZLl8iGE3cli+4sSVNjUMNw== X-Received: by 2002:a1c:b80a:: with SMTP id i10-v6mr2123262wmf.30.1535643944392; Thu, 30 Aug 2018 08:45:44 -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.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Aug 2018 08:45:43 -0700 (PDT) From: Philipp Rossak <embed3d@gmail.com> 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 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 v3 23/30] ARM: dts: sunxi-h3-h5: add support for the thermal sensor in H3 and H5 Date: Thu, 30 Aug 2018 17:45:11 +0200 Message-Id: <20180830154518.29507-24-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> Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: <linux-iio.vger.kernel.org> X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
IIO-based thermal sensor driver for Allwinner H3 and A83T SoC
|
expand
|
diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi index c3bff1105e5d..3520e4ad6042 100644 --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi @@ -488,6 +488,15 @@ }; }; + ths: thermal-sensor@1c25000 { + reg = <0x01c25000 0x400>; + interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>; + clock-names = "bus", "mod"; + resets = <&ccu RST_BUS_THS>; + #io-channel-cells = <0>; + }; + timer@1c20c00 { compatible = "allwinner,sun4i-a10-timer"; reg = <0x01c20c00 0xa0>;
As we have gained the support for the thermal sensor in H3 and H5, we can now add its device nodes to the device tree. The H3 and H5 share most of its compatible. The compatible and the thermal sensor cells will be added in an additional patch per device. Signed-off-by: Philipp Rossak <embed3d@gmail.com> --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+)