summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/Kconfig.arm
diff options
context:
space:
mode:
authorSricharan R <sricharan@codeaurora.org>2019-07-25 12:41:31 +0200
committerViresh Kumar <viresh.kumar@linaro.org>2019-09-03 07:55:00 +0530
commit7d12709544b8b3fb9727a34a664b8380e1e3493a (patch)
tree49958927ca1f9f7502d0166fffb8265bbe78697b /drivers/cpufreq/Kconfig.arm
parent475a21e0eade5227488d97aebeaa882b16f38ca1 (diff)
downloadlwn-7d12709544b8b3fb9727a34a664b8380e1e3493a.tar.gz
lwn-7d12709544b8b3fb9727a34a664b8380e1e3493a.zip
cpufreq: qcom: Re-organise kryo cpufreq to use it for other nvmem based qcom socs
The kryo cpufreq driver reads the nvmem cell and uses that data to populate the opps. There are other qcom cpufreq socs like krait which does similar thing. Except for the interpretation of the read data, rest of the driver is same for both the cases. So pull the common things out for reuse. Signed-off-by: Sricharan R <sricharan@codeaurora.org> [niklas.cassel@linaro.org: split dt-binding into a separate patch and do not rename the compatible string. Update MAINTAINERS file.] Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org> Reviewed-by: Ilia Lin <ilia.lin@kernel.org> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/Kconfig.arm')
-rw-r--r--drivers/cpufreq/Kconfig.arm4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index 56c31a78c692..b1aa485a28dd 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -120,8 +120,8 @@ config ARM_OMAP2PLUS_CPUFREQ
depends on ARCH_OMAP2PLUS
default ARCH_OMAP2PLUS
-config ARM_QCOM_CPUFREQ_KRYO
- tristate "Qualcomm Kryo based CPUFreq"
+config ARM_QCOM_CPUFREQ_NVMEM
+ tristate "Qualcomm nvmem based CPUFreq"
depends on ARM64
depends on QCOM_QFPROM
depends on QCOM_SMEM