Received: by 10.223.176.5 with SMTP id f5csp2364982wra; Sun, 28 Jan 2018 18:58:29 -0800 (PST) X-Google-Smtp-Source: AH8x227ucvOUdcTDpZKpFi1RtzL1jj4Pgifokt5G/vjb2eU57vvG8dPc/reP23oH8z9XgpTnZNeK X-Received: by 10.98.12.23 with SMTP id u23mr25521268pfi.81.1517194709119; Sun, 28 Jan 2018 18:58:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517194709; cv=none; d=google.com; s=arc-20160816; b=KsQUuxGprSSEvLMU5Wq84hHIjSAz0z+8Er92jF9e4u7tu4Uhqld00/fCslC/m+yDwz O3LB5pWTz9DhxUEZlBi5MJzaIvYW1nWJ8ETisbRZth+52L4vT8271ltBEpmZTAn2FKNa 9w8e0Lp+PSw1SZcBG90rwUEjj7qUGGJyx7PZzygS1gZ7Zt4/NgahLpP23TQPQODLZRT/ Coor/ptlgLYpQdLVhsrfvAgqMewkg3zTEGZzduih0cTh4HwHu5eGdiBLyqeEeB0rX2mq aMLStIT8m3yJ5PGg0v2us5l6WD+7x/3YiawE6qC67vNTzY1MnLvQ37Su/Mz8BQqKkgvA CYiQ== 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=QWBRHgq8E1uzHQzrTJGSX8FtGNwfQK0QGE8bgdqAFnQihPeMhEfHH/d8FJo3dmJUQu M9/xHIkwc1HS+erqGkPyzWLHOBhSqK5+IVsRJAgZrtP9eD1XdFPzNJ6+/XReT1Fs/Vvt /NIssOlCMLnotMNAS299Ng/1mvDEEl5DPhbCdA1hs6dV4xYfl89VqyHB9I8zMUQYARtU RLPbsAHbNuLJfl0X/lBQZtN15bm4uwOY+f8rH7K4CquDULEpjKAOlSz7/8mu3WBlDL+m pxKDXw5vmoTR2hvAVSaS7h6SlWSVjBXiLjhYUsr6AQhDiExU+IDFgW+9v2o7+mBrEOFh i/hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ErmVdAMU; 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 a185si6573707pgc.69.2018.01.28.18.58.14; Sun, 28 Jan 2018 18:58:29 -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=ErmVdAMU; 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 S1754399AbeA1XbK (ORCPT + 99 others); Sun, 28 Jan 2018 18:31:10 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:46758 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753698AbeA1X3s (ORCPT ); Sun, 28 Jan 2018 18:29:48 -0500 Received: by mail-wr0-f196.google.com with SMTP id g21so5272678wrb.13; Sun, 28 Jan 2018 15:29:47 -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=ErmVdAMUrzJlGY9GkoRZa7HaY57Odu80o20htr8SSv82BQmj11B0bpvcW5lBndaQYz 72K1+i8JYV4dYz3H/fmtqi9e/TMs1dt2/iJ3oMDXWisRDPK4Ce/Weec6dyVDWxvGM2A+ XazIld2xRhAeEvGRegGdJr7Yt0mfLSurmUf/iU7y9tfwef4CDApvw5ABaD/yrEloePZf p6sIeXVWVZgoLg17C0931z+T+p0LsxC7YX5vDneD3opORbdcu6muPIiOB1wBnqySLppY DklPdGZcw1geArWRFCTwuArxZ34hDzPoiDp6sgpJAKVCXRdAI6oDleysExp8LSAq+W7+ Ol7g== 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=kCCINvQBHJbxlyjs3OR+jPidChNY/cEO2idUzI3lzCPFpon/aIb98n+ULU/8U4p07u kui5sLMVjZa8wp6/HWPsfO5EGxHrW3SLWBWur5D6DdnpDAYjAqCSUp103/N1DP/iF65f iDhfB0twIsjGLIwRUJwCSszT4lZGMeOoxj9SNo/LKUDdIYJxIDB442RCMlTEwl9LP+i2 YBTTI91jWUeIABgleg89LDghLxd6qhwzqC6wftkkIbIkROd0osfm9CT31QUqdikOUgAB RhjjGoMxMUJ4Ber0zF99dFnzWZ9lNjBUeszFrtT4x0QYycAl7t6qs+lvmpWeQjTviyYo F3GA== X-Gm-Message-State: AKwxytdImcXNCrdW/0Y/uYK6BOnk9amxuy7vIVufHktRgxioP8uLOTIC ufKjfGJt3zZ0+ZJfYn2Az3w= X-Received: by 10.223.158.194 with SMTP id b2mr19001620wrf.265.1517182186708; Sun, 28 Jan 2018 15:29:46 -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.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 15:29:46 -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 13/16] arm: dts: sun8i: h3: add thermal zone to H3 Date: Mon, 29 Jan 2018 00:29:16 +0100 Message-Id: <20180128232919.12639-14-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 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