]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
cpufreq: airoha: Add support for AN7583 SoC
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 9 Aug 2025 11:28:30 +0000 (13:28 +0200)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 11 Aug 2025 06:49:20 +0000 (12:19 +0530)
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.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/airoha-cpufreq.c
drivers/cpufreq/cpufreq-dt-platdev.c

index 4fe39eadd1633757a6da8fcbe8d96adf106418c5..b6b1cdc4d11d69626c63c7ac74e163ca690999d4 100644 (file)
@@ -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" },
        {},
 };
index 015dd393eaba5996c8c1174a0ced0e2b4a056010..0f954b07dcb35207bfa83f883ff8ef445f98794e 100644 (file)
@@ -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" },