Received: by 10.223.176.5 with SMTP id f5csp2364201wra; Sun, 28 Jan 2018 18:57:08 -0800 (PST) X-Google-Smtp-Source: AH8x226dR1aBcpp/KEaQ0Xi2lp4EflTkDhJdKzzvbjzZ8KMoAVd7NtX/PLf5ULN0+pOw2tcyG4Tv X-Received: by 2002:a17:902:b608:: with SMTP id b8-v6mr550202pls.404.1517194628758; Sun, 28 Jan 2018 18:57:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517194628; cv=none; d=google.com; s=arc-20160816; b=t71nV2FBKAE5YUPo8S38IlLtVvJSbJGQguSQYbceJ0rQTHw8ABwFuAjCQFxiVPGy9E KjmxS/RfhMyN4Vo5+qZRZoKnxTFp87duytiKGH+u85SYgHnbL7KvgVcbnjc7ye5IypCs PXKxoMPFkqT6+68dORHubkCa+OOzE6300teyqG8ElB+gs2Q/dG6yj+2MxmTchNJexOm6 NvxFANwH8/EDX+DfLTNgdi58dRg+PfwxqFu5ra+eSUalB+JaB34W5ZC2GXvecGzzqMLo ll+VSpVWpcKmkWFSCR3JXgbFeBELsl+C7CO2iQPkTvKKH7yksx6YrVljnxdW4xOd3waM RlPA== 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=jCnRSucoW5JwWSy61BDeLY9EOURBGgh5wNwJnxTJQ0uGp3WBTT4UuLEF7Nz9Y7lX9s AUhN+xDlO+c6HbWJ/Dh1NX/16uNa54BNhJqoMLdS5bCIXY12ICGnVK9LwRnV0hJl81zP 0lQxHqK7zLcUQandEztzTbsNo5osQlSsheWJgjGXf+vHFuvLyO1DFRT/vqhqcU9eC6vg h1RBiHAuZHQj39t1lJsB5MVbctA1YtSG7hp1vhXtS+8Un7eCW9rl0oyshTowcCKnbKVO Ix5ujgwKTuYH28RJ1XqRLD6raPoT4T4ucl1q1jMT9glX1YoyUXxDzs8js1CxXYN8qppK +4eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Pgki12MR; 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 d17si1743623pgo.558.2018.01.28.18.56.54; Sun, 28 Jan 2018 18:57:08 -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=Pgki12MR; 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 S932439AbeA1X35 (ORCPT + 99 others); Sun, 28 Jan 2018 18:29:57 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:43143 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754225AbeA1X3w (ORCPT ); Sun, 28 Jan 2018 18:29:52 -0500 Received: by mail-wr0-f194.google.com with SMTP id t16so5282515wrc.10; 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=RDFg93RxwzIA2ALQ8GAoAQxVuVrEVfVFH01aAyl+tzMj9QVSuHJE542gmrj2qDsm7h VNX/fcvtPlQnIIixhOs3R8IBQKj2jEUfneDmT2SiBBU6K0LnORa/l0SfGXr4JmBp6r0I z//hkr4FYMTUsX59GK0UCtWLqyGru8tBrNKPT/dqWCFsIx4yLsqZPpHFW6cYzYGHWgzw Nr/f1C6SWtun+CG/K1dgzdlRjlgBJIhIGN+sxfD5Qc+TmmDMsWoglFtnZFWwkaR+P/v6 QSjSPu7ViPjRq7Om9eJZeCAZHre0aPNjV9Q5/KOULbZUfsYDcRDdLXV3Tz0KlSaCfDu8 ropw== X-Gm-Message-State: AKwxytcdCzhlamRhjSf92G5eFT6obYQeTFVerixZ5EQn7Ov7R67xrPvh XGRKHzWtlqFo9CfEmE9fS+c= 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 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 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> 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