* [PATCH] ARM: imx7ulp: enable cpufreq
@ 2020-09-11 3:31 peng.fan
2020-09-11 6:22 ` Aisheng Dong
2020-09-13 3:06 ` Shawn Guo
0 siblings, 2 replies; 3+ 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] 3+ messages in thread* RE: [PATCH] ARM: imx7ulp: enable cpufreq
2020-09-11 3:31 [PATCH] ARM: imx7ulp: enable cpufreq peng.fan
@ 2020-09-11 6:22 ` Aisheng Dong
2020-09-13 3:06 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Aisheng Dong @ 2020-09-11 6:22 UTC (permalink / raw)
To: Peng Fan, shawnguo@kernel.org, s.hauer@pengutronix.de,
festevam@gmail.com, Abel Vesa
Cc: kernel@pengutronix.de, dl-linux-imx, Anson Huang,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
> 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] 3+ messages in thread
* Re: [PATCH] ARM: imx7ulp: enable cpufreq
2020-09-11 3:31 [PATCH] ARM: imx7ulp: enable cpufreq peng.fan
2020-09-11 6:22 ` Aisheng Dong
@ 2020-09-13 3:06 ` Shawn Guo
1 sibling, 0 replies; 3+ 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] 3+ messages in thread
end of thread, other threads:[~2020-09-13 3:06 UTC | newest]
Thread overview: 3+ 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 6:22 ` Aisheng Dong
2020-09-13 3:06 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox