From patchwork Fri Feb 9 08:58:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 127768 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp402736ljc; Fri, 9 Feb 2018 00:58:55 -0800 (PST) X-Google-Smtp-Source: AH8x225Z8jEwpHJLjWTMwe2m+nfCbnvzWkrbe9QzC582IR7P6U9ITiCddNau5gahYT71kbgVwqQx X-Received: by 2002:a17:902:74c1:: with SMTP id f1-v6mr247703plt.434.1518166735590; Fri, 09 Feb 2018 00:58:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518166735; cv=none; d=google.com; s=arc-20160816; b=IEvGNtFojofMRgE5dt/fK8Ofst5undekZvFH4cjOO+tJ8iSexi+AARparB4nyEP0vo XMoe8OBfhQ+HIcK7hQxpEL3vILfaKX3nPr/vzfCQ1qooIjpBdeVS41cnOw+44Ml0TmpM 8ojh/L5qNiZ2kIg90iBZHBBPbiaXfnwZo3v1l3sBZilBR09YjdkDAbiV9sfO3iRZqXyI KOpRUyOxe9t1W+VmlQGpDZlwlhU4+f/nS198hbi980ddBTMG9RR9NEDBRCpFUcMI4peG jMehUuxjzAV+QPw8jDSxkfQQ59jlY0yNqOG/50MiB3VXQLhIHbSiyb8S+O1VgkE/Pv4E HDWg== 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=wpBGZm2iRj7ot0d/BZcZfbVcyxrFTFTgwRM1Hxdj0Tw=; b=WxRas+og1a0KYgAUl6P3cFhT3luRFiJjTxWAc1pODpI9f5Itm7fASMlyUqRA5qy6YV z7Mu9eWdvu5F0IekCn6sFdRwm7AtOKf2KVScBIHDiFuS3YMI6e65+hztNYRu+ZHRkSeW 0JTrCDpfbrnQEzwnlrFkAw6Lr8fQZl4pNi8D2G2uHhhbd81+IBgEoKOHzLxrV5fN2Hez FPrXAKI6FazukVtHbn7+iTT3K2sOqw0yxUKAHpS+vHM9IBwZ8neFgJyjMYnjRrA5YB8w DI4R9kbx7yWi69N1lHnAnrnHDWTnCh6JieH5RjXhBelADQk5xBh7tsgpL+ufXWfTH6SO +p2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FzTYxEjK; 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 e63-v6si1283034plb.305.2018.02.09.00.58.55; Fri, 09 Feb 2018 00:58:55 -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=FzTYxEjK; 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 S1751248AbeBII6u (ORCPT + 15 others); Fri, 9 Feb 2018 03:58:50 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:39611 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751098AbeBII6p (ORCPT ); Fri, 9 Feb 2018 03:58:45 -0500 Received: by mail-pg0-f67.google.com with SMTP id w17so3201171pgv.6 for ; Fri, 09 Feb 2018 00:58:45 -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=wpBGZm2iRj7ot0d/BZcZfbVcyxrFTFTgwRM1Hxdj0Tw=; b=FzTYxEjKCvVY1uPs7CdqnKxovDrV9hrmBaS6Rn3CfK1amo38LNtqqY9vGO/vr7YpGA fAeh/rPmPQiC7ndF0EF6dEMcswk6tNVAyRP41polIjntnIMFLR9ZsjdfDiJAAdueaHIp iiLKy4+XRJCo1ytyxwlUrsR8eBWz3nHaPgcgg= 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=wpBGZm2iRj7ot0d/BZcZfbVcyxrFTFTgwRM1Hxdj0Tw=; b=ZUUixSvJUb4Yf8ObCvDowXci/+aLF3LNzyATn6Akjc7F3ZlSW4OuBKD5jsb8qL5GdP UAy3SEIB3FhlZqme8uGy8UXdh8pM/S5LOrDTJDvE9pop3RAp/1FEo3mq7ZZc9iTJUSq6 VoqNvv6O62Am5EYf+uZ9Hkj0ICqQLkmoei+I+zSJrz5pu+QozG0f3LEN9K2jRP/crrGu x6kywqeRT77FoVIgY3lwamlCGOZbWYl/YI689CTx9jrLrcMs/lvlWonEO9lP48imYdAN zKipbvtrXlw0lcR17RxA7HMjvUsaZNwS2C9osVOn3G7Eyl5w+cdh7j/PzBGGBjNDbL4g xD1w== X-Gm-Message-State: APf1xPCpdtp/PKSKo9unaqv+Hp4qRkJARLIEFcLKi/pPcootupwHgKIB Y+ylf+/DdZYB3TYKh/1xYeo6Cw== X-Received: by 10.98.71.70 with SMTP id u67mr2064696pfa.181.1518166724515; Fri, 09 Feb 2018 00:58:44 -0800 (PST) Received: from localhost ([122.172.61.199]) by smtp.gmail.com with ESMTPSA id q15sm3998680pgv.38.2018.02.09.00.58.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Feb 2018 00:58:44 -0800 (PST) From: Viresh Kumar To: Rafael Wysocki , =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren , 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-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 02/10] ARM: dts: omap: Remove "cooling-{min|max}-level" for CPU nodes Date: Fri, 9 Feb 2018 14:28:02 +0530 Message-Id: <65c21dd1f5299d624ddb0b5e607226d86f745e19.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 --- arch/arm/boot/dts/dra7.dtsi | 2 -- arch/arm/boot/dts/omap443x.dtsi | 2 -- arch/arm/boot/dts/omap4460.dtsi | 2 -- arch/arm/boot/dts/omap5.dtsi | 2 -- 4 files changed, 8 deletions(-) -- 2.15.0.194.g9af6a3dea062 diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index e4a420f16800..f4ddd86f2c77 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -92,8 +92,6 @@ clock-latency = <300000>; /* From omap-cpufreq driver */ /* cooling options */ - cooling-min-level = <0>; - cooling-max-level = <2>; #cooling-cells = <2>; /* min followed by max */ vbb-supply = <&abb_mpu>; diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/arm/boot/dts/omap443x.dtsi index 03c8ad91ddac..cbcdcb4e7d1c 100644 --- a/arch/arm/boot/dts/omap443x.dtsi +++ b/arch/arm/boot/dts/omap443x.dtsi @@ -24,8 +24,6 @@ clock-latency = <300000>; /* From legacy driver */ /* cooling options */ - cooling-min-level = <0>; - cooling-max-level = <3>; #cooling-cells = <2>; /* min followed by max */ }; }; diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi index c43f2a2d0a1e..ad97493e4e46 100644 --- a/arch/arm/boot/dts/omap4460.dtsi +++ b/arch/arm/boot/dts/omap4460.dtsi @@ -22,8 +22,6 @@ clock-latency = <300000>; /* From legacy driver */ /* cooling options */ - cooling-min-level = <0>; - cooling-max-level = <2>; #cooling-cells = <2>; /* min followed by max */ }; }; diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 35d4298da83d..511606c17a04 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi @@ -55,8 +55,6 @@ clock-latency = <300000>; /* From omap-cpufreq driver */ /* cooling options */ - cooling-min-level = <0>; - cooling-max-level = <2>; #cooling-cells = <2>; /* min followed by max */ }; cpu@1 { 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>; }; From patchwork Fri Feb 9 08:58:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 127769 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp402784ljc; Fri, 9 Feb 2018 00:59:01 -0800 (PST) X-Google-Smtp-Source: AH8x225IQ/+9CavK2znXxtXD5YHOI4GJmOfO0pgCqXXlv059rgIzJgLIvz3UP4A3onKMc1dLAeVG X-Received: by 10.99.145.199 with SMTP id l190mr1316420pge.397.1518166741358; Fri, 09 Feb 2018 00:59:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518166741; cv=none; d=google.com; s=arc-20160816; b=j4ohrThm6RKJgyB6QLu3tW5qLzlJiYvfB/MUBP84N1jNf2mXe6f8UAQbAOowdDmk2M 7D4VZ9UHcZaRZZ9F3ko4l+7UWl+7rpJJTSxFa9x2XB8tqa6TAoK5O9o/kGD01HIfrCu3 6OvpJJTZ6EQMwvXSI7j4ahFMfhkmEhciyoh4MQZ57oFUwPWnqmymmqJbAWOhXKKQgQuX UXpnXbA0MjzNZYzkWlkk5FwEnXLau1CAi7CV2+/nl48EUZE6nfPfMYXZ+6kjCYrfBTef swSYwd2tO3w2P8U2uXJa38Yq2v3xiRWX1AHbMIQ5UrnmijoQZkmeMZ86f+bziSblSbOT SbUQ== 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=2zfPKUkExpE2SBMwN8iy4E7aNNe8FHghEbQhU8HqQnU=; b=ggFNzR/nWz0HpwIwL+JzP8QBHc6JeTCV+ugpRPR10cdqfr2IaZCkSrS/1QV/+K1Ady TNuTyB6rpjv4ZkcU2AnBuZQpqu8T/IvB3T7TvoSQswYP3cBoDTYiCtesyo+8g9vyr1J4 6yJxMCVfSVJvqvKgC+HvIqbyXfStjnfB1+tqBAH87Mf2AMgfp8sj/PjUL5HH65VtpX6C mgFJzMWJOS84s9WVMzYvyh+pjGwP0ic+COZLj0DkxcL6SmPBgRMl5VsJecr3ogp7gnRl 1e1IvvAgZBJIt2jNuZGtbfF+H2bYwc214cFhrkMUk/dw5QKKYQBBPvDiO3UsNW1ezHxg K62w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FQPrSl9T; 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 o88si1393450pfk.380.2018.02.09.00.59.01; Fri, 09 Feb 2018 00:59:01 -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=FQPrSl9T; 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 S1751910AbeBII6y (ORCPT + 15 others); Fri, 9 Feb 2018 03:58:54 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:46575 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751098AbeBII6v (ORCPT ); Fri, 9 Feb 2018 03:58:51 -0500 Received: by mail-pg0-f66.google.com with SMTP id a11so3198816pgu.13 for ; Fri, 09 Feb 2018 00:58:50 -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=2zfPKUkExpE2SBMwN8iy4E7aNNe8FHghEbQhU8HqQnU=; b=FQPrSl9Ttn+udI81EsPJHmmfpd6tVUOZfT06wxJ8QryPksYvPzpyH3ozAZMoTee4+v 4TwPZEUPDxXBd+rcrygWB7tGUVF+RPs0gJSuc3UXtB7OUE8fl5cVakxW5eA4wHkr4yBa f6kGJ0kO5XPbc63BiWoLJj82dQbCgKlNObcds= 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=2zfPKUkExpE2SBMwN8iy4E7aNNe8FHghEbQhU8HqQnU=; b=eWif0gSOkSwVwlmqTfk3tE8fhHDIkXndg6ngxVjsJrwhcNzhIejw9XeD8Yam292SqE ugBk07eeOebkcMlXwz8EufNXHzNGVg3Tz2VjGjeHbaDqovXQlutyIKU9XN9DPjjS0m0k f/fQkh8EyrENr4T6kULr1SPyfR+hkjLb/qxDVdyqtpT2+IcZECgiaXdXXWAVmHgDo6Z9 njhjsd93hbT4NtIEEbmesuyipVUKazkW7swxSz03Og/4NRefVdMDIwzZQlQfhmWKB1Wj ljNcsZ6nz/SDqxSvlMpp2AqHlqFW2ISNi6V8u3qvNrPkrDuMIcmTI3laHeqBPxUZufaM ZsSA== X-Gm-Message-State: APf1xPCnnP+ic21bKko5N8bfjt5emiDF2Lnh0E2u+GBIj9/t7P09ksus 97g+fcBSXQZsKY24EAplXTthYA== X-Received: by 10.99.170.77 with SMTP id x13mr1746157pgo.393.1518166730323; Fri, 09 Feb 2018 00:58:50 -0800 (PST) Received: from localhost ([122.172.61.199]) by smtp.gmail.com with ESMTPSA id w15sm5004349pfj.32.2018.02.09.00.58.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Feb 2018 00:58:49 -0800 (PST) From: Viresh Kumar To: Rafael Wysocki , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai 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 Subject: [PATCH 04/10] ARM: dts: sun[4-7]i: Remove "cooling-{min|max}-level" for CPU nodes Date: Fri, 9 Feb 2018 14:28:04 +0530 Message-Id: <4d489d040ec1fc3821d8e4bf31ffcc2eebfa41e1.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 --- arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts | 1 - arch/arm/boot/dts/sun4i-a10.dtsi | 2 -- arch/arm/boot/dts/sun5i-a13.dtsi | 2 -- arch/arm/boot/dts/sun6i-a31.dtsi | 2 -- arch/arm/boot/dts/sun7i-a20.dtsi | 2 -- 5 files changed, 9 deletions(-) -- 2.15.0.194.g9af6a3dea062 diff --git a/arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts b/arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts index 49247fbe6acd..e3d1d0f63caf 100644 --- a/arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts +++ b/arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts @@ -97,7 +97,6 @@ 864000 1300000 624000 1250000 >; - cooling-max-level = <2>; }; &de { diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index 4f2f2eea0755..77e8436beed4 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++ b/arch/arm/boot/dts/sun4i-a10.dtsi @@ -123,8 +123,6 @@ 624000 1250000 >; #cooling-cells = <2>; - cooling-min-level = <0>; - cooling-max-level = <3>; }; }; diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi index 4e830f5cb7f1..b1d827765530 100644 --- a/arch/arm/boot/dts/sun5i-a13.dtsi +++ b/arch/arm/boot/dts/sun5i-a13.dtsi @@ -116,8 +116,6 @@ 432000 1200000 >; #cooling-cells = <2>; - cooling-min-level = <0>; - cooling-max-level = <5>; }; &pio { diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index 72d3fe44ecaf..c72992556a86 100644 --- a/arch/arm/boot/dts/sun6i-a31.dtsi +++ b/arch/arm/boot/dts/sun6i-a31.dtsi @@ -113,8 +113,6 @@ 480000 1000000 >; #cooling-cells = <2>; - cooling-min-level = <0>; - cooling-max-level = <3>; }; cpu@1 { diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index bd0cd3204273..a3a6ce489fda 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -116,8 +116,6 @@ 144000 1000000 >; #cooling-cells = <2>; - cooling-min-level = <0>; - cooling-max-level = <6>; }; cpu@1 { From patchwork Fri Feb 9 08:58:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 127771 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp402877ljc; Fri, 9 Feb 2018 00:59:08 -0800 (PST) X-Google-Smtp-Source: AH8x227S+Vu39SYMrweA11cYSFPVdAworvcU5WkvDupxSEdj4WWiOtTUT8mvsHFqOmDUpiaeCuE5 X-Received: by 2002:a17:902:6f08:: with SMTP id w8-v6mr1856753plk.155.1518166748063; Fri, 09 Feb 2018 00:59:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518166748; cv=none; d=google.com; s=arc-20160816; b=cz6e0GIi/C/ORFfjahckC+DKN9+Jufet1Y0eRhy5ELKu+rHQqSq8BZfCONsj1lgxBA S0TRwf0NRiqlFMvCH7g4KA3UkTQ7H4Hs52rTwnX8tEU3U/wnhS0nEkeDFxRuTc658CqC gZoDBZCvXKSIEUOFvWnTQYiSPjk0CtzZR9opUS30nh8xsn6k9Wc95MGWuu53x2FJb1hD sI7dEouwSUEdRDfCp64ePWyZEoiGcCsMQjTyKUObyeMx3rCY9dsiseJKJeu5BUtFyTfa v1sWOuxsVkY/NxBJfDqrMhmzMuMLzN0x5bAWhv7ucGuVzUlqAo4DGNFbAoTP58gzVA/5 KLMg== 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=BOmAp+63t0tj4UdNr+O36iF8kVVEptbjKbnNC96XEt8=; b=RfNrefkom5s8AjHIQ6m3eTd8othEuQe3a2AoVKdk7HXu6Oe0H1Tmk42tqfHA8qaFAQ quKRh0R1Qag0G2sXUPJEodYwSTabLltI6CbYTDByJU2KcRC0DhFMXMmAIyuC+Gy5MJyX dg6KQX9BunfDE+HtJuzP8BQqXs+fkRAOGBmHa8KoUDXqbpKSPKmNZbPehhrKvfs+x2g2 kIgWYjlW6/KvjuHbD0DhNlHvTjlrnZLHG8m7fiNFJj3sA1yjotDrsx/i4J46bh6nkpjF z+6JWXgKge0BhhAVSTS87nsO4+6NKZ8ZlP75YGM1omm5jMSQwBaIvIZuRJWVIyJquFCY pp4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IvMOCE3X; 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 o88si1393450pfk.380.2018.02.09.00.59.07; Fri, 09 Feb 2018 00:59:08 -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=IvMOCE3X; 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 S1752207AbeBII7D (ORCPT + 15 others); Fri, 9 Feb 2018 03:59:03 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:44079 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751313AbeBII6x (ORCPT ); Fri, 9 Feb 2018 03:58:53 -0500 Received: by mail-pg0-f65.google.com with SMTP id j9so2646132pgp.11 for ; Fri, 09 Feb 2018 00:58:53 -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=BOmAp+63t0tj4UdNr+O36iF8kVVEptbjKbnNC96XEt8=; b=IvMOCE3Xo9GOJj6RUoGdVkbqJo6VsrFmcWJF2OeynlEC2bBnJRaSgS2sK3mJSLCOti 2s9On9vEewTwW4ifbdOPMoS2jv6YRqV4WIpY2pVxmjErtN7+iEffXMyq4AR+9H4QQwDm rj5dLu2nsQhOUWcsufw+gSseSoYbVvwnka8J4= 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=BOmAp+63t0tj4UdNr+O36iF8kVVEptbjKbnNC96XEt8=; b=jCMCOd8z50kIcCjE1Arvns/Quh16Ao9nL5pJzbSSgIGsnq7BoCWQhkvyztE1qHeFtO Far9Em/I8hf4R4kgf70mhhz1b/+5JT0vQFL3lSbu+x5A8KPV6yntUzVP/yrAaqPNE020 hxjI/n+NBJvf/qOnRTyXmKE8eHg4U+EHUPwicRMmEGMuxS34BwVw7gzb//5yjCNQj8BY DORL6MhS+mRSSjNUUSeY8i4+I8eyZqsOxDw5IXm9OwKItJom47+n3tl/1Lq7xdxLwJdk 2cgDr6z1Axw6LhNAJfbHbrPfNAovNfx/tG6dIviZurpbk5Qc8puDcaLDN2iHIGHbHxl3 re5w== X-Gm-Message-State: APf1xPAOOXvp2jfyRz3JsezRv8s7Pic8BNePGpPoeN8H2nLcKvTuT3Z2 mgXQNbJMV+rfyV2gvXruXF6p5g== X-Received: by 10.98.208.3 with SMTP id p3mr2089966pfg.8.1518166733123; Fri, 09 Feb 2018 00:58:53 -0800 (PST) Received: from localhost ([122.172.61.199]) by smtp.gmail.com with ESMTPSA id n25sm3573812pfk.152.2018.02.09.00.58.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Feb 2018 00:58:52 -0800 (PST) From: Viresh Kumar To: Rafael Wysocki , Wei Xu Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , Eduardo Valentin , Mark Rutland , Rob Herring , Zhang Rui , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, daniel.lezcano@linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/10] ARM64: dts: hi6220: Remove "cooling-{min|max}-level" for CPU nodes Date: Fri, 9 Feb 2018 14:28:05 +0530 Message-Id: <68740229a7397336ae92bad65f69a58c91819c37.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. Moreover, the entries are incorrect here as min level is 4 and the max level is 0. Remove the unused properties from the CPU nodes. Signed-off-by: Viresh Kumar --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 2 -- 1 file changed, 2 deletions(-) -- 2.15.0.194.g9af6a3dea062 diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 6a180d1926e8..fca8e4ee98e7 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -88,8 +88,6 @@ next-level-cache = <&CLUSTER0_L2>; clocks = <&stub_clock 0>; operating-points-v2 = <&cpu_opp_table>; - cooling-min-level = <4>; - cooling-max-level = <0>; #cooling-cells = <2>; /* min followed by max */ cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>; dynamic-power-coefficient = <311>; From patchwork Fri Feb 9 08:58:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 127774 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp403315ljc; Fri, 9 Feb 2018 00:59:52 -0800 (PST) X-Google-Smtp-Source: AH8x224SYejD9mgZBCNW9zRU6B6O0/ScSK+89jjq2hR1VMgXF76oxh5mXt9D4i/4g2dgwcRrdxUQ X-Received: by 2002:a17:902:b7ca:: with SMTP id v10-v6mr110130plz.437.1518166792132; Fri, 09 Feb 2018 00:59:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518166792; cv=none; d=google.com; s=arc-20160816; b=zjZW/E7it2FxkTTqhxBA+BBNnXDJlsJwE9J8ro2SA0uyUDj2/EZn9kwQZnbTlXAroK 1C1J7/M83bj4b2b7wYkrZi6deNCZaG208wkScjtQ/h7MGZcM1/sdMvtT74CPtVeKelTZ LEnu5+Y62oz0w3ndHG+Ar2REy9gbSHuL+sy6hK32AiG2A3ru1Glxn+jKXvihty/hSeej Q7fLbOMB8n3ZorEKKY3rele6IilL+0K+td9omaX4qpu7dDWq2FrZkUZRH9P57ym8vM4T 9IB2QDocLCxTrPIdbAODsv1MOQgKdFBOfCAMm6TiKNJvtALj/wlWZLh+G49OcUmXeQ8K 1qMw== 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=2uT4yyr3ZUMnADg37sAhJjxXLoQRRjXnzadpOTmNcm4=; b=WNWR3037txr46Z88MIqqkonuxp6jTJRPINZQ/cNF5hJpVHf6ZA7f7KZfvGYwLxq3cy iyV4xtBFwmrY9spmq7exqk7dM8CBCqsyrXslp9uiXLRR/5QdUluhwNsKxwGpGf32vf3w RclhJG76LINxB9aNRpHwI8nwAsbjzGneEhGm/vWEqgX0GTaA/myHk5Cr4PXqOKo6VHd+ ZMdIImO7iCRVlrbZSuWOLjtbtD7EyJ1fwWrKvU/+KEwvKuWRONNahN7hRlwbIVU0749r 6NiOFfrvljXuu/3vfXD1fg6HXw7DaczUCQ4JC2UoHLaW5hkJ/v8FS52pt5QsHGSR33CD ThXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ien4CtlP; 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 n26si1429963pfb.135.2018.02.09.00.59.51; Fri, 09 Feb 2018 00:59:52 -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=Ien4CtlP; 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 S1752433AbeBII7s (ORCPT + 15 others); Fri, 9 Feb 2018 03:59:48 -0500 Received: from mail-pl0-f68.google.com ([209.85.160.68]:39667 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751998AbeBII7C (ORCPT ); Fri, 9 Feb 2018 03:59:02 -0500 Received: by mail-pl0-f68.google.com with SMTP id o13so1183731pli.6 for ; Fri, 09 Feb 2018 00:59:01 -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=2uT4yyr3ZUMnADg37sAhJjxXLoQRRjXnzadpOTmNcm4=; b=Ien4CtlPQjfBZMAmHsZFCzS7ZrxtKuqDp6KhcBh9xTi+zrv1HWGyV+yjEGlUeuiLRq HTIrkw4a7pNUasO5ej7Gp1GXk/4ydgjw8AsjyxpKQYHCg2LNWkhzMFJw/GmfrTUgmubW BsQ8eMC2uxRZ5X6vvkdo9V3mnt/VjX92IGmac= 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=2uT4yyr3ZUMnADg37sAhJjxXLoQRRjXnzadpOTmNcm4=; b=FrBat8x/KanJUFz62JAogbA0ENPw8XiwDekt/0PlUiK0q64tgqsBWl5sU6PEmMSG2r soPrmYRNt6vdzqt/QXKk6IutBl8DGZ/OSLa+oSeyw0WLiCGjcqTTm9F67peTqpXvhcg0 KhA4Tei9CSHanU0QLew9TN6MX7NETugMr6dxWUdHrVSXsttkc2ItccxRWp+FhCUD7IA6 zRyitaHz+JUwDMQUjuJNbRZyOpxgHRhkO8HMMRCcBSU3tZ/4sRMPWcReleRUqsVMMKMI 7j3zaktDKpYBHPJw+s2P9x5vLHLqJjumPrpxygYyatqgxQLH2L7NLQ9ldDpkHk7IRJsX sz4g== X-Gm-Message-State: APf1xPBO9Leuv7HbevaQ42r+Zaut/TY3u96FdQRmTiByQBkCrlQScXSN WBQIBUiscKrVjwwAtttA50bACw== X-Received: by 2002:a17:902:2f03:: with SMTP id s3-v6mr1940053plb.112.1518166741453; Fri, 09 Feb 2018 00:59:01 -0800 (PST) Received: from localhost ([122.172.61.199]) by smtp.gmail.com with ESMTPSA id y7sm4699177pfy.128.2018.02.09.00.59.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Feb 2018 00:59:01 -0800 (PST) From: Viresh Kumar To: Rafael Wysocki , Carlo Caione , Kevin Hilman Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , Eduardo Valentin , Mark Rutland , Rob Herring , Zhang Rui , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, daniel.lezcano@linaro.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/10] ARM64: dts: meson: Remove "cooling-{min|max}-level" for gpio-fan node Date: Fri, 9 Feb 2018 14:28:08 +0530 Message-Id: <24b53440922491982c781a3eb032b04c167d733d.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 gpio-fan cooling device is found by referring to the "gpio-fan,speed-map" instead. Remove the unused properties from the gpio-fan node. Signed-off-by: Viresh Kumar --- arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 2 -- 1 file changed, 2 deletions(-) -- 2.15.0.194.g9af6a3dea062 diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts index 658215c9822c..8ee4a693c438 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts @@ -59,8 +59,6 @@ 1 1 2 2 3 3>; - cooling-min-level = <0>; - cooling-max-level = <3>; #cooling-cells = <2>; }; From patchwork Fri Feb 9 08:58:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 127772 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp402941ljc; Fri, 9 Feb 2018 00:59:14 -0800 (PST) X-Google-Smtp-Source: AH8x2256LKyK9NlIIXWtmWGDYcjjZDmT+PSZWCo/WUAwFucfsatoztO4A95zru9T21+dEcBIZhsz X-Received: by 10.99.116.19 with SMTP id p19mr1774747pgc.49.1518166754854; Fri, 09 Feb 2018 00:59:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518166754; cv=none; d=google.com; s=arc-20160816; b=Qw9A3zl5L6WtQryt4DkkFj9l6CfDXENzEUy/LP/FIS5lsPDF+IqQ0QpEsjXfa8rQRA j3TL9qXstC5kBSSoLZ9yeJZRumgurfWrRg9NjJjSkXD1dgtNJ/o2kGwObovre6Yy5CM4 KAg97QaMU790HFJH/Bvx9kqjOEqIjcvLy40aKVFi53UipH1QMQdUkJqGvjww6UKh/ju/ yjq9W4cUuTwuyO4Ebkv8VE6oIt0Q0mmeK0heTL6ctFmWV4FFJOv+5BedFPxedWZ9YITm 95R5r9YFMsxhb12mLtVMFmT6BCbnmAyQRV6hQEapk73oE6TVsIYHez/ePleZ3enmlBjN GzCQ== 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=8LM2kKzO3Qt/BJ84iRxXhgmYwJuY5YWNhGC5grOSKbQ=; b=OSQS3YxwzKtjsI94eCrIEn9+lpxRykSpQ0xfAgsLzx+40cnLDWbP4+MKJHWrynwtWK 0ngdM8mzx0JUZ1Fzde/Q8UdxUTnr12X1rlcMZ1mZcifZRndRn8jV+k5A/m8iSKHOxHMm YrUj3xTVATHZORaeBLgK7pqOH1ILU+kB3qO/Z2hsCiOGMpkAwjblNElEBjyazc/B5kpX 1j8U16iqI+ZWL/054yhaV8K38E0rF+SRMDF9ow2mRHDz1S0FsZUQkueiCrRpM+6HPDcG Yz1vlUvAWM56lHy6ThbtgmrZvUQp7Jv8wUCLwN5GztwyuEMQiLgoS9SdAevj47Vmp7cu Yg3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Rz1WORJM; 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 t17-v6si144681ply.186.2018.02.09.00.59.14; Fri, 09 Feb 2018 00:59:14 -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=Rz1WORJM; 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 S1752281AbeBII7H (ORCPT + 15 others); Fri, 9 Feb 2018 03:59:07 -0500 Received: from mail-pl0-f66.google.com ([209.85.160.66]:44160 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752214AbeBII7E (ORCPT ); Fri, 9 Feb 2018 03:59:04 -0500 Received: by mail-pl0-f66.google.com with SMTP id f8so1177306plk.11 for ; Fri, 09 Feb 2018 00:59:04 -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=8LM2kKzO3Qt/BJ84iRxXhgmYwJuY5YWNhGC5grOSKbQ=; b=Rz1WORJMUnn7y0alPqT8oxKvbupXFJnDUnSdKZGLE1Btk0jBfZXTV7WWMaUvjWywkM RdqRbctGBhcFfwY6nV5lAIXBnaHgLCSpNjlv8cmW5h8dzVTeF53Z+CYuD+rH4dMV0Xdz xdWPnB4MYnoOT+LNAJefq+86JcEAKDCasE06A= 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=8LM2kKzO3Qt/BJ84iRxXhgmYwJuY5YWNhGC5grOSKbQ=; b=WTp/nOyIsV+Re3nydcZ5UWJhR9bP0OEVdu8vj6W8FFpbG+HJYtHSoBVsE4g+d4cJP1 kHSDmZLEspsuWGgWSmM0YiO/Vxq0Afr20TjpNyDBnu3jzvimqhYfSKeCrAJgQQCsdTXU ew1JwLgB9+i4O+HFpXKvTQFvp0IA7Vi4RCuoHp1JKdIiwNkeZc3NJ/2mXcRfszNPBb/2 Tw23YhWxSx78mozHfBEim6vYW9hHEF8Ot0uIcaCu2tHVFLMBV4dapG6+0nadoeweu4v7 uJg3RETdO8/csAel1vyN/dE/uoK1+cQLC3+KIOBCnME49Q0N+Pr3fNVSzsgkI4Z/q80W 1MYg== X-Gm-Message-State: APf1xPDd10LMWw6VzT5diYhFuAIGQhDWyY6d2Y8L+KQbqeWk9IoRdMGW paiyll5vKCerPPtHQWiz7sOIUJt4KKA= X-Received: by 2002:a17:902:402:: with SMTP id 2-v6mr1816852ple.353.1518166744159; Fri, 09 Feb 2018 00:59:04 -0800 (PST) Received: from localhost ([122.172.61.199]) by smtp.gmail.com with ESMTPSA id s82sm3681458pfa.151.2018.02.09.00.59.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Feb 2018 00:59:03 -0800 (PST) From: Viresh Kumar To: Rafael Wysocki Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , Eduardo Valentin , Mark Rutland , Rob Herring , Zhang Rui , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, daniel.lezcano@linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH 09/10] dt-bindings: cpufreq-dt: Remove "cooling-{min|max}-level" properties Date: Fri, 9 Feb 2018 14:28:09 +0530 Message-Id: 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 kernel currently and the max cooling state of a CPU cooling device is found by referring to the cpufreq table instead. Remove the unused bindings. Signed-off-by: Viresh Kumar --- Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt | 4 ---- 1 file changed, 4 deletions(-) -- 2.15.0.194.g9af6a3dea062 diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt b/Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt index dd3929e85dec..332aed8f4597 100644 --- a/Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt @@ -18,8 +18,6 @@ under node /cpus/cpu@0. in unit of nanoseconds. - voltage-tolerance: Specify the CPU voltage tolerance in percentage. - #cooling-cells: -- cooling-min-level: -- cooling-max-level: Please refer to Documentation/devicetree/bindings/thermal/thermal.txt. Examples: @@ -40,8 +38,6 @@ cpus { >; clock-latency = <61036>; /* two CLK32 periods */ #cooling-cells = <2>; - cooling-min-level = <0>; - cooling-max-level = <2>; }; cpu@1 { From patchwork Fri Feb 9 08:58:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 127773 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp402981ljc; Fri, 9 Feb 2018 00:59:19 -0800 (PST) X-Google-Smtp-Source: AH8x224kPJ0p5ThWX+1zDXS0Pcp51UXCY9xUNEBJuWOy6krR/l+d6Pzu4NOUr8gRlyZ00FyKwXHm X-Received: by 2002:a17:902:24c7:: with SMTP id l7-v6mr1874311plg.268.1518166759190; Fri, 09 Feb 2018 00:59:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518166759; cv=none; d=google.com; s=arc-20160816; b=mN2lCTdR3y7m8uJQhpuErD35j6TdW7JcMFKZfCTluzzyivUwCVORy8ufFcjgmYRr5D H0Fzl17nv6scHjx6Sfq1X5mBmwq3DyDxR4lQXKToSex3VXflieA4r2QlNcgOVWguK54C QtGEK/Cb0WQSxB1Tsx1aQqNSj6K02gj5CtMuIgDqOph71HPOUNL5jSm9r9R0lanreaWh LZem8q5pNPn3O9Ldlsw9fpPGnal6mCY/a24V6rxPwDlbra+jdXqPTENlhMiJ9xrTWsy+ GqKDCpOjUbACcecGlVJfUOKmua1mF5LQ0ScJczlmJmGwsBGSZMun1lAHs/qe6jzGaKPC 4hzw== 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=ONKnLCAaG0t+JU6W7X7N6p1epEJROvhwPld3UMfebkQ=; b=nFrceGemEZEQzgZijqpyoX3cDOeCgTZ5goF0S8m08sdHKnJjXqbl9S4KnVd/GnCTDk pSk4PRKNp9wSF3KgPToZGq4Y20iMW2xA/JfZPrBd7MoaHAzrWiH9jWM8bhY5sIFQZlyK TwUp/NlbCVZrqEDzy3psxfTCo8f4jji1mfx7qU42B3K3hVNwHGue9nJ90LREDLWMZ3fY a1Rp6uhzFiUnwkaUw5yfzqrBY1a1jUnq/A/RN2B/Gs3PpkIZK8pd2Cj7/EoG1xHnFRre F3NrMRhdwew6jm089mVprjm7g6wo8xSKJHYHKcFRA5q0nce5GDWnjJ3QfDpNtaHhysuD vS6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Yj02JJzr; 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 t17-v6si144681ply.186.2018.02.09.00.59.18; Fri, 09 Feb 2018 00:59:19 -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=Yj02JJzr; 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 S1752322AbeBII7N (ORCPT + 15 others); Fri, 9 Feb 2018 03:59:13 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:40392 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752266AbeBII7H (ORCPT ); Fri, 9 Feb 2018 03:59:07 -0500 Received: by mail-pg0-f68.google.com with SMTP id g2so3205029pgn.7 for ; Fri, 09 Feb 2018 00:59:07 -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=ONKnLCAaG0t+JU6W7X7N6p1epEJROvhwPld3UMfebkQ=; b=Yj02JJzr9V5Q7l9HHeazPdrrB+1DuYns4If7CrFSNUHlwsDrFUsO5fV8oUWQCE3Evs zg5EMM92HoIU1J8Y/S+x3LNPhSUDZsoCExtI2yEcv0Gfg2J7xOD45BMIpYe0Y2Fe5BOK ifjio2dAPjGdWUMFh74SirDnvW82rLguFkNBs= 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=ONKnLCAaG0t+JU6W7X7N6p1epEJROvhwPld3UMfebkQ=; b=tnp1nuHXBnCcIzIDStkpqTDZ+TBFJJBQlOxLffqrNUtVVEjCK+R5KZVGhIfUuWLiJw +CtYCt5OlwrYrk8zLdqgDd88mD7AZHlVnWlcjfBOGID3ukKURs/4tyU+ZvY21OBbV8fA iNZPqEcUggz8RHZ/A8K8sSWwts9tSxVXcPYweg84exbSYLYzIGqNIKo19tkEAB7z0a9v i9Usfu7C05XJ6AuIKaXR66J45x2TUbmJMViA79mgwSV31JQGLI3TFzTAkLEs5z+kbY9h PMSG5ODaTgHx3JP07gdUtzSk8jQwLS5dxg6Ti1VZAaj0pdPTJYJAcgYIQMIt0nAe0ZvS ZHkw== X-Gm-Message-State: APf1xPCL5Af06BRx/1X8M/ZD6sXbpT3xllNo116rgO2w0boFq+2eRzgG lxNBOeloeBmNLysrM5ng9TErIQ== X-Received: by 10.98.107.71 with SMTP id g68mr2065426pfc.96.1518166746878; Fri, 09 Feb 2018 00:59:06 -0800 (PST) Received: from localhost ([122.172.61.199]) by smtp.gmail.com with ESMTPSA id h69sm4490875pfe.20.2018.02.09.00.59.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Feb 2018 00:59:06 -0800 (PST) From: Viresh Kumar To: Rafael Wysocki , Zhang Rui , Eduardo Valentin Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , Mark Rutland , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, daniel.lezcano@linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/10] dt-bindings: thermal: Remove "cooling-{min|max}-level" properties Date: Fri, 9 Feb 2018 14:28:10 +0530 Message-Id: <0ec53640f1a09e6e0d7aa1a21d1a3266c3c209c7.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 kernel currently and the max cooling state of a CPU cooling device is found by referring to the cpufreq table instead. Remove the unused bindings. Signed-off-by: Viresh Kumar --- Documentation/devicetree/bindings/thermal/thermal.txt | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) -- 2.15.0.194.g9af6a3dea062 diff --git a/Documentation/devicetree/bindings/thermal/thermal.txt b/Documentation/devicetree/bindings/thermal/thermal.txt index 1719d47a5e2f..cc553f0952c5 100644 --- a/Documentation/devicetree/bindings/thermal/thermal.txt +++ b/Documentation/devicetree/bindings/thermal/thermal.txt @@ -55,8 +55,7 @@ of heat dissipation). For example a fan's cooling states correspond to the different fan speeds possible. Cooling states are referred to by single unsigned integers, where larger numbers mean greater heat dissipation. The precise set of cooling states associated with a device -(as referred to by the cooling-min-level and cooling-max-level -properties) should be defined in a particular device's binding. +should be defined in a particular device's binding. For more examples of cooling devices, refer to the example sections below. Required properties: @@ -69,15 +68,6 @@ For more examples of cooling devices, refer to the example sections below. See Cooling device maps section below for more details on how consumers refer to cooling devices. -Optional properties: -- cooling-min-level: An integer indicating the smallest - Type: unsigned cooling state accepted. Typically 0. - Size: one cell - -- cooling-max-level: An integer indicating the largest - Type: unsigned cooling state accepted. - Size: one cell - * Trip points The trip node is a node to describe a point in the temperature domain @@ -226,8 +216,6 @@ cpus { 396000 950000 198000 850000 >; - cooling-min-level = <0>; - cooling-max-level = <3>; #cooling-cells = <2>; /* min followed by max */ }; ... @@ -241,8 +229,6 @@ cpus { */ fan0: fan@48 { ... - cooling-min-level = <0>; - cooling-max-level = <9>; #cooling-cells = <2>; /* min followed by max */ }; };