OSDN Git Service

cpufreq: dt-platdev: Blacklist NVIDIA Tegra20 and Tegra30 SoCs
authorDmitry Osipenko <digetx@gmail.com>
Mon, 18 Nov 2019 16:45:08 +0000 (19:45 +0300)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 16 Dec 2019 04:04:45 +0000 (09:34 +0530)
commit26a7a47510ed12cbbce689184c8d6b63062b4fb9
tree609fbb20c96770d76b54143eef02904fb2e9624c
parente42617b825f8073569da76dc4510bfa019b1c35a
cpufreq: dt-platdev: Blacklist NVIDIA Tegra20 and Tegra30 SoCs

Both NVIDIA Tegra20 and Tegra30 SoCs should be blacklisted because CPU
OPPs use supported_hw and thus platdev isn't suitable for these SoCs.
Currently cpufreq-dt driver produces a bit annoying warning splats
during boot because valid OPPs are not found, this will be fixed once
tegra20-cpufreq driver will be update to support cpufreq-dt. The warnings
will also happen on older stable kernels using newer device-trees, thus
this patch should be backported to stable kernels as well.

Cc: <stable@vger.kernel.org>
Reported-by: Jon Hunter <jonathanh@nvidia.com>
Fixes: 4053aa65c517 ("ARM: tegra: cardhu-a04: Add CPU Operating Performance Points")
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/cpufreq-dt-platdev.c