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: 10186291 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 21D4F60383 for ; Fri, 26 Jan 2018 15:20:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 111E829BC4 for ; Fri, 26 Jan 2018 15:20:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0153B29C26; Fri, 26 Jan 2018 15:20: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=-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 9342429BC4 for ; Fri, 26 Jan 2018 15:20:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753278AbeAZPUR (ORCPT ); Fri, 26 Jan 2018 10:20:17 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:44667 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753074AbeAZPUO (ORCPT ); Fri, 26 Jan 2018 10:20:14 -0500 Received: by mail-wr0-f196.google.com with SMTP id v31so817655wrc.11; 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=k69iZhgJLJmj/r0f5t3NqF1nb7kj90ad5tNZiW5FnPHWhGTrworT7rVtUCFn4d8M+T MiaSKypsTLKQ/OavP6f7TFjGNW8PFUGRTea0wRIWmJAbBYUGNZBeh60ftLw7kzzxmEVG KSGS+K0t3CrFkEOWUUP/m/m6HoDtXDgDIxKG4pPrUdp0HwzuacQOcpbEDyjP1eBzoUS3 P27DklAo0EHa5ri1OewMKNh7ea3dVZBVf0mLslONXxwYAHziwz/WW5BdM4sDCK3yV+4c WvN0QBoBcj/tgWYqlcx38oARe8mzlvSjKCF2qnygFV8r2WRoheHYTZsoky8vraELPh8x XMtQ== X-Gm-Message-State: AKwxytdP/ZPFBbRpPQaYVsTpK9U3BCWbnWSI2ovjXfWfI/sL0RngV2kz GmsP99gj8615b/YqNaGT0zo= 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 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 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> 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 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>;