Received: by 10.223.176.5 with SMTP id f5csp2364440wra; Sun, 28 Jan 2018 18:57:35 -0800 (PST) X-Google-Smtp-Source: AH8x225hLDGDwQj3xphH15NG64SQouPOzU1lderZSwS3/dKKfBT5mdzDr/bG3lybOj+dif7zzyU0 X-Received: by 2002:a17:902:123:: with SMTP id 32-v6mr20569336plb.278.1517194655108; Sun, 28 Jan 2018 18:57:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517194655; cv=none; d=google.com; s=arc-20160816; b=XCDcDpTTyUK1KjybzcjbixrJjzBEUuTMEX3jt+GV1R/8MVMChODqZ3r13n+6dk2w3q sPvpKz/DM1k3lgNIZHn9ELPSDpiLnvEubNwOjb8swB49tzGqd094xFZIFf53/CSi5nci C+E15+fw6qmYO3MYD8Cs1Wpuw9JFFGS91ytTfuOprd3/ZHqmUN+Heoh9LLCYdqlfJbL/ ajaxaUS8AF0siULHG9ur05yIsZ5hNMd/I33RPewoQDm9kroK61mJUh/sO9tV8r5SP8zV n4Z4NKQSxEwuQon5spTObtFsXoKkpKpybWZeGi4FowEXiuTAtBdunLhc2wmmZD0ZjZvp d9ag== 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=UB4S6ocRGW5yrtAZz+hGyIiRBs1R7j7dKolyzUhs+pc=; b=BA+uhsrcPW0A6EvjuyXlRMZwE1Orkjse5um475sMQpqniuTJ5+XN36L93GRuVF1Qcw zeEKICNpWrYL7AxEsX668M2WWxyKxl5zvyiiWU2UhbYor0TABtHX4qUArT3UU5n826dD QE6s4EihPCdgWs9jWb/0QwkB7YTKkJEPNlTsUaz1GMI8p6h0sxSpS/7f9V+qRQl2pt9w RerOrMRdi0gcZ25U5/tzpIN+cgjGdXWfrvG0YYC6lImt2ZksDy+auBLjbhUczg7jruCK jS4QXpIomYw6vzLRgWUeSkb9n5I4oJUm6UIT7JWW0UrO5iQv5Tq7P/bVFSrpZE2YUyOG k46w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Py6HEqzF; 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 p8si90193pgf.480.2018.01.28.18.57.21; Sun, 28 Jan 2018 18:57:35 -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=Py6HEqzF; 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 S1754343AbeA1Xa0 (ORCPT + 99 others); Sun, 28 Jan 2018 18:30:26 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36260 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753462AbeA1X3x (ORCPT ); Sun, 28 Jan 2018 18:29:53 -0500 Received: by mail-wm0-f68.google.com with SMTP id f3so30455091wmc.1; Sun, 28 Jan 2018 15:29:52 -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=UB4S6ocRGW5yrtAZz+hGyIiRBs1R7j7dKolyzUhs+pc=; b=Py6HEqzFtNsvwQQJ4rxq0/O9vNDMEOUOuNmLPKzlosl9XaH7wfiJCKRe48SZ8wuItQ AUJhGJPAHahMkKqv5VQI1bECRAhPXGPlsNV1LenL49zeBUUWj6V6nU79fj91gFF9AOpr 6zE9K6bTpyqGPL2fWo6VOV1jFAVGK3ouaThVyt2omOuVRsyH4VWtuy79AbPQ7tEFKWU1 Bl6QtxEtSE9TKN+kOmeIzRBOOEO/5eX09w/cUkRcynKp99AKJn2kzyOSPHsp/BADrNQO 0yB+57JGtOh6GvFyRk0jr/emEYNz+lUU2b8ft9lwfWmomC6OPlGOX79IyZMDJENeoW7x sGVg== 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=UB4S6ocRGW5yrtAZz+hGyIiRBs1R7j7dKolyzUhs+pc=; b=aU+MspKsVpvcUA6EYX2FGP+TLK1xaM8+t6xtTyUJN1TkvOjnkjs4A5QRufMAsoGBDg xiHrbplpv+5ztjYcmHrc0wEFjmGe3zxPVt0RlzQzdIA2sf+OCbGD8IoA1Ls8ondOtNk/ Xw6mrjLF7ygOyrI/X9eaZZZnvO3w93z1IMeTRoaNa6a4IwJi3ofnzkMMsVCzWnu6PT7j PJR5dtwBK7k1pHJJnsWlv5NTmoIw5ivaoV2mUXsFwrp+0JelnUxOezTjagin1WH9dh3o xA3jPCrm+VEu8S56UWkbK77734C7Sf/6IxaWT5mZ60j13djSA7mhInzwzvBDD/40T+tg Ifxw== X-Gm-Message-State: AKwxytepQJNMiz+riiBHq3Nc3NgDEB2f5LnOYKRPgHnEAqLPOLh7+oGF 2lvMcvwEV5WBGZh8jnKXel8= X-Received: by 10.28.208.142 with SMTP id h136mr17632419wmg.133.1517182192156; Sun, 28 Jan 2018 15:29:52 -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.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 15:29:51 -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 16/16] arm: dts: sun8i: a83t: add thermal zone to A83T Date: Mon, 29 Jan 2018 00:29:19 +0100 Message-Id: <20180128232919.12639-17-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 A83T. Sensor 0 is located besides the cpu cluster 0. Sensor 1 is located besides cluster 1 and sensor 2 is located besides 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