From: Peng Fan <[email protected]>
Enable cpufreq for i.MX7ULP when imx cpufreq dt driver enabled.
Signed-off-by: Peng Fan <[email protected]>
---
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
> From: Peng Fan <[email protected]>
> Sent: Friday, September 11, 2020 11:32 AM
>
>
> Enable cpufreq for i.MX7ULP when imx cpufreq dt driver enabled.
>
> Signed-off-by: Peng Fan <[email protected]>
Reviewed-by: Dong Aisheng <[email protected]>
Regards
Aisheng
On Fri, Sep 11, 2020 at 11:31:44AM +0800, [email protected] wrote:
> From: Peng Fan <[email protected]>
>
> Enable cpufreq for i.MX7ULP when imx cpufreq dt driver enabled.
>
> Signed-off-by: Peng Fan <[email protected]>
Applied, thanks.