From: Walter Lozano Date: Tue, 14 Jul 2020 18:43:56 +0000 (-0300) Subject: cpufreq: imx: Select NVMEM_IMX_OCOTP X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~1487^2~1^2~4 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=2782ef34ed23;p=linux.git 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 Signed-off-by: Viresh Kumar --- 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.