cpufreq: qcom-nvmem: Introduce cpufreq for ipq95xx
authorVaradarajan Narayanan <quic_varada@quicinc.com>
Tue, 31 Oct 2023 07:11:39 +0000 (12:41 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 2 Nov 2023 05:34:53 +0000 (11:04 +0530)
commit5b5b5806f22390808b8e8fa180fe35b003a4a74d
treee32129ccb8a7768c7e13114c1f42ae5a2851ec66
parentba5a61a08d83b18b99c461b4ddb9009947a4aa0e
cpufreq: qcom-nvmem: Introduce cpufreq for ipq95xx

IPQ95xx SoCs have different OPPs available for the CPU based on
the SoC variant. This can be determined from an eFuse register
present in the silicon.

Added support for ipq95xx on nvmem driver which helps to
determine OPPs at runtime based on the eFuse register which
has the CPU frequency limits. opp-supported-hw dt binding
can be used to indicate the available OPPs for each limit.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Praveenkumar I <ipkumar@codeaurora.org>
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com>
[ Viresh: Fixed subject ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/cpufreq-dt-platdev.c
drivers/cpufreq/qcom-cpufreq-nvmem.c