Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp81294imm; Thu, 30 Aug 2018 08:47:59 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYYTX0t1ukTOCxBiFEQRnkCQUkN3zpmMNslyQLaff9Q13Mvg1nC6J9h8MHRRM+dMC0dCFmo X-Received: by 2002:a17:902:468:: with SMTP id 95-v6mr1753424ple.122.1535644079042; Thu, 30 Aug 2018 08:47:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535644079; cv=none; d=google.com; s=arc-20160816; b=D7gvZDxD/cHC7z1nrotRSdQFgnU9UF1RH4h737Y7ibCaYjtWqCaBezM1iOWSHJeZQZ Fmaup6kMtSZRwyXd7s3FjOLOGo5H53Jfdq/N+KbXg+rmyL1fJr9Knfgy1gquO9K5XDwG o1mHvYbK4NijEHIrx54gD/8maa3ah3Teg7OfhVgR6t1Ny5Pk6TuOvNnDB0Pb+iGKV5a2 JO4FPaaxNRIdRJm5t4lcCFRYDFCGI3LXVqZTM5a91by/Z7wVUD+GrKvmIXOPV8AF+dG7 /nel/afJVyLO0hdBN0d1r3ycPs4IBjpjbTqlra5u0/hBiDOK3GBrB8qffkDxsUjbRyHh tUww== 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=y/Fj6KILOvy4Hub0AlnmhTfrUDXUWebrPBRvX31vXgc=; b=LRkj6g9Zx8vBdYMLzFqkZWRijI+0RnhBHWJrlQEi0GaEQNFE9nY6hpfoZbX29Sr0Yk RA77gX6sc+4POjknHOhUPyrX0UraM+KjQv83N4D4RDd/TtTsRQ/2z3j48IGky3g5Qhlh lHJKUuACAD9/SOxU2vzEx5xIO4edFt7z9lrX9fq1mPlcDgH8tDghZ7PKKZfit88TSHMY ghPwpekl/bhEVxVIdmmnfJtAGJ1zDypttqEPQOYlEggHruTKpCFws2KAcffyCf4y/16E h1qwEGwJ/TyNCmebPB2S+Ev/BeLVExg0gJ/QG/8xJBVjayG4jptE33x9NN594jQxHTqn ySjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TIsgTYwp; 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=QUARANTINE 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 f67-v6si6919387pfa.73.2018.08.30.08.47.44; Thu, 30 Aug 2018 08:47:59 -0700 (PDT) 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=TIsgTYwp; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728032AbeH3Tsh (ORCPT + 99 others); Thu, 30 Aug 2018 15:48:37 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:34144 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727874AbeH3Tsh (ORCPT ); Thu, 30 Aug 2018 15:48:37 -0400 Received: by mail-wr1-f66.google.com with SMTP id g33-v6so8533049wrd.1; Thu, 30 Aug 2018 08:45:50 -0700 (PDT) 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=y/Fj6KILOvy4Hub0AlnmhTfrUDXUWebrPBRvX31vXgc=; b=TIsgTYwpO0JSXsFCAR1gBgU4yOWMOe7YlHBfRlrGLorlzSjKvfBEMgg5cZt11Oud2j i2DU+7SYH/UXgrqjScKBzQwBtQrpdWU9JP2Er/9rOkXzlqkKrNJIVsoHQ7opKHMlso6/ dhslqj6NMOMt8pkEIkvJzkiP0tE0ni3IK/VhmYJrpx7OMb+BjvCTrUzpRn4Itwl5bbxg mlDVB9w1rF4pLCa85smzJZMdbdzlbGMzhvN32mie0bhHoH7vnoqFqxRyfD3pwr3aai2S MITLssiZJ2Od90VcPFzI4BijdPDVhDd1S9F0cnRKThVTQunMt6pd+QGNwfyOX/WZyqhz HKWA== 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=y/Fj6KILOvy4Hub0AlnmhTfrUDXUWebrPBRvX31vXgc=; b=dHtcqfw/Y1KHhmqUkfj8NHb+7TgGKtmc5PvJj2XYYWt1oZLbWQls6E+VPxxjYUcP2N DXCNIMvyQjkZfMGc/hcqAMbBgrf/jrwBtpmlylNPy6NmJmggMOlapgV0xFUYun0itGvl QyNr+7dY6gGoQu8ns/bIvw0H3bmaq92ihSC2P7NNaGpuCwhzKJlPdYWUm0WtZ6bvwL7H uBl5LSRAkuAthLddI9g/or7W4fan0zpKmNvQS21VMGawpPJY1CuztA+bHrcSYqJKILDi +tC5hyAweJNcV4glT4oL8INDR1YnNsIPBlcCuNpSXv5HRuJybQk0IyaEyvy9wQFiH0X0 bRGg== X-Gm-Message-State: APzg51Bo2UBKV2+kh3cClF7TrO32+iw4Mr5v3qIEVRZJfVPpQ1OcAr4Z 2mJ0snUKnzSDlT8xtoDIAQI= X-Received: by 2002:adf:ffc7:: with SMTP id x7-v6mr3502999wrs.137.1535643950090; Thu, 30 Aug 2018 08:45:50 -0700 (PDT) Received: from debian-hp.wlan.uni-ulm.de (eduroam170-020.wlan.uni-ulm.de. [134.60.170.20]) by smtp.gmail.com with ESMTPSA id j20-v6sm1362759wmh.9.2018.08.30.08.45.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Aug 2018 08:45:49 -0700 (PDT) From: Philipp Rossak To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, linux@armlinux.org.uk, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, eugen.hristev@microchip.com, rdunlap@infradead.org, vilhelm.gray@gmail.com, clabbe.montjoie@gmail.com, quentin.schulz@bootlin.com, geert+renesas@glider.be, lukas@wunner.de, icenowy@aosc.io, arnd@arndb.de, broonie@kernel.org, arnaud.pouliquen@st.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 v3 28/30] ARM: dts: sun8i: a83t: add support for the thermal sensor in A83T Date: Thu, 30 Aug 2018 17:45:16 +0200 Message-Id: <20180830154518.29507-29-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180830154518.29507-1-embed3d@gmail.com> References: <20180830154518.29507-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 2be23d600957..f2f745930b08 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -757,6 +757,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