From patchwork Fri Jan 26 15:19:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10186355 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 2BA4B60383 for ; Fri, 26 Jan 2018 15:23:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D5CA29C19 for ; Fri, 26 Jan 2018 15:23:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 10C3F29C2A; Fri, 26 Jan 2018 15:23: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=-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 9BA6429C19 for ; Fri, 26 Jan 2018 15:23:32 +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=ulIPVP5fN1aMQRkLPvmBNEiFQ3 RX0Lxts98jgPlV2zo69OE5bF2Vuq1oAs/WFjqi9LPYnuHghO1CaCYfJENKK6P+WI2wCj7UPVUlIak TXkHOuPA0nfpZcyHDpA9kbw3FWo9yvUXaQZr8gDtTQl+2xqlDNFi3NLTQeo33avKXxO7V1R8UnbMC oi85ld6Xk6WHmbbwoJ+leaRNNDmfjwvgJA8J4KGDcq0wdhWMogNG2HO9LBWzixvwqXyLyma7IAusq CEQXYxhxxepF+88najKFb+hNLvk7RD/Xg1OIk+4vX3oVoUIXTVYTFTraQCfPj3Vm98BpAJR+nTCa6 u2arhUpw==; 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 1ef5qj-0005N5-JP; Fri, 26 Jan 2018 15:23:29 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ef5nb-0001r2-RT for linux-arm-kernel@lists.infradead.org; Fri, 26 Jan 2018 15:20:22 +0000 Received: by mail-wr0-x241.google.com with SMTP id g21so815564wrb.13 for ; Fri, 26 Jan 2018 07:20:13 -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=T2geuuIc+y6qjpnPxAKSaebsTKmCWngxmIBSI48j+w+sKaD9fFmdauwiTH42W7rt6j D56ci0DGzIw7egxgBHBmtOpwhydfKyTuNvRY/HwrWG3bvEL5U0Se/IEf2UKzBVJifTw0 U5nmXOsWqdD1GrHN4yPnza1HM/V70k1skyZGmTSR3zmDtqr9fipCsCQV5GfPvC+fm1Ow pMtzIwAU8m8HG/x/3fdslNl3QhXWjbCPRMI0E/Mu9/cD8F/mRC138aTT2gx9x+HBdnjC ghSrYmAPFXwetsievByCJrrkoM1WS8fMY/NxbJKB+nxjW2wnGONar6eeuIsvoQojukY8 AG1Q== 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=nYmX7MqGv9p0gl4BbobFmfsKjG57LuaqQ6b3HJ6e/ZAb1PPnuOlnw3fjaIqr8LUke0 GsiJHsbwfofkIZL+K74YBi10ytklS70gvaRbhk/qoR+taciPwm07V1dAmHRjuc94Ax9A ZyBUgdZmdMcKDdnEp22Z06r5cmrLnJOvXUiyFSaeMhZfYoC5JDK5r3DYBHHwM88CP2EN hhABSiwkabtUJG87FUwOTz24X7GRlzijMDdAi55FLV9oTUb2FUSGKMhnzvuOapMUGf1m Pyh49Aw4XGUAuoePuOnxZNO1RSFqZfuk33rKxUzfq1XZo1VyLhXQzsWWx94RclDx1AM4 lYww== X-Gm-Message-State: AKwxytdOhb8HXvhOQyMogS+7lAlhwSIlBH/fdqzqk4mUItyZYjV29Zdh +fsfS3dJwYtA9hJUI/4j7cQ= X-Google-Smtp-Source: AH8x226v1a7wIsrbPG9SQY6/ytSY8s/jUlimaIVYWDIQWD5wlVrKR8rwqOu6jIvwEJ0Jydf7d1YCdw== X-Received: by 10.223.166.248 with SMTP id t111mr13205777wrc.248.1516980012630; Fri, 26 Jan 2018 07:20:12 -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.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jan 2018 07:20:12 -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 15/16] arm: dts: sun8i: a83t: add support for the thermal sensor in A83T Date: Fri, 26 Jan 2018 16:19:40 +0100 Message-Id: <20180126151941.12183-16-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 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 --- arch/arm/boot/dts/sun8i-a83t.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) 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 = ; + #thermal-sensor-cells = <1>; + #io-channel-cells = <0>; + }; + watchdog@1c20ca0 { compatible = "allwinner,sun6i-a31-wdt"; reg = <0x01c20ca0 0x20>;