Skip to contentSkip to conversation

cpufreq: mediatek: Add support for mt8167

PATCH Applied Fabien Parent 2 participants 3 messages Oct 13, 2020 – Oct 28, 2020

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

PATCH 1/2 cpufreq: mediatek: Add support for mt8167

Add compatible string for mediatek mt8167

---
 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 7d01df7bfa6c..b8d48ed37156 100644
@@ -119,6 +119,7 @@ static const struct of_device_id blacklist[] __initconst = {
 	{ .compatible = "mediatek,mt2712", },
 	{ .compatible = "mediatek,mt7622", },
 	{ .compatible = "mediatek,mt7623", },
+	{ .compatible = "mediatek,mt8167", },
 	{ .compatible = "mediatek,mt817x", },
 	{ .compatible = "mediatek,mt8173", },
 	{ .compatible = "mediatek,mt8176", },
drivers/cpufreq/mediatek-cpufreq.c +1 -0
index 7d1212c9b7c8..c09bff86bb9b 100644
@@ -532,6 +532,7 @@ static const struct of_device_id mtk_cpufreq_machines[] __initconst = {
 	{ .compatible = "mediatek,mt2712", },
 	{ .compatible = "mediatek,mt7622", },
 	{ .compatible = "mediatek,mt7623", },
+	{ .compatible = "mediatek,mt8167", },
 	{ .compatible = "mediatek,mt817x", },
 	{ .compatible = "mediatek,mt8173", },
 	{ .compatible = "mediatek,mt8176", },
Signature · 1 line
2.28.0
#1 lore raw

PATCH 2/2 cpufreq: blacklist mt8516 in cpufreq-dt-platdev

Add MT8516 to cpufreq-dt-platdev blacklist since the actual scaling is handled by the 'mediatek-cpufreq' driver.

---
 drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
 1 file changed, 1 insertion(+)
drivers/cpufreq/cpufreq-dt-platdev.c +1 -0
index b8d48ed37156..73cb8f2ad9d4 100644
@@ -124,6 +124,7 @@ static const struct of_device_id blacklist[] __initconst = {
 	{ .compatible = "mediatek,mt8173", },
 	{ .compatible = "mediatek,mt8176", },
 	{ .compatible = "mediatek,mt8183", },
+	{ .compatible = "mediatek,mt8516", },
 
 	{ .compatible = "nvidia,tegra20", },
 	{ .compatible = "nvidia,tegra30", },
Signature · 1 line
2.28.0
maintainer Applied
#2 lore raw
In reply to Fabien Parent
Quoted 25 lines · Fabien Parent

Add compatible string for mediatek mt8167

---
 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 7d01df7bfa6c..b8d48ed37156 100644
@@ -119,6 +119,7 @@ static const struct of_device_id blacklist[] __initconst = {
 	{ .compatible = "mediatek,mt2712", },
 	{ .compatible = "mediatek,mt7622", },
 	{ .compatible = "mediatek,mt7623", },
+	{ .compatible = "mediatek,mt8167", },
 	{ .compatible = "mediatek,mt817x", },
 	{ .compatible = "mediatek,mt8173", },
 	{ .compatible = "mediatek,mt8176", },
drivers/cpufreq/mediatek-cpufreq.c +0 -0
index 7d1212c9b7c8..c09bff86bb9b 100644

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

Quoted 7 lines
drivers/cpufreq/mediatek-cpufreq.c +1 -0
@@ -532,6 +532,7 @@ static const struct of_device_id mtk_cpufreq_machines[] __initconst = {
 	{ .compatible = "mediatek,mt2712", },
 	{ .compatible = "mediatek,mt7622", },
 	{ .compatible = "mediatek,mt7623", },
+	{ .compatible = "mediatek,mt8167", },
 	{ .compatible = "mediatek,mt817x", },
 	{ .compatible = "mediatek,mt8173", },
 	{ .compatible = "mediatek,mt8176", },

Applied. Thanks.

Signature · 6 lines
viresh

_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek