From patchwork Thu Jan 14 11:35:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 12019319 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 18DC0C433E6 for ; Thu, 14 Jan 2021 11:38:18 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C4A0523A34 for ; Thu, 14 Jan 2021 11:38:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C4A0523A34 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=Z1UXn0WBG+/Vm9UHPSWGqAFBrW0gBmZUPx+vcIcJjsE=; b=WOl2IiGgup+P2QHRcWQdNmrRJ Hx9Z4kldL7kpBY3Kb4uvIN+jzCGd7QaGv8brG92XmYdKk50umtl867l1CuSvIL5U2ezWArFY3OfzK VcTe0ThYx3/e6U8zhW9ggbnN+3L5snCqMgJ9oVCJlq4TrazNjktGV2InT6FIAn6ODc44/RSJdnO75 HgHkyERWz4+6UAxpVscQXx0Pkrb3dF3RLYsoGx8F5vpTyos0eVTsd4Sjzatow1xWQ+h3JI+VjRul/ O2x3d9yNlNRneLQAZhW6bSAviWPPStL0xPUBZDe67G24TVC6Qq2BeCijtaHsIJrm/Kcn97aLO2vh8 SW3XHgPYQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l00vz-0000AC-RF; Thu, 14 Jan 2021 11:36:59 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l00uy-0008H9-QA for linux-arm-kernel@lists.infradead.org; Thu, 14 Jan 2021 11:36:00 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id B111E160E; Thu, 14 Jan 2021 06:35:55 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Thu, 14 Jan 2021 06:35:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=mtbAav2V79CUM 3CPoSXiQuxaHU5tsNL2rVJPqSWlyhI=; b=H4OI3fazFD4mt8GGSBpAlKF7zNSQL Us5mqsNfjfD+avvkQd5kAYt9qiCZGN5dL4jreDtH/XrEirTjoAwL9CdYI1KXTEn9 yferr4Wj8eXWAdU45YxyobL6j+Qo9ZDlfulI5CrewN7nbGFhYf49YzgowDBvw/YN KKR4jg/k66E9a7WLzY1wdi0GSwSkBC0e9e6jNh/QvpNC/SqiPiGMA8Bm8P8TnaW6 i99KkHRIlzLfot44/q935UZ7x6z3qvGWkkhUbcxRHe/4VYec9QRH36xKn5eCqJV6 N+oRe6r4wFcyajn5dMqVcmhgT8xrTp9jlKdB44G/tiGCNjT/e5GtUFTAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=mtbAav2V79CUM3CPoSXiQuxaHU5tsNL2rVJPqSWlyhI=; b=hnZA00/d lAmzalk011wKyR82KXmUxQyf+cDYsnh8xSP9gu0dKCiXsjoMAsAow/oayH/BUO+J TjbBPuIclZOF3Fdz23n+N+4QNV/rQCEIlbfCcAKZrv+vsTWU88J/Z0L4sguezT+N yyle8qksCgVu6tqz7oOKJ01iW+lbp7jOePvFq9Gi4WlmhGuakQ2KgU7NHFgG4QLi cDXtSPLXTIleguESS2t1lPDy34h9gFc09d52eK1xGWtomocfoTTEB5VIar27pxpb imuiltowc5PMe4MpxlVLvdKmsHE4oL/qT8Ozq/4ZYFD1LBXRguZ8PoLyUGnyfA9k u7GkW5MSENZ9bw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrtddtgddtgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpedvkeelveefffekjefhffeuleetleefudeifeehuddugffghffhffehveevheeh vdenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 5C3EE1080057; Thu, 14 Jan 2021 06:35:54 -0500 (EST) From: Maxime Ripard To: Rob Herring , Frank Rowand , devicetree@vger.kernel.org Subject: [PATCH 09/19] ARM: dts: sunxi: Remove thermal zones without trip points Date: Thu, 14 Jan 2021 12:35:28 +0100 Message-Id: <20210114113538.1233933-9-maxime@cerno.tech> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210114113538.1233933-1-maxime@cerno.tech> References: <20210114113538.1233933-1-maxime@cerno.tech> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210114_063556_978982_E670F3CC X-CRM114-Status: UNSURE ( 9.07 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Chen-Yu Tsai , Maxime Ripard , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The thermal zone binding requires a trips node with a list of trip points, however some thermal zones (usually the GPU ones) in our DTSI don't provide it. Remove them until we have something to fill there. Signed-off-by: Maxime Ripard Acked-by: Jernej Skrabec --- arch/arm/boot/dts/sun8i-a83t.dtsi | 6 ------ arch/arm/boot/dts/sun8i-r40.dtsi | 16 --------------- .../arm64/boot/dts/allwinner/sun50i-a100.dtsi | 20 ------------------- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 14 ------------- arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 6 ------ arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 6 ------ 6 files changed, 68 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index c010b27fdb6a..d42b6a0d1b53 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -1264,11 +1264,5 @@ cpu-hot-limit { }; }; }; - - gpu_thermal: gpu-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&ths 2>; - }; }; }; diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi index d5ad3b9efd12..921cf8088413 100644 --- a/arch/arm/boot/dts/sun8i-r40.dtsi +++ b/arch/arm/boot/dts/sun8i-r40.dtsi @@ -111,22 +111,6 @@ de: display-engine { status = "disabled"; }; - thermal-zones { - cpu_thermal: cpu0-thermal { - /* milliseconds */ - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&ths 0>; - }; - - gpu_thermal: gpu-thermal { - /* milliseconds */ - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&ths 1>; - }; - }; - soc { compatible = "simple-bus"; #address-cells = <1>; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi index cc321c04f121..93fe7eee10cb 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi @@ -341,24 +341,4 @@ r_i2c1: i2c@7081800 { #size-cells = <0>; }; }; - - thermal-zones { - cpu-thermal-zone { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&ths 0>; - }; - - ddr-thermal-zone { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&ths 2>; - }; - - gpu-thermal-zone { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&ths 1>; - }; - }; }; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 51cc30e84e26..9d3b280bd151 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -215,20 +215,6 @@ cpu_crit: cpu_crit { }; }; }; - - gpu0_thermal: gpu0-thermal { - /* milliseconds */ - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&ths 1>; - }; - - gpu1_thermal: gpu1-thermal { - /* milliseconds */ - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&ths 2>; - }; }; soc { diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi index 578a63dedf46..f364918f8647 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi @@ -216,12 +216,6 @@ cpu-hot-limit { }; }; }; - - gpu_thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&ths 1>; - }; }; }; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index 8a62a9fbe347..f35bd3b5b2a6 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -1022,11 +1022,5 @@ map0 { }; }; }; - - gpu-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&ths 1>; - }; }; };