Received: by 10.223.176.46 with SMTP id f43csp815077wra; Fri, 26 Jan 2018 07:21:01 -0800 (PST) X-Google-Smtp-Source: AH8x22599h7VXTbDiDWUgasfCAqSzM9mDEqjoHMJghm9m1LwMNJ+jVpd2qboTPXaNWGHJSsn+pdh X-Received: by 10.99.64.196 with SMTP id n187mr9171895pga.147.1516980061671; Fri, 26 Jan 2018 07:21:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516980061; cv=none; d=google.com; s=arc-20160816; b=rXhjIY8H52MNShwS7BUIix0ni010fR1/NKXxDW+K0mG3P/3BXiA0muORTDYQLNzkmk VIRmw/tRErvPJhId86psWcbYCtGezKRhXwkEus1vV25eJWdXhYpjXJbOcOxkQudxoRPO LObSlonfedJdQ0A2Qb36FTPP84Hkciik0550kF7/m4R6zXLBP2AQrKhkFHBkekxN9n/f 8I4ihUc0o20tY05GmbRjuvQvTbGs6MNb0ZSLcjTl9013suIW5Sv/oKd3IrxEu1v0bc+0 BS1WuZ95/7JMEskpfx1MJsPK4M9V3zy9+LYvb7L/6fl79RbDrwggEdtMmeN2cozVGZiY UdgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Js5ORZzs/2gZpQRK/VHnUfGLdM5eFftvJp4OQavSX50=; b=jm3WLn6GzQObfdyfeLZmtLldL27QlggV+thCZ+/oEpkDzpD/RSASYjNs53lbrgsPlZ 8vnwiFWx9qXuuB8WIk8PxGjQHwYTV14GooyywaWBQIs9a2HXmHoLiYCApTychyd/BVWB cDn46kXZuPsosuq+ld+XbVhw90dhsT7HpdskXx29QKTVfEx2OG0w3faU+EONxZ50+h/0 BimSMrksFXGIIeQSPbRyjPGadqBYkS3asI7vP3CKPAhjibdSwO2VZdlMfCV7ENZhr450 tOABK3FOY/HzUhl7fiE2F/N0Lm6gg3aia76EQ/ug4foCwRQ1zecFlQTOWDBxRW8xtjLO sdAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=T2geuuIc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v207si3121756pgb.47.2018.01.26.07.20.47; Fri, 26 Jan 2018 07:21:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=T2geuuIc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753358AbeAZPUU (ORCPT + 99 others); Fri, 26 Jan 2018 10:20:20 -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-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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; -- 2.11.0