Message ID | 20180128232919.12639-16-embed3d@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 F2C6260383 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 28 Jan 2018 23:34:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB789286D1 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 28 Jan 2018 23:34:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DFBE7286D7; Sun, 28 Jan 2018 23:34:42 +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 7D54F286D1 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 28 Jan 2018 23:34:42 +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=wY2UTTPbt9UrQ5d3OuGU84Iffrk0XlSt46VvNSP51Hw=; b=PO9zru9gfWvAgb+7NtWi3cHjsL p0k/RCz8Ospjz54gXdcb1q3eyZKBE1hxx2s9Xj1rcF5OXsDiykzkQtsW6xwqH8jDRMz1cfHLMpF31 /TKmHwalXx0ogCDfio5wUZ/udiWBIIQ+39Bqu5tJgIzxWaPM8ir/URQTWcgvalE00j64VCoM1bxU1 T5jr/f7+LfCWSkqmwzhpOa4H0Mo1lKm8cTXER1PWd3kIqQH5q2dByLWPzRqM7NXWGmI5itXXmruIe 2wdCDDRhyHumY+LmBU1IsTYYIIOELKSjM+3C0a7DnCYLl74GtJWjy+yMywDx/6JkC+W2GKOdtf8Km IYqXgVZw==; 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 1efwT7-0001l3-Rp; Sun, 28 Jan 2018 23:34:37 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1efwOf-0004Vy-O8 for linux-arm-kernel@lists.infradead.org; Sun, 28 Jan 2018 23:30:07 +0000 Received: by mail-wr0-x244.google.com with SMTP id a1so5295373wri.5 for <linux-arm-kernel@lists.infradead.org>; Sun, 28 Jan 2018 15:29:51 -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=Js5ORZzs/2gZpQRK/VHnUfGLdM5eFftvJp4OQavSX50=; b=Pgki12MRageN2yehTRK6oBgM+ALn+5gQqTzqtn9xBXVasGSN4mr+rcuuN0OFL+BXB0 DfnX6Xu8dzQO1T4JuMb9NT6TVJmI4tFPOIHGuZgjCR8exWN/9SwHjZD9tpUeNKbNw3H/ o6T9H2FgqKcfuFh5FF2R0tcYFh4d0k+mSwh4HWPUkvhBSe9Z0zV4hZBu4IDfnKPVFhiN +q90tJmKRIFLSC28UpM7/gLJUma782RW+4TysxIz66QaBHU+DGo1oNbw5V3xjnLEI7fU buL6FLD4ob/3BVaEM/JNtF5e3eS7xeF0v0P3Cb9oqyxy1PUnw2rnFBmnVe8fo3O95B5Q 7kjw== 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=Js5ORZzs/2gZpQRK/VHnUfGLdM5eFftvJp4OQavSX50=; b=I3cuKgTYkRn+L18p1GqBmBiq+iMtc6ZPjnUw0U1b8/dY7IP2rdfzwjZ6odBcY83Pcl bk3sF8ewQQ76BiWw1XQwu9j3oYsH8dCZjhZW1hPys0l2283SNffp9eruVPxHbifRmzZY 0s1nRGe9DhrqtS92WR/DChcXrmsNIzmeTzA2i0FfkHTXc0Ugx4X1C+iME4n3pxUohmLb DWz7R++4iyb0Y+qpspP042liN4dvaFUP7MrnAToapAgjb3idb//s8hd76wjBEU0zd+gv n55esL/BXe0qwYoDDwAGM6n8lb28rlWktEbDVPZ1WkCL8LkyuEvdyX6CLVE62kW0yDkH Vnzg== X-Gm-Message-State: AKwxytesRTiASLnmCce9t0Mr6QCv7ICqasjOiaYzhl56QyN7NAf/KF7A 9T99WIM5cITLPy6IECTAuds= X-Google-Smtp-Source: AH8x224e65Jxg0KQ/fPsibMXPqL+Z+EZXngjCvENNyQu0P6PCfLCoZ+pson1gNqetsG9dmB4A0qT5w== X-Received: by 10.223.165.81 with SMTP id j17mr5744898wrb.173.1517182190273; Sun, 28 Jan 2018 15:29:50 -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.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 15:29:49 -0800 (PST) From: Philipp Rossak <embed3d@gmail.com> 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 15/16] arm: dts: sun8i: a83t: add support for the thermal sensor in A83T Date: Mon, 29 Jan 2018 00:29:18 +0100 Message-Id: <20180128232919.12639-16-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: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index 7f4955a5fab7..9e53ff5ac4ed 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -518,6 +518,14 @@ clocks = <&osc24M>; }; + ths: thermal-sensor@1f04000 { + compatible = "allwinner,sun8i-a83t-ths"; + reg = <0x01f04000 0x100>; + interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; + #thermal-sensor-cells = <1>; + #io-channel-cells = <0>; + }; + watchdog@1c20ca0 { compatible = "allwinner,sun6i-a31-wdt"; reg = <0x01c20ca0 0x20>;
As we have gained the support for the thermal sensor in A83T, we can now add its device nodes to the device tree. The A83T seems to have a broken IRQ 31, thus we use here IRQ 41. Signed-off-by: Philipp Rossak <embed3d@gmail.com> --- arch/arm/boot/dts/sun8i-a83t.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)