summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorWalter Lozano <walter.lozano@collabora.com>2020-07-14 20:43:56 +0200
committerViresh Kumar <viresh.kumar@linaro.org>2020-07-30 07:27:50 +0200
commit2782ef34ed230e1b8dbea9ad46e5fc2ca6cfecfb (patch)
tree46f408de66550b391e5dc8c89c134d81ebb88457 /drivers/cpufreq
parentcpufreq: sti-cpufreq: Fix some formatting and misspelling issues (diff)
downloadlinux-2782ef34ed230e1b8dbea9ad46e5fc2ca6cfecfb.tar.xz
linux-2782ef34ed230e1b8dbea9ad46e5fc2ca6cfecfb.zip
cpufreq: imx: Select NVMEM_IMX_OCOTP
When probing cpufreq for iMX6 the values in the efuse needs to be read which requires NVMEM_IMX_OCOTP. If this option is not enabled, the probe will be deferred forever and cpufreq won't be available. This patch forces the selection of the required configuration option. Signed-off-by: Walter Lozano <walter.lozano@collabora.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/Kconfig.arm1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index a967894c4613..06bdbd10fc74 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -94,6 +94,7 @@ config ARM_IMX6Q_CPUFREQ
tristate "Freescale i.MX6 cpufreq support"
depends on ARCH_MXC
depends on REGULATOR_ANATOP
+ select NVMEM_IMX_OCOTP
select PM_OPP
help
This adds cpufreq driver support for Freescale i.MX6 series SoCs.