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: 10208469 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 B361D60245 for ; Fri, 9 Feb 2018 09:00:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A7EBA29816 for ; Fri, 9 Feb 2018 09:00:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9818129817; Fri, 9 Feb 2018 09:00:28 +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_SIGNED, DKIM_VALID,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 23DF329816 for ; Fri, 9 Feb 2018 09:00:28 +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=Sw0ZPFV6PnqRtqjl8Mwtl+cEM66ppe9pRYBk6xX2RJo=; b=G8VoKfJi7+QGNH51Qix0JI/F6s fWTwhEUcPe865eHz8Qxs2jifveAqO0cqDEgh3dyk/2C+XGTkQUOjNxXWLeGWLZJa3QmgE61sGDNEG AKye9mYGMRKw84g+AE4K4Is8yN4oSDA+WUjk64TxI4xN0mJK8ug1JERhunct+cfwR+wafxBSP7sr9 L8LHM3PjzYcObGpRPlidrNm0Qm7V1pstaynrxu2s0iLDlWIoG09Ei0nwLCAjvMvZiEdnSuMDKr3yO gA6DhTOY4DJG1S69Cm99NHW2jaeY2yTAyUWpdSn04sdeSGl6kxQMaSZeCKjIFFFIYzjcB108+di6E 0HBRByvQ==; 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 1ek4Xh-0003YC-Sn; Fri, 09 Feb 2018 09:00:25 +0000 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ek4WN-0000ml-NI for linux-arm-kernel@lists.infradead.org; Fri, 09 Feb 2018 08:59:08 +0000 Received: by mail-pg0-x244.google.com with SMTP id t4so2157821pgp.8 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=TG5/IFVwx2dWymWP4/JvUbieVzMSf6bzT+j51mUzoDVr+okvpx/8CSElzyeLNUKeKV fS3sq9wXniOsXq5Z/Qp/KZvNg5M30ypWXjUFIZfzCD/0IoRKskrFhFYYvgQhILpDB7XJ lY4FadY4Z3Gde1TpMWOk4lW+jy7Bg4i1beNgyg3n0Al6WdSNuf70Uuk2OjoTF2hn4DmL wxRQbNLa+H1Lut5QdDC9y209cHRSNVcBs5wSud0ks/0cbTEcsv8U4CAZvrX4HIIzfxms W4esXeDHtRW2AZjkU9Bdn0AG2ejeGGDZqrEnP2XRzDqugiqoefYndQBKS+KvZa6sxdBD X2Mw== X-Gm-Message-State: APf1xPAI1qnE+DoZnmLjl0f+L6pedRYyuSvpArpqfwhbvXmMYe+1+9xI r6cnxHFNZHOC/g7rMzc+mnCIag== X-Google-Smtp-Source: AH8x226i0EnkW0VtR38OYnE20UbfSixFBYgn7h7GdRZMNtkdvOgN4GovmiiLNkM5MulMe+gAMSbs4g== 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 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: X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Vincent Guittot , linux-pm@vger.kernel.org, Viresh Kumar , daniel.lezcano@linaro.org, linux-kernel@vger.kernel.org, Eduardo Valentin , Rob Herring , Zhang Rui , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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. 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(-) 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>;