airoha: make PM domain driver working for AN7583

Add SoC compatible for AN7583 to PM domain driver (the cpufreq driver
already has it).

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
This commit is contained in:
Daniel Schwierzeck 2026-07-17 11:26:45 +02:00 committed by Robert Marko
parent 3458057195
commit 044d2f52cb
2 changed files with 24 additions and 1 deletions

View file

@ -98,7 +98,7 @@
};
cpufreq: cpufreq {
compatible = "airoha,en7581-cpufreq";
compatible = "airoha,an7583-cpufreq";
operating-points-v2 = <&cpu_smcc_opp_table>;

View file

@ -0,0 +1,23 @@
From bde765ccfa16e3f456dca3297b4914f4a82d1da3 Mon Sep 17 00:00:00 2001
From: Daniel Schwierzeck <daniel.schwierzeck@zyxel.eu>
Date: Wed, 8 Jul 2026 18:13:36 +0200
Subject: [PATCH] pmdomain: airoha: Add AN7583 cpufreq compatible
Add the SoC compatible to enable cpufreq power domain support
for the AN7583 SoC.
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@zyxel.eu>
---
drivers/pmdomain/mediatek/airoha-cpu-pmdomain.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/pmdomain/mediatek/airoha-cpu-pmdomain.c
+++ b/drivers/pmdomain/mediatek/airoha-cpu-pmdomain.c
@@ -124,6 +124,7 @@ static void airoha_cpu_pmdomain_remove(s
}
static const struct of_device_id airoha_cpu_pmdomain_of_match[] = {
+ { .compatible = "airoha,an7583-cpufreq" },
{ .compatible = "airoha,en7581-cpufreq" },
{ },
};