Received: by 10.223.176.46 with SMTP id f43csp816398wra; Fri, 26 Jan 2018 07:22:10 -0800 (PST) X-Google-Smtp-Source: AH8x225iBB4lYmF39kLZDodMRRZHYBulrhNvYZvlCoGaWYEmAkjvV6zDL8aPO3J1LF4xg6hjrqp3 X-Received: by 10.99.111.136 with SMTP id k130mr16259993pgc.314.1516980130857; Fri, 26 Jan 2018 07:22:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516980130; cv=none; d=google.com; s=arc-20160816; b=zhtgnXXh758e/foTlL6Q9p0StS/iEiJ3EOqSSUkscYvu7cU+aV67KlXOHIj0REI/74 EpT8xxK/mrS1oOuEH1BJQZI2ZFkU5IzMf7YJ3EFjvZTndTfdlijNy1bAcuEeOWCTscYH EwLhjMz0uFJnxezyOlT6aKxfsDVaPIDB9WVvid+D9cQ4CHsxLLP1r6CM5vdrBW2qOBvv QdgGjY+6yhSmcHkiJUo2pDBtP8eOQxD1vBVpjHj2+VEeJlu0Mr5vfLjGogflJUSbQlEi VIPktEU3suCBur/MUz3c8sFtH2FbCvOWwOMxpjs+XrW66enmIlKKTo1UsZB5T23DUoov oF8Q== 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=g61JScaEOzqyAkzOl5H2jDONPw41Hfux8fDovMvXXps=; b=Q2mzSVYdX50FyZahypM5CjrGWok35rrJFkdLpyBauLp76MPNeP5+cuDMoMtEBJE8pE QtV9yrm+ubawWGuNR3K2F1HSutNwCVy/kJ0tp25EWVsesnIrUwOTaQc/Pbkq7Gv3x7Qn P3j1A3ZeEfMwKF4fltOHpqQt/qMYvEHOJsG6NnQ3hiD0sPSMyXVqUF1oz1tOWtpchvmv z1rMfksfRckwjeswf/GAcP6z9Qs+oMAzm8bsvF7pyAYNVd2dIV0NrKH+lLx61R9RzPIG 504T8TsJV0oDLjvARTuHHFl14lRotB7t8A+QwQNSItzSBgc7tKQ0XuUsgx4gudsS1G0B 5efA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A2U3B2s/; 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 129si3121717pgc.441.2018.01.26.07.21.56; Fri, 26 Jan 2018 07:22:10 -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=A2U3B2s/; 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 S1753506AbeAZPVM (ORCPT + 99 others); Fri, 26 Jan 2018 10:21:12 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:46249 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752894AbeAZPUK (ORCPT ); Fri, 26 Jan 2018 10:20:10 -0500 Received: by mail-wr0-f194.google.com with SMTP id g21so815400wrb.13; Fri, 26 Jan 2018 07:20:09 -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=g61JScaEOzqyAkzOl5H2jDONPw41Hfux8fDovMvXXps=; b=A2U3B2s/PrTqU6nI8FPUtErKFib3Wi0vOe4IlZLNnIzsWRQ1yhPQVe1/RHt5p7C06l du7H3xdK9o+dPECZCeDoxiWQMPWFrLPVf9c3ITTbV7ixhN5ncG0h3mq5FTSR1qTJfyy/ Vfg4A/yHAdGWeI5iXWM2dTzAvnnyno67l/IwxoKuEChQIVRm5dSdZWtC6lSw+29lc/Gr MeFzKPAH24JBMcJvzXw8c+eYUEknRiA/MhG1m+KA90Le/Wt3rqbIPK7HdnsMRhLATImW PWPeURfvndMzVImeZoPsn7UWAf6FfoLSRx7v44Il/ayt5u7LPjSGC1hDAdZ8ItKt7NlE bjSA== 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=g61JScaEOzqyAkzOl5H2jDONPw41Hfux8fDovMvXXps=; b=bL7R0NsbTviBkuCj7+ny+TLHe80QFQfl4gb8XkCZMo7ToDsdGa6egwH4J0NzxTvreW YR1Vx4OGEzNLKKt0iigMZifJlWAu7+0AwNwdZvjKkwc84aVbq1QTaKVjhEW3iwbvITRm fh7/7mj+MBJTahZAP91LFdBJoZkdQixld3Gm/xDAvGjlUiWYdCg5Wv7tw+qF0lCKbx9+ JyP1FSQUGJR1owzigZWijQDhWPW/RYxygzE62U8OhKsxjXltwFOdIypc8iQwcm6XZ0n7 RDiSX/W+Y0sBsZh1P4qcZsyijApcoEQ62yKU1TuHjTHPBuDp1cjPhOpXNBpUoCNBBIEj D6wQ== X-Gm-Message-State: AKwxyteSRaajgNxgFE0joV31pUtUSyxecEgfWWt9eCxBUf+2hIOmu+NO hRKsI/h54C4IiP3H5f8lLAE= X-Received: by 10.223.198.198 with SMTP id c6mr11752793wrh.159.1516980008820; Fri, 26 Jan 2018 07:20:08 -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.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jan 2018 07:20:08 -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 13/16] arm: dts: sun8i: h3: add thermal zone to H3 Date: Fri, 26 Jan 2018 16:19:38 +0100 Message-Id: <20180126151941.12183-14-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 This patch adds the thermal zones to the H3. We have only one sensor and that is placed in the cpu. Signed-off-by: Philipp Rossak --- arch/arm/boot/dts/sun8i-h3.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index fbb007e5798e..3f83f6a27c74 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi @@ -72,6 +72,15 @@ }; }; + thermal-zones { + cpu-thermal { + /* milliseconds */ + polling-delay-passive = <250>; + polling-delay = <1000>; + thermal-sensors = <&ths 0>; + }; + }; + timer { compatible = "arm,armv7-timer"; interrupts = , -- 2.11.0