diff options
| author | Viresh Kumar <viresh.kumar@linaro.org> | 2017-09-19 11:23:22 -0400 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-09-19 17:05:28 -0400 |
| commit | ff76898c0a14a43f71bfe63dd1903087e96ce238 (patch) | |
| tree | 9c13b4113b249a71f1b97d1cfc2f2456f3d1f239 /drivers | |
| parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) | |
cpufreq: dt-platdev: Add some missing platforms to the blacklist
Commit edeec420de24 (cpufreq: dt-platdev: Automatically create cpufreq
device with OPP v2) missed adding few platforms to the blacklist which
create the cpufreq-dt device from their own drivers, after some
dependencies are sorted out.
And for those platforms, both the platform specific driver and the
cpufreq-dt-platdev driver try to create the cpufreq-dt device now.
Fix that by including those platforms in the blacklist. This doesn't include
the TI platforms, for which there is a separate patch.
Fixes: edeec420de24 (cpufreq: dt-cpufreq: platdev Automatically create device with OPP v2)
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/cpufreq/cpufreq-dt-platdev.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c index a020da7940d6..430edadca527 100644 --- a/drivers/cpufreq/cpufreq-dt-platdev.c +++ b/drivers/cpufreq/cpufreq-dt-platdev.c | |||
| @@ -106,6 +106,18 @@ static const struct of_device_id whitelist[] __initconst = { | |||
| 106 | * platforms using "operating-points-v2" property. | 106 | * platforms using "operating-points-v2" property. |
| 107 | */ | 107 | */ |
| 108 | static const struct of_device_id blacklist[] __initconst = { | 108 | static const struct of_device_id blacklist[] __initconst = { |
| 109 | { .compatible = "calxeda,highbank", }, | ||
| 110 | { .compatible = "calxeda,ecx-2000", }, | ||
| 111 | |||
| 112 | { .compatible = "marvell,armadaxp", }, | ||
| 113 | |||
| 114 | { .compatible = "nvidia,tegra124", }, | ||
| 115 | |||
| 116 | { .compatible = "st,stih407", }, | ||
| 117 | { .compatible = "st,stih410", }, | ||
| 118 | |||
| 119 | { .compatible = "sigma,tango4", }, | ||
| 120 | |||
| 109 | { } | 121 | { } |
| 110 | }; | 122 | }; |
| 111 | 123 | ||
