Skip to contentSkip to conversation

cpufreq: airoha: Add support for AN7583 SoC

PATCH Applied Christian Marangi 2 participants 2 messages Aug 9, 2025 – Aug 11, 2025 CPU frequency scaling framework

v1 of 4 Applied Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpufreq: airoha: Add support for AN7583 SoC

New Airoha AN7583 SoC use the same exact logic to control the CPU frequency. Add the Device compatible to the block list for cpufreq-dt-plat and to the Airoha CPUFreq driver compatible list.

---
 drivers/cpufreq/airoha-cpufreq.c     | 1 +
 drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
 2 files changed, 2 insertions(+)
drivers/cpufreq/airoha-cpufreq.c +1 -0
index 4fe39eadd163..b6b1cdc4d11d 100644
@@ -107,6 +107,7 @@ static struct platform_driver airoha_cpufreq_driver = {
 };
 
 static const struct of_device_id airoha_cpufreq_match_list[] __initconst = {
+	{ .compatible = "airoha,an7583" },
 	{ .compatible = "airoha,en7581" },
 	{},
 };
drivers/cpufreq/cpufreq-dt-platdev.c +1 -0
index a010da0f6337..7a01c0ae904a 100644
@@ -103,6 +103,7 @@ static const struct of_device_id allowlist[] __initconst = {
  * platforms using "operating-points-v2" property.
  */
 static const struct of_device_id blocklist[] __initconst = {
+	{ .compatible = "airoha,an7583", },
 	{ .compatible = "airoha,en7581", },
 
 	{ .compatible = "allwinner,sun50i-a100" },
Signature · 1 line
2.50.0
maintainer Applied
#1 lore raw
Quoted 9 lines · Christian Marangi

New Airoha AN7583 SoC use the same exact logic to control the CPU frequency. Add the Device compatible to the block list for cpufreq-dt-plat and to the Airoha CPUFreq driver compatible list.

---
 drivers/cpufreq/airoha-cpufreq.c     | 1 +
 drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
 2 files changed, 2 insertions(+)

Applied. Thanks.

Signature · 1 line
viresh