Received: by 10.223.176.46 with SMTP id f43csp815954wra; Fri, 26 Jan 2018 07:21:50 -0800 (PST) X-Google-Smtp-Source: AH8x224hX68wmjsTpNbNvDaup+uYMCUFm4xZtJW90+X8VJi9rugi35zEf5H9pcteti8tCRbbSYwI X-Received: by 2002:a17:902:bcc2:: with SMTP id o2-v6mr10461192pls.89.1516980110532; Fri, 26 Jan 2018 07:21:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516980110; cv=none; d=google.com; s=arc-20160816; b=JoRJWWqfiPb5iKb3nVwFmvV0ijtS4GIWLlDI8/AnYRWAgKPn8rH0WkQJ6ho49vRbvI /tx1hr+ga7uN3hYjcQOL4/luiF68U59jggpRdysoItkamoa5XfTEsi9f9UbcCFiiVKT1 pOmGyLlSfEm2IFt8EMhys3JSRgwiJtpaqlKR1r00o6dgWLEr2ZxQXZo0zMkYlDgmmM4M qXv7VVvCTHPrnnT1bqBeraWHUwLQEGFw35yynRJVJB5nHRQOkyuAJtaqxHldsThujxb0 gGDM88l7K3nM5TqBs6s46uNoQcUe1jDZ1UdiWSPACZhWZd10wH5/Vj2HiIYf1g68GYcB V9rg== 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=DZLovTWq7u5thpr01HljQNaJh4jp/OWcfONlE0dnmjg=; b=qiqshJPDhmzabm6TgJj9be4K+/oZK26g1ecFRnguHayVYJZLAC80N+ztdyspZMGbvE 4Y2znaUNWj9VMS6+6/oKMQ63vPjLDmlihGRh20r/hLS052qE6r95xNeCwXORglptmDLX ANA1tO7wtDO3Q2lxGMPHBlAu9ZvbapQY/l0MwzTBAnPGI+Um9KDh3UcHD9y81RAkgSze C0GFOpqsA3ZdVnT6ggFp/Gn1uV2b+Gdv5PtGX4qduIujZPKKBaV9UBGkzyZhoQ/slz0r GY+UfDkZocwdpw5ecZBdw2j/ig651U1ETCyjq16rrWcvmCiYJIfsPNnU8oGKfl5zytqh Qz2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=u8MeJJKc; 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 d9si3087841pgp.285.2018.01.26.07.21.36; Fri, 26 Jan 2018 07:21:50 -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=u8MeJJKc; 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 S1753452AbeAZPUx (ORCPT + 99 others); Fri, 26 Jan 2018 10:20:53 -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-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-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 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>; + }; + }; }; -- 2.11.0