[PATCH] cpufreq: Add MT8186 to cpufreq-dt-platdev blocklist

Subsystems: cpu frequency scaling framework, the rest

STALE1516d

3 messages, 2 authors, 2022-06-17 · open the first message on its own page

[PATCH] cpufreq: Add MT8186 to cpufreq-dt-platdev blocklist

From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Date: 2022-06-17 09:07:05

This SoC shall use the mediatek-cpufreq driver, or the system will
crash upon any clock scaling request: add it to the cpufreq-dt-platdev
blocklist.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Fixes: 39b360102f3a ("cpufreq: mediatek: Add support for MT8186")
---
 drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index 96de1536e1cb..2c96de3f2d83 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -127,6 +127,7 @@ static const struct of_device_id blocklist[] __initconst = {
 	{ .compatible = "mediatek,mt8173", },
 	{ .compatible = "mediatek,mt8176", },
 	{ .compatible = "mediatek,mt8183", },
+	{ .compatible = "mediatek,mt8186", },
 	{ .compatible = "mediatek,mt8365", },
 	{ .compatible = "mediatek,mt8516", },
 
-- 
2.35.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Re: [PATCH] cpufreq: Add MT8186 to cpufreq-dt-platdev blocklist

From: Matthias Brugger <matthias.bgg@gmail.com>
Date: 2022-06-17 10:17:02


On 17/06/2022 11:06, AngeloGioacchino Del Regno wrote:
This SoC shall use the mediatek-cpufreq driver, or the system will
crash upon any clock scaling request: add it to the cpufreq-dt-platdev
blocklist.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Fixes: 39b360102f3a ("cpufreq: mediatek: Add support for MT8186")
Fixes tag should be before any Rb, SoB etc tags.

With that:
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
quoted hunk
---
  drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
  1 file changed, 1 insertion(+)
diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index 96de1536e1cb..2c96de3f2d83 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -127,6 +127,7 @@ static const struct of_device_id blocklist[] __initconst = {
  	{ .compatible = "mediatek,mt8173", },
  	{ .compatible = "mediatek,mt8176", },
  	{ .compatible = "mediatek,mt8183", },
+	{ .compatible = "mediatek,mt8186", },
  	{ .compatible = "mediatek,mt8365", },
  	{ .compatible = "mediatek,mt8516", },
  
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Re: [PATCH] cpufreq: Add MT8186 to cpufreq-dt-platdev blocklist

From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Date: 2022-06-17 10:48:52

Il 17/06/22 12:16, Matthias Brugger ha scritto:

On 17/06/2022 11:06, AngeloGioacchino Del Regno wrote:
quoted
This SoC shall use the mediatek-cpufreq driver, or the system will
crash upon any clock scaling request: add it to the cpufreq-dt-platdev
blocklist.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Fixes: 39b360102f3a ("cpufreq: mediatek: Add support for MT8186")
Fixes tag should be before any Rb, SoB etc tags.
Oh wow, I really did that.

Sorry, I'll send a v2 in a minute or two.
With that:
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
quoted
---
  drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
  1 file changed, 1 insertion(+)
diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c 
b/drivers/cpufreq/cpufreq-dt-platdev.c
index 96de1536e1cb..2c96de3f2d83 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -127,6 +127,7 @@ static const struct of_device_id blocklist[] __initconst = {
      { .compatible = "mediatek,mt8173", },
      { .compatible = "mediatek,mt8176", },
      { .compatible = "mediatek,mt8183", },
+    { .compatible = "mediatek,mt8186", },
      { .compatible = "mediatek,mt8365", },
      { .compatible = "mediatek,mt8516", },


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help