Skip to contentSkip to conversation

cpufreq: mediatek: add support for mt8365

PATCH Applied Fabien Parent 2 participants 2 messages May 19, 2021 – May 20, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpufreq: mediatek: add support for mt8365

Add compatible stirng for MediaTek MT8365 SoC. Add also the compatible in the blacklist of the cpufreq-dt-platdev driver.

---
 drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
 drivers/cpufreq/mediatek-cpufreq.c   | 1 +
 2 files changed, 2 insertions(+)
drivers/cpufreq/cpufreq-dt-platdev.c +1 -0
index 5e07065ec22f..d6fd821e3f5a 100644
@@ -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", },
drivers/cpufreq/mediatek-cpufreq.c +1 -0
index f2e491b25b07..87019d5a9547 100644
@@ -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", },
 
 	{ }
Signature · 1 line
2.31.1
maintainer Applied
#1 lore raw
Quoted 26 lines · Fabien Parent

Add compatible stirng for MediaTek MT8365 SoC. Add also the compatible in the blacklist of the cpufreq-dt-platdev driver.

---
 drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
 drivers/cpufreq/mediatek-cpufreq.c   | 1 +
 2 files changed, 2 insertions(+)
drivers/cpufreq/cpufreq-dt-platdev.c +1 -0
index 5e07065ec22f..d6fd821e3f5a 100644
@@ -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", },
drivers/cpufreq/mediatek-cpufreq.c +0 -0
index f2e491b25b07..87019d5a9547 100644

drivers/cpufreq/mediatek-cpufreq.c static const struct of_device_id mtk_cpufreq_machines[] __initconst = { · line 543

Quoted 7 lines
drivers/cpufreq/mediatek-cpufreq.c +1 -0
@@ -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", },
 
 	{ }

Applied. Thanks.

Signature · 1 line
viresh