From patchwork Fri Feb 9 08:58:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 127776 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp404413ljc; Fri, 9 Feb 2018 01:00:59 -0800 (PST) X-Google-Smtp-Source: AH8x227bqqOirkfAy1kCdBfMYTXRBvOpHwYYN1O8N8NYbU1vRdXpmY7JkiGUKYZjLhfimctQbm9+ X-Received: by 2002:a17:902:507:: with SMTP id 7-v6mr1879657plf.0.1518166859230; Fri, 09 Feb 2018 01:00:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518166859; cv=none; d=google.com; s=arc-20160816; b=mxIedSvSLRPNQ3y6Fi4vL2nLQfUzWpDO9E4ioH2SorB8VcI2SKybb3RFVBV2YU2bY7 QYqzdGKPrEAJCtVTbNcSXhH16yTRo7aQz3GCUpFa9ie27GgBHxlp8k5xn8/sB7deoCkL 9cPHwjv0wZ/jpGuX9dIu0sAdMeTCH2aM+m6Ib7c6DuPTVUZD8HNQzmRa1Hx2PHRD6DuL 75CVjUklRwsRWnwSkNJiEWEhdWxRFanwrrpBvW4j/MDHZ2lTbcRHJb0EqtxLPis/2ohU 7WQ3pERqFYLdD2XvLl3BDPAhEkn61zT07QN0AOLhSYnf52RYZGw4vUcUd4K4E9jLQcQp Zg7w== 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:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=k7YBLD3tLvDgG48cgGQ9K45vhC487WBu5THMtYzfJAg=; b=HDrLwJUiTGCjm+Xu5GpFFnKzPxUFZYiTuHq3UmrMuOIgjGFW8unEU9uGpuyV+ht6Xy +LHG/aM9Taqtadt7m0z7cic52SBVHgb9OevTvDAm2Sw6fg9AQRVYhaP0WJO9psWQmR96 7FAqW2mf0pqHnuC1dI1g+uib+LfwqtSJHmS1l5swJuZY6MrO4QjPGG+JUSDmB9zwhqeo rQnJ0V3qsY2ZN1DKLur4xJrzXIg/gMn3kd0LGuZinvKKazwqebW4OQH461w7wk27Mhc1 lJWyvmelP5KCpT7RgF7qrN7uBP7rOwGwjzAE1t7Gfd+f6Jjy+QbhNo7j9KUYQSbycA/Y Scfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FfdS6624; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c14si1135126pgu.337.2018.02.09.01.00.58; Fri, 09 Feb 2018 01:00:59 -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=@linaro.org header.s=google header.b=FfdS6624; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752529AbeBIJA4 (ORCPT + 15 others); Fri, 9 Feb 2018 04:00:56 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:39616 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751134AbeBII6s (ORCPT ); Fri, 9 Feb 2018 03:58:48 -0500 Received: by mail-pg0-f67.google.com with SMTP id w17so3201231pgv.6 for ; Fri, 09 Feb 2018 00:58:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=k7YBLD3tLvDgG48cgGQ9K45vhC487WBu5THMtYzfJAg=; b=FfdS6624J92IBKtcmzE3hYBHGY72Tw7I13Ks33E+jf5eN1J/Ixbpm/yIoncMYTsCW3 QBn1w6h5ouX98q7QKwYkGncg4CLVkGF2jrUkRbEEOnGKgCJqERHA0gUpHagRWXbzoKqE hCOuP0R9eNSCn6fXqlsnnmhJFD0XG8o16i8Iw= 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:in-reply-to:references; bh=k7YBLD3tLvDgG48cgGQ9K45vhC487WBu5THMtYzfJAg=; b=nKRrlHsELnoUslntHyNkatfToBjQJ/AB7maYMrh6aVpq51+CgVGpX7kthAJUYVhU0t 6RUYKspgG9O93ORhoh0ca1rddskNG20gi7WXUs6Mc8F7W8RBG1WdS3iUzImQ2x7Ej83j gDFgv/1zd2fMGxbFRtlv9P70EpT2OqbkG/psjBcL26R0JkC9t0azpg6JU7lRHl6zmEuD uCgVdLFdogaK954nON5Ur8Ptcu5zXhF5xLGOsbyT8DJ6WYzQdwBKjnVBV//ptcCl+hyl dyJ0E5baceY44zPlXQjZ5075rnM6YGt6zR9Rwz+P3wXlC1kCPucGBHsCxfc7JlkovHVD exbA== X-Gm-Message-State: APf1xPA936m9IjjgD9cUe0X3o0h1hYYsF13MriLRL4Xvz4wC7u6o6S4/ x8hRUoiqTUDY1SEdO4I+oVyqrw== X-Received: by 10.99.167.75 with SMTP id w11mr1821268pgo.246.1518166727324; Fri, 09 Feb 2018 00:58:47 -0800 (PST) Received: from localhost ([122.172.61.199]) by smtp.gmail.com with ESMTPSA id 62sm5076895pfl.50.2018.02.09.00.58.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Feb 2018 00:58:46 -0800 (PST) From: Viresh Kumar To: Rafael Wysocki , Matthias Brugger , Rob Herring , Mark Rutland Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , Eduardo Valentin , Zhang Rui , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, daniel.lezcano@linaro.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 03/10] ARM: dts: mt7623: Remove "cooling-{min|max}-level" for CPU nodes Date: Fri, 9 Feb 2018 14:28:03 +0530 Message-Id: <33d7494641d2f89c827e5e09d1143f125c33e784.1518166039.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The "cooling-min-level" and "cooling-max-level" properties are not parsed by any part of the kernel currently and the max cooling state of a CPU cooling device is found by referring to the cpufreq table instead. Remove the unused properties from the CPU nodes. Signed-off-by: Viresh Kumar --- Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek.txt | 4 ---- arch/arm/boot/dts/mt7623.dtsi | 2 -- 2 files changed, 6 deletions(-) -- 2.15.0.194.g9af6a3dea062 diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek.txt b/Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek.txt index f6403089edcf..d36f07e0a2bb 100644 --- a/Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek.txt +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek.txt @@ -21,8 +21,6 @@ Binding for MediaTek's CPUFreq driver flow is handled by hardware, hence no software "voltage tracking" is needed. - #cooling-cells: -- cooling-min-level: -- cooling-max-level: Please refer to Documentation/devicetree/bindings/thermal/thermal.txt for detail. @@ -67,8 +65,6 @@ Binding for MediaTek's CPUFreq driver clock-names = "cpu", "intermediate"; operating-points-v2 = <&cpu_opp_table>; #cooling-cells = <2>; - cooling-min-level = <0>; - cooling-max-level = <7>; }; cpu@1 { device_type = "cpu"; diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi index b750da5362f7..8e7c65464c9d 100644 --- a/arch/arm/boot/dts/mt7623.dtsi +++ b/arch/arm/boot/dts/mt7623.dtsi @@ -87,8 +87,6 @@ clock-names = "cpu", "intermediate"; operating-points-v2 = <&cpu_opp_table>; #cooling-cells = <2>; - cooling-min-level = <0>; - cooling-max-level = <7>; clock-frequency = <1300000000>; };