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: 10188611 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 90D9560383 for ; Sun, 28 Jan 2018 23:33:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A123286D1 for ; Sun, 28 Jan 2018 23:33:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7E4C8286D7; Sun, 28 Jan 2018 23:33:36 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 1AB1D286D1 for ; Sun, 28 Jan 2018 23:33:36 +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=Ji0brbebfvKjh2chOnzKrAUAEcaroH298HRr/bIYHyk=; b=q42niYsYKuebaCbg/Ss3Is2xVT aBjRMRZ2ZCT5HsDnGTjtcMrtPFlnIu++nWzBmEj67QqnfDiteeKy+8NI/A6ExqOfgYfi15xR7HHqm dw93iu0BgXsg4ECkfdrWlGVS3bWRtcgKCPVeBv+YLbMrIwgM9PAsklvbSeM3lyfNcD10GtcIkRdbL 1PYJrqUcyGBFb7t6LNNOyo8/7zhFKvCSnZr5bLcb2m/JUP/+O3UuxemSsT1qDa/iiQ88FstRw+ODB MwYTDuKhe3LynnxHa6niYx89FBIe7TGA75cKpq9dq5BhT1Q4NtpMwTND3NXxeS1sUm1fZS4e9/eQx 1055RXAw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1efwS4-0000ZY-Gu; Sun, 28 Jan 2018 23:33:32 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1efwOY-0004O8-PZ for linux-arm-kernel@lists.infradead.org; Sun, 28 Jan 2018 23:29:56 +0000 Received: by mail-wm0-x241.google.com with SMTP id v123so30429593wmd.5 for ; Sun, 28 Jan 2018 15:29:44 -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=JH6ne/F/7j6Jio0A+uDHTyXEgDaepF5w2+QX7tIETeMILi0EhOyUIzpQeKppc4isAn YpnmHNSf4pzl2tvZXF1j/opSdtTnkGfkJXTwpJS0dkH7zYmWyADJ+sZinLUcITiRHFxQ dFRfsMIGQXrKlr39x3FRQ+euMiBD0Zcvpjvfa6Wn7NiezKNVs9J3wx0GdHwtOUrfbJkP H2XWbv6rQFVTfvL4mj9a2TTdPJljq1thk+z60Tdm0eylGlXfTbZ/tgVMYFt0lrjp624B /u2U5PJknZu0h/ysNddTRNhxEzHplTIR3TJrFgONfzmin97IXGHO/BJwf15XsZeorq9z 2yXA== X-Gm-Message-State: AKwxytcanbaNvBS3G86VBlvbKYjup4SKFG0518rdt3qUFTgH1xwxuZds Wg97u08c0yDjMAA1r3ky2Ko= 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 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> 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 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>;