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: 10208487 X-Patchwork-Delegate: rjw@sisk.pl 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 538FD60247 for ; Fri, 9 Feb 2018 09:01:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4ACBE29801 for ; Fri, 9 Feb 2018 09:01:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 47C2229815; Fri, 9 Feb 2018 09:01:17 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=unavailable 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 CA14629801 for ; Fri, 9 Feb 2018 09:01:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751060AbeBIJBN (ORCPT ); Fri, 9 Feb 2018 04:01:13 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:41259 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751132AbeBII6s (ORCPT ); Fri, 9 Feb 2018 03:58:48 -0500 Received: by mail-pg0-f65.google.com with SMTP id t4so2157692pgp.8 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=SnkVN8x6HhYU3Zp29CZNp5IzcoQqRUUcwXwC+CA/8L94ITT1tXxUwerCc9JhQy7Z// Bkcn48xYUYMzr8rOgukK5ejlghpw79icyYmIZtCsQwMnCnGsewnZ54We7cbp3LXVIsa7 O2pz9yu3mtHNTZ2bIJC5zaY5hRe9AaRMTGgl6cEAHX3cwj3DrTCAvE8LnIIFL+8ehQvy HllOOsPZrdA9yve6P5KxwkKIt2NyQTtT8p3f0txSd3nSJyObge0RWcD6WLUigGoqQOiL eS0wR40Z+8N+x0SV4lt20RWJAanv6J7OieB2Wd7nZ4Spj2t62QpLrwwOZKg8rLikKEuZ js0A== X-Gm-Message-State: APf1xPCbSdRr0amvfWpkeCzptmh7RcWe1cQcvRYaf5EddCpZP4RDw1C0 DDeA42XSEhiIFJw6Z+PELlHpNg== X-Google-Smtp-Source: AH8x227X6JH95STvawxyb/gHhsELsm8R3fvQ0P2DSqO790GHEACTQ4PUeOlvHoqxv9IiY1vJgadb9w== 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-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek.txt | 4 ---- arch/arm/boot/dts/mt7623.dtsi | 2 -- 2 files changed, 6 deletions(-) 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>; };