Skip to content

Commit 26a7a47

Browse files
digetxvireshk
authored andcommitted
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: <[email protected]> Reported-by: Jon Hunter <[email protected]> Fixes: 4053aa6 ("ARM: tegra: cardhu-a04: Add CPU Operating Performance Points") Signed-off-by: Dmitry Osipenko <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
1 parent e42617b commit 26a7a47

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/cpufreq/cpufreq-dt-platdev.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ static const struct of_device_id blacklist[] __initconst = {
121121
{ .compatible = "mediatek,mt8176", },
122122
{ .compatible = "mediatek,mt8183", },
123123

124+
{ .compatible = "nvidia,tegra20", },
125+
{ .compatible = "nvidia,tegra30", },
124126
{ .compatible = "nvidia,tegra124", },
125127
{ .compatible = "nvidia,tegra210", },
126128

0 commit comments

Comments
 (0)