linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cpufreq: imx: Select NVMEM_IMX_OCOTP
@ 2020-07-14 18:43 Walter Lozano
  2020-07-15  3:44 ` Viresh Kumar
  0 siblings, 1 reply; 2+ messages in thread
From: Walter Lozano @ 2020-07-14 18:43 UTC (permalink / raw)
  To: rjw, viresh.kumar, linux-pm, linux-kernel; +Cc: kernel, Walter Lozano

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>
---
 drivers/cpufreq/Kconfig.arm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index c6cbfc8baf72..ce0227c429cf 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -93,6 +93,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.
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] cpufreq: imx: Select NVMEM_IMX_OCOTP
  2020-07-14 18:43 [PATCH] cpufreq: imx: Select NVMEM_IMX_OCOTP Walter Lozano
@ 2020-07-15  3:44 ` Viresh Kumar
  0 siblings, 0 replies; 2+ messages in thread
From: Viresh Kumar @ 2020-07-15  3:44 UTC (permalink / raw)
  To: Walter Lozano; +Cc: rjw, linux-pm, linux-kernel, kernel

On 14-07-20, 15:43, Walter Lozano wrote:
> 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>
> ---
>  drivers/cpufreq/Kconfig.arm | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
> index c6cbfc8baf72..ce0227c429cf 100644
> --- a/drivers/cpufreq/Kconfig.arm
> +++ b/drivers/cpufreq/Kconfig.arm
> @@ -93,6 +93,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.

Applied. Thanks.

-- 
viresh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-15  3:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-14 18:43 [PATCH] cpufreq: imx: Select NVMEM_IMX_OCOTP Walter Lozano
2020-07-15  3:44 ` Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).