All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: imx7ulp: enable cpufreq
@ 2020-09-11  3:31 ` peng.fan
  0 siblings, 0 replies; 6+ messages in thread
From: peng.fan @ 2020-09-11  3:31 UTC (permalink / raw)
  To: shawnguo, s.hauer, festevam, abel.vesa
  Cc: kernel, linux-imx, Anson.Huang, linux-arm-kernel, linux-kernel,
	aisheng.dong, Peng Fan

From: Peng Fan <peng.fan@nxp.com>

Enable cpufreq for i.MX7ULP when imx cpufreq dt driver enabled.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 arch/arm/mach-imx/mach-imx7ulp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-imx/mach-imx7ulp.c b/arch/arm/mach-imx/mach-imx7ulp.c
index 128cf4c92aab..445256e6a4a0 100644
--- a/arch/arm/mach-imx/mach-imx7ulp.c
+++ b/arch/arm/mach-imx/mach-imx7ulp.c
@@ -67,6 +67,9 @@ static const char *const imx7ulp_dt_compat[] __initconst = {
 
 static void __init imx7ulp_init_late(void)
 {
+	if (IS_ENABLED(CONFIG_ARM_IMX_CPUFREQ_DT))
+		platform_device_register_simple("imx-cpufreq-dt", -1, NULL, 0);
+
 	imx7ulp_cpuidle_init();
 }
 
-- 
2.28.0


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

* [PATCH] ARM: imx7ulp: enable cpufreq
@ 2020-09-11  3:31 ` peng.fan
  0 siblings, 0 replies; 6+ messages in thread
From: peng.fan @ 2020-09-11  3:31 UTC (permalink / raw)
  To: shawnguo, s.hauer, festevam, abel.vesa
  Cc: aisheng.dong, Peng Fan, Anson.Huang, linux-kernel, linux-imx,
	kernel, linux-arm-kernel

From: Peng Fan <peng.fan@nxp.com>

Enable cpufreq for i.MX7ULP when imx cpufreq dt driver enabled.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 arch/arm/mach-imx/mach-imx7ulp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-imx/mach-imx7ulp.c b/arch/arm/mach-imx/mach-imx7ulp.c
index 128cf4c92aab..445256e6a4a0 100644
--- a/arch/arm/mach-imx/mach-imx7ulp.c
+++ b/arch/arm/mach-imx/mach-imx7ulp.c
@@ -67,6 +67,9 @@ static const char *const imx7ulp_dt_compat[] __initconst = {
 
 static void __init imx7ulp_init_late(void)
 {
+	if (IS_ENABLED(CONFIG_ARM_IMX_CPUFREQ_DT))
+		platform_device_register_simple("imx-cpufreq-dt", -1, NULL, 0);
+
 	imx7ulp_cpuidle_init();
 }
 
-- 
2.28.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* RE: [PATCH] ARM: imx7ulp: enable cpufreq
  2020-09-11  3:31 ` peng.fan
@ 2020-09-11  6:22   ` Aisheng Dong
  -1 siblings, 0 replies; 6+ messages in thread
From: Aisheng Dong @ 2020-09-11  6:22 UTC (permalink / raw)
  To: Peng Fan, shawnguo, s.hauer, festevam, Abel Vesa
  Cc: kernel, dl-linux-imx, Anson Huang, linux-arm-kernel, linux-kernel

> From: Peng Fan <peng.fan@nxp.com>
> Sent: Friday, September 11, 2020 11:32 AM
> 
> 
> Enable cpufreq for i.MX7ULP when imx cpufreq dt driver enabled.
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>

Regards
Aisheng

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

* RE: [PATCH] ARM: imx7ulp: enable cpufreq
@ 2020-09-11  6:22   ` Aisheng Dong
  0 siblings, 0 replies; 6+ messages in thread
From: Aisheng Dong @ 2020-09-11  6:22 UTC (permalink / raw)
  To: Peng Fan, shawnguo, s.hauer, festevam, Abel Vesa
  Cc: linux-arm-kernel, linux-kernel, dl-linux-imx, kernel, Anson Huang

> From: Peng Fan <peng.fan@nxp.com>
> Sent: Friday, September 11, 2020 11:32 AM
> 
> 
> Enable cpufreq for i.MX7ULP when imx cpufreq dt driver enabled.
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>

Regards
Aisheng
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] ARM: imx7ulp: enable cpufreq
  2020-09-11  3:31 ` peng.fan
@ 2020-09-13  3:06   ` Shawn Guo
  -1 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2020-09-13  3:06 UTC (permalink / raw)
  To: peng.fan
  Cc: s.hauer, festevam, abel.vesa, kernel, linux-imx, Anson.Huang,
	linux-arm-kernel, linux-kernel, aisheng.dong

On Fri, Sep 11, 2020 at 11:31:44AM +0800, peng.fan@nxp.com wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> Enable cpufreq for i.MX7ULP when imx cpufreq dt driver enabled.
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>

Applied, thanks.

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

* Re: [PATCH] ARM: imx7ulp: enable cpufreq
@ 2020-09-13  3:06   ` Shawn Guo
  0 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2020-09-13  3:06 UTC (permalink / raw)
  To: peng.fan
  Cc: aisheng.dong, abel.vesa, Anson.Huang, s.hauer, linux-kernel,
	linux-imx, kernel, festevam, linux-arm-kernel

On Fri, Sep 11, 2020 at 11:31:44AM +0800, peng.fan@nxp.com wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> Enable cpufreq for i.MX7ULP when imx cpufreq dt driver enabled.
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>

Applied, thanks.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-11  3:31 [PATCH] ARM: imx7ulp: enable cpufreq peng.fan
2020-09-11  3:31 ` peng.fan
2020-09-11  6:22 ` Aisheng Dong
2020-09-11  6:22   ` Aisheng Dong
2020-09-13  3:06 ` Shawn Guo
2020-09-13  3:06   ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.