]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dt-bindings: cpufreq: Document support for Airoha EN7581 CPUFreq
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 6 Dec 2024 21:11:24 +0000 (22:11 +0100)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 23 Dec 2024 10:56:44 +0000 (16:26 +0530)
commitab16dfb99cb565fb21ddf29320890c7bad35024c
treeeaf0a23489f6a0eb93af344442d1911316817674
parentf1f010c9d9c62c865d9f54e94075800ba764b4d9
dt-bindings: cpufreq: Document support for Airoha EN7581 CPUFreq

On newer Airoha SoC, CPU Frequency is scaled indirectly with SMC commands
to ATF.

A virtual clock is exposed. This virtual clock is a get-only clock and
is used to expose the current global CPU clock. The frequency info comes
by the output of the SMC command that reports the clock in MHz.

The SMC sets the CPU clock by providing an index, this is modelled as
performance states in a power domain.

CPUs can't be individually scaled as the CPU frequency is shared across
all CPUs and is global.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Documentation/devicetree/bindings/cpufreq/airoha,en7581-cpufreq.yaml [new file with mode: 0644]