From patchwork Fri Jan 26 15:19:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10186301 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E51AD60383 for ; Fri, 26 Jan 2018 15:21:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6F2429C0C for ; Fri, 26 Jan 2018 15:21:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CB52929C19; Fri, 26 Jan 2018 15:21:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7117929C0C for ; Fri, 26 Jan 2018 15:21:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751739AbeAZPUw (ORCPT ); Fri, 26 Jan 2018 10:20:52 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:34914 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753087AbeAZPUQ (ORCPT ); Fri, 26 Jan 2018 10:20:16 -0500 Received: by mail-wr0-f195.google.com with SMTP id w50so844966wrc.2; Fri, 26 Jan 2018 07:20:15 -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=DZLovTWq7u5thpr01HljQNaJh4jp/OWcfONlE0dnmjg=; b=u8MeJJKcdnaVD7dVVI3MFQ8KLFWu8QRnH95H0wgLbZWhFUSE+igFlKpnUTOsPkDYjg +i0VH6GPhdXMRdWx88gY/w8bReA8rPaso6fdWEhZxdeHGuzxPLqO8clkhsIis68yEUly nXZEIJIFylAxDGaA/aiLHliPKEVW54LNWT39XZ4swbLahI5uk5Nb7iBdGvV9/vH032sM mW2sj2xUu/98pvvdkDA2POOrXRlflUYi+/czDz+IMWrEZpzLi7bBIduMEQxX8NSrwZ1l sgZUwNEkE1bftxrp7TqLZjMjywI+QFcoF/9ZGRU/4hB+kIjQIIyw5KTt5DPPn/omXQuR aQ3A== 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=DZLovTWq7u5thpr01HljQNaJh4jp/OWcfONlE0dnmjg=; b=TBylT6DleIU8ssgeY6He9oG0IayvzNAnISuhCfsKat6U9TmgZFP+3wT8Fh0m77yy++ g0LAcWReLxx0Rtl4xs9MlHqDatdEmnsihuckZQsGJsSZurxpNIMGGkZiQENOf5Tk/eDu Vwl5fkz9jsKNuZQ4ClxqgE/VygpbGaAi+Mdd5mrmpf0iu9tlp0qtaFQh1zleyXXNMKpA ssbvLZ8AupHNfeb+S3Muvfb3xy4fx3VDp1EGzGSEYOnZ9XZRPOB8ybbNoeyPhpTizB9R iAx5hWLIRvLgGGPt0ePDf8JK3g1DCZJAtwFazKcaY5jP89K85urNLRUBlUkWMLaJseAi Y/dg== X-Gm-Message-State: AKwxytcrUE7NwJ6UPCy5Ifh17qJtDUjOaykj8jhDq89WfwetBiuX0YD7 qScFkcQbpjZOZBtkSSsZ1cw= X-Google-Smtp-Source: AH8x224kz7yF1ZDeIp1Y+tA1b1xgAEyidJGASWfhogRnTwukBt7fYvyXQt0tl4jb81x3o9OKkvc+Og== X-Received: by 10.223.186.194 with SMTP id w2mr11484722wrg.154.1516980014360; Fri, 26 Jan 2018 07:20:14 -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.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jan 2018 07:20:13 -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 16/16] arm: dts: sun8i: a83t: add thermal zone to A83T Date: Fri, 26 Jan 2018 16:19:41 +0100 Message-Id: <20180126151941.12183-17-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-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the thermal zones to the A83T. Sensor 0 is located in the cpu cluster 0. Sensor 1 is located in cluster 1 and Sensor 3 is located in the gpu. Signed-off-by: Philipp Rossak --- arch/arm/boot/dts/sun8i-a83t.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index 9e53ff5ac4ed..4259a8726031 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -747,4 +747,24 @@ #size-cells = <0>; }; }; + + thermal-zones { + cpu0_thermal: cpu0-thermal { + polling-delay-passive = <1000>; + polling-delay = <5000>; + thermal-sensors = <&ths 0>; + }; + + cpu1_thermal: cpu1-thermal { + polling-delay-passive = <1000>; + polling-delay = <5000>; + thermal-sensors = <&ths 1>; + }; + + gpu_thermal: gpu-thermal { + polling-delay-passive = <1000>; + polling-delay = <5000>; + thermal-sensors = <&ths 2>; + }; + }; };