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.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
This commit is contained in:
Christian Marangi 2025-08-09 13:28:30 +02:00 committed by Viresh Kumar
parent 32e0d669f3
commit 8640689f17
2 changed files with 2 additions and 0 deletions

View File

@ -107,6 +107,7 @@ static struct platform_driver airoha_cpufreq_driver = {
}; };
static const struct of_device_id airoha_cpufreq_match_list[] __initconst = { static const struct of_device_id airoha_cpufreq_match_list[] __initconst = {
{ .compatible = "airoha,an7583" },
{ .compatible = "airoha,en7581" }, { .compatible = "airoha,en7581" },
{}, {},
}; };

View File

@ -103,6 +103,7 @@ static const struct of_device_id allowlist[] __initconst = {
* platforms using "operating-points-v2" property. * platforms using "operating-points-v2" property.
*/ */
static const struct of_device_id blocklist[] __initconst = { static const struct of_device_id blocklist[] __initconst = {
{ .compatible = "airoha,an7583", },
{ .compatible = "airoha,en7581", }, { .compatible = "airoha,en7581", },
{ .compatible = "allwinner,sun50i-a100" }, { .compatible = "allwinner,sun50i-a100" },