cpufreq: airoha: Add EN7581 CPUFreq SMCCC driver
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 9 Jan 2025 13:12:58 +0000 (14:12 +0100)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 17 Jan 2025 03:35:07 +0000 (09:05 +0530)
commit84cf9e541cccb8cb698518a9897942e8c78f1d83
tree0cf026881377bb034de8f4fcbe1481faea3825aa
parentaf6cc45af3db12f452bfdc9a515da54b56412756
cpufreq: airoha: Add EN7581 CPUFreq SMCCC driver

Add simple CPU Freq driver for Airoha EN7581 SoC that control CPU
frequency scaling with SMC APIs and register a generic "cpufreq-dt"
device.

All CPU share the same frequency and can't be controlled independently.
CPU frequency is controlled by the attached PM domain.

Add SoC compatible to cpufreq-dt-plat block list as a dedicated cpufreq
driver is needed with OPP v2 nodes declared in DTS.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/Kconfig.arm
drivers/cpufreq/Makefile
drivers/cpufreq/airoha-cpufreq.c [new file with mode: 0644]
drivers/cpufreq/cpufreq-dt-platdev.c