cpufreq: mediatek: add support for mt8365
authorFabien Parent <fparent@baylibre.com>
Wed, 19 May 2021 16:25:50 +0000 (18:25 +0200)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 20 May 2021 03:54:59 +0000 (09:24 +0530)
Add compatible stirng for MediaTek MT8365 SoC. Add also the
compatible in the blacklist of the cpufreq-dt-platdev driver.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/cpufreq-dt-platdev.c
drivers/cpufreq/mediatek-cpufreq.c

index 345418b..0bb1040 100644 (file)
@@ -126,6 +126,7 @@ static const struct of_device_id blacklist[] __initconst = {
        { .compatible = "mediatek,mt8173", },
        { .compatible = "mediatek,mt8176", },
        { .compatible = "mediatek,mt8183", },
+       { .compatible = "mediatek,mt8365", },
        { .compatible = "mediatek,mt8516", },
 
        { .compatible = "nvidia,tegra20", },
index f2e491b..87019d5 100644 (file)
@@ -537,6 +537,7 @@ static const struct of_device_id mtk_cpufreq_machines[] __initconst = {
        { .compatible = "mediatek,mt8173", },
        { .compatible = "mediatek,mt8176", },
        { .compatible = "mediatek,mt8183", },
+       { .compatible = "mediatek,mt8365", },
        { .compatible = "mediatek,mt8516", },
 
        { }