cpufreq: scmi: Prepare to move OF parsing of domain-id to cpufreq
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 25 Aug 2023 11:26:23 +0000 (13:26 +0200)
committerSudeep Holla <sudeep.holla@arm.com>
Thu, 21 Sep 2023 15:24:27 +0000 (16:24 +0100)
commite336baa4193ecc788a06c0c4659e400bb53689b4
treeb4930db0a66758e49b4e4428b2c8e06b011145f4
parent3d99ed60721bf2e108c8fc660775766057689a92
cpufreq: scmi: Prepare to move OF parsing of domain-id to cpufreq

The OF parsing of the clock domain specifier seems to better belong in the
scmi cpufreq driver, rather than being implemented behind the generic
->device_domain_id() perf protocol ops.

To prepare to remove the ->device_domain_id() ops, let's implement the OF
parsing in the scmi cpufreq driver instead.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20230825112633.236607-4-ulf.hansson@linaro.org
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/cpufreq/scmi-cpufreq.c