From patchwork Sun Jan 28 23:29:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10188541 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 E7EB66056A for ; Sun, 28 Jan 2018 23:30:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E2EB8286CD for ; Sun, 28 Jan 2018 23:30:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7B3E286D1; Sun, 28 Jan 2018 23:30:40 +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 8B852286CD for ; Sun, 28 Jan 2018 23:30:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754302AbeA1Xa0 (ORCPT ); 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-Google-Smtp-Source: AH8x226eMF8BQffdp7pBQ708nloH4w8U3SkRelArU+TzFyD+Z3hYhgVOPJ9c1hpuFI/eaQx+ZVJ8Gw== 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-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 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>; + }; + }; };