Message ID | 20180128232919.12639-17-embed3d@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 A57BF60383 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 28 Jan 2018 23:34:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E162286D1 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 28 Jan 2018 23:34:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 91B3E286D7; Sun, 28 Jan 2018 23:34:58 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 25FB5286D1 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 28 Jan 2018 23:34:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=TxZNSBOn7X5N5dY0wrLM0lqWygjuwLW63T+FiIUAe2k=; b=EQuw3WoEhlnuedPXFGoulJJVhC dtpX8Aj/WNYlAQz9tAAo+OOW74dsXVAvzr3yO5CiarU5QRqezoV4a3EuDR7HTUHz4APTaHjiuAeVt KrKok9MhRvts/AvQ0EWH1h7DP3BtqxIdpMCDE+hew5Acb1t2/FxdWpIv45ikd+CfutNnSLI0eyJ5K tkEkqODhhvF069e+RjEm4JmGW8ZiHb1TQmQDYSK+iydxh8UkHcD4Zy5E4JxcpxI9KyXv8FjpZUTxu 7kUG9XaovEaQMnunwP8U7ydwkv1F7vA4wdQx9v6x+DGj48OH7pLDmpCaiviwwtvHzshSG+g/fEXKM TuJMltQQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1efwTO-000236-TA; Sun, 28 Jan 2018 23:34:54 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1efwOh-0004Y7-J8 for linux-arm-kernel@lists.infradead.org; Sun, 28 Jan 2018 23:30:11 +0000 Received: by mail-wm0-x244.google.com with SMTP id b21so30444618wme.4 for <linux-arm-kernel@lists.infradead.org>; Sun, 28 Jan 2018 15:29:53 -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=dupfT1XH9QE/0BZ3e/BiNR9fKO0W1b6n2MtnAs0eWj8kvEOC4q5waHazKhYfo0rhIy 323tHPu4Lym3j6i0I6AzmOTi0sn/nhjShkhBMghABd3uzIQb60iCtGP2yQeqIqFTb2Pa NMyLWJVcAXiscyygKiOapTQN95QqlmUf6xUkGTWBoQIG56HEIQN2op14EoARQYzd4vk4 DBzWtqQTq2jnTLR3X5d7feXBjs0bOtl6/K9FvwAOvZzvM1RDvtO7rCMIg2kG3WRH4s7X l6t6hfZtBz2oyVGoE14ujsNcEZtp12Rh4Slwy5KFT/VPMZAAOjcFWFe/AB9J9piA+uYc OcPQ== X-Gm-Message-State: AKwxytfgKNyyjlD0HdrtYU0S57UuA2Lbd87WTh1BBA+ONogU9nbHU44m T27Sw7tGMkVVm7gGNt2126g= 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 <embed3d@gmail.com> 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 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> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
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>; + }; + }; };
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 <embed3d@gmail.com> --- arch/arm/boot/dts/sun8i-a83t.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)