From: Sudeep Holla <sudeep.holla@arm.com>
Date: Thu, 18 Feb 2021 22:23:26 +0000 (+0000)
Subject: cpufreq: blacklist Arm Vexpress platforms in cpufreq-dt-platdev
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fbb31cb805fd3574d3be7defc06a7fd2fd9af7d2;p=linux.git

cpufreq: blacklist Arm Vexpress platforms in cpufreq-dt-platdev

Add "arm,vexpress" to cpufreq-dt-platdev blacklist since the actual
scaling is handled by the firmware cpufreq drivers(scpi, scmi and
vexpress-spc).

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---

diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index 3ba2f716fe978..5e07065ec22f7 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -103,6 +103,8 @@ static const struct of_device_id whitelist[] __initconst = {
 static const struct of_device_id blacklist[] __initconst = {
 	{ .compatible = "allwinner,sun50i-h6", },
 
+	{ .compatible = "arm,vexpress", },
+
 	{ .compatible = "calxeda,highbank", },
 	{ .compatible = "calxeda,ecx-2000", },