From patchwork Sun Jan 28 23:29:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10188553 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 7096B60383 for ; Sun, 28 Jan 2018 23:31:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6909B286CD for ; Sun, 28 Jan 2018 23:31:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5CF99286D2; Sun, 28 Jan 2018 23:31:08 +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 04EB6286CD for ; Sun, 28 Jan 2018 23:31:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753767AbeA1X3s (ORCPT ); Sun, 28 Jan 2018 18:29:48 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:37157 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753462AbeA1X3o (ORCPT ); Sun, 28 Jan 2018 18:29:44 -0500 Received: by mail-wm0-f66.google.com with SMTP id v71so30464287wmv.2; Sun, 28 Jan 2018 15:29:43 -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=mMT49afvcWJCexl9BbN9+5tGMONoQmGVedkjMyyDzDo=; b=ZMvH+Qd9UVvhgLX6wmjTXRCGWe8+NZ468PBDAucULeJrBw8fn/MzOVkqYKEmzGtJ1A T7JHBSt0x4FBedJTQqE6CZXvEIghORoa5J+hvq2cu2n4G/kv57lfnraPiVnBOt7NvjLH vlP45WMGF7A9LhfFh1JiEUL7flYJUHbV3yhJezOBQZEzVS5NPNNqYZF2zzmTIqYPMBGv IYSVIQ9ZVQzB4ByZXx0alClz61bS64Ya5N4OqLtdsmbXrT5+DK89MvQWjF7rUOvSrYxZ E27Da1+igMl/ck71ummU/VLrqjGUcvy2Q5OldpThrvtu8X9tVkeNtUHymcP4+nN7QurK TAJQ== 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=mMT49afvcWJCexl9BbN9+5tGMONoQmGVedkjMyyDzDo=; b=fIsibYhWwCN3uB+dIUkvkpTVDjgCW6uCt+64Co5dNX+k04zz8csNfrJF0YrSC45pkB mAlyj5BMQhSgDtEbtZnOtWdGEsBCBSJxoXR6VF6/f3ZqgVkuXp9Ltu+YVVz1Z9J3bnSC weUm1TZsHV3U9AM4gZClBnDgzBFm1VsgNvyUIqXy0o+7eY7Ue7fNhNPLEdW6VJElfHeM 0+c5dAkINY8cV4lWQois6fVCyDlE7ruLBzQuaNBZC+OLLLBJ0chZyilVWdelfNqvvum3 ZVYkdDuM109HwH7FFBND1aw2gjFiDH/qkMb6l6aXKwj/hYQa2wkFAJ+V/AEVenGll7Oi xe3g== X-Gm-Message-State: AKwxytc4roLHwXiOJkWcDaP41AeiseSIPFf08IQcyOuQYOQnrO4iIq1d YzQ9xIEU2+SAAayV4nTpTbc= X-Google-Smtp-Source: AH8x2269o3cAT4kycdoWh+rDHwPPU95cAqnsgwOb9NV3d1Ss56hP+AEI8fZSQZLpvglSvsdupaPkCw== X-Received: by 10.28.46.88 with SMTP id u85mr15437511wmu.12.1517182183037; Sun, 28 Jan 2018 15:29:43 -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.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 15:29:42 -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 11/16] arm: dts: sunxi-h3-h5: add support for the thermal sensor in H3 and H5 Date: Mon, 29 Jan 2018 00:29:14 +0100 Message-Id: <20180128232919.12639-12-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 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 --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi index 7a83b15225c7..413c789b588d 100644 --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi @@ -426,6 +426,15 @@ }; }; + ths: thermal-sensor@1c25000 { + reg = <0x01c25000 0x100>; + interrupts = ; + 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>;