aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter Lozano2020-07-14 15:43:56 -0300
committerViresh Kumar2020-07-30 10:57:50 +0530
commit2782ef34ed230e1b8dbea9ad46e5fc2ca6cfecfb (patch)
tree46f408de66550b391e5dc8c89c134d81ebb88457
parent34adbcbd0acc1dfa0d40dc1be1c69ba0df555d1a (diff)
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>
-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.