From patchwork Fri Jan 26 15:19:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10186327 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 ECC4E60383 for ; Fri, 26 Jan 2018 15:22:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DD55329C19 for ; Fri, 26 Jan 2018 15:22:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D1BB729C2A; Fri, 26 Jan 2018 15:22:12 +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 6438629C19 for ; Fri, 26 Jan 2018 15:22:12 +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=hUpzm+C++fYlSvoIsKMbTY6YnE p12xVGyuRxwMH4U7Kw3tQv7HPT5EQUsBvQmc0v5MvjTIbJEpmWntD/6vsTJ1kGApIbi5UZiQjBXPu dr2Q8nw+UuasMafuySqnSZAjnPD4Mw+o34MiMj4KqZ1Yr6dHQcr/Azj0ntQg602ImW04gyqevU8fg swQ9B7r6Ummv8X+qyXNmSyDAtAHI6ln3dLaRpC31BQzTlAsqtYDB1Ly5LA94r2gSNzGB5f4EHyy+H VSerFbpnYOrawbOBb7S74juz4F3Sbxhh5jQ2W1n9Iw4uIMCbHrz8xfsiaGea6Y3GPZ6klJTXeKOC1 E1sLSjSQ==; 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 1ef5pP-0003nT-48; Fri, 26 Jan 2018 15:22:07 +0000 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ef5na-00011e-1Q for linux-arm-kernel@lists.infradead.org; Fri, 26 Jan 2018 15:20:17 +0000 Received: by mail-wr0-x243.google.com with SMTP id e41so827123wre.9 for ; Fri, 26 Jan 2018 07:20:06 -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=A/zj08bQ1VQzBJ5ish8Zp00yc1gf6DndLCy091dMFPmvalZp6xCDPozDPY9FgSuY7s aXi7/AbDYx1uXsIRO53hA7pYxWli2yFDJRRwruqmEfBjEt9yYC7KBdTjj/EouNPtoXII cUGcYU5MUG9fTLMtlPgg9A8Kl3hNAYy5Ns3uuqxhbomGbFZuSj5485VrRrTbI6nHxQIG pJzwg1TOs4rp1CK9H6pQuK36PnXsS432OScvRGIplUjIcK0LDDgNAXmnqchyJqUkPQHn 6SMgf2o6HN9546KPdExV2yhfzBU7E6de1ui09LqVWKV/SKhNYkGmJnEsOwMJ/7OtVkHv j2tg== 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=Yio1zT7dLjonQlDggiMCzeHAaCoZKzSY0HJU8WPLau6VfNDzi4MxWb/KB8YF6SCkYA H9P++1qK+FjopfO++a/2KOCRv8aDzasKVTagc41HvSeQJz+hlsdjtSYyK9ZQEYdaCP1u wg7t08zdMqMd5nREpMjJWDIOB2tl7lz/Jb0rYOEhKqxsUPfuAlHapvihuTVPR9aHt+kr VCZukRAD78ThnTnj5TewW0u5YPDjvBwZTltgzL8NoBNrpMrCwCWBuTTrJxlnvEbeKIrl m4tmsr/VzHsqsgvmg3zMQaafTBYSBxyz4KFtpfDexCSLj6vnmHs1wE5y8VE9Od498rKu 8B9g== X-Gm-Message-State: AKwxyte8tffIH3BAtyH5BHujukLMQykB9XilRxg6Kj48N2RvIcIRpsKV D6jmw+iRl8ppJ15uE616lJg= X-Google-Smtp-Source: AH8x22591aMBlJzVwU0Tx8F79rnsh7Y9zMfebfDm7C3donnF/lnVzslqlRNTdcShTcUZzhpMR9j0LQ== X-Received: by 10.223.152.109 with SMTP id v100mr11612183wrb.222.1516980005264; Fri, 26 Jan 2018 07:20:05 -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.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jan 2018 07:20:04 -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 11/16] arm: dts: sunxi-h3-h5: add support for the thermal sensor in H3 and H5 Date: Fri, 26 Jan 2018 16:19:36 +0100 Message-Id: <20180126151941.12183-12-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> 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>;