[PATCH 7/7] ARM: imx: imx7ulp: create cpufreq device

From: peng . fan
Date: Tue Feb 04 2020 - 08:41:47 EST


From: Peng Fan <peng.fan@xxxxxxx>

Create cpufreq device to let cpufreq driver could probe

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

diff --git a/arch/arm/mach-imx/mach-imx7ulp.c b/arch/arm/mach-imx/mach-imx7ulp.c
index 128cf4c92aab..fc44fb4ca48b 100644
--- a/arch/arm/mach-imx/mach-imx7ulp.c
+++ b/arch/arm/mach-imx/mach-imx7ulp.c
@@ -67,6 +67,8 @@ static const char *const imx7ulp_dt_compat[] __initconst = {

static void __init imx7ulp_init_late(void)
{
+ platform_device_register_simple("cpufreq-dt", -1, NULL, 0);
+
imx7ulp_cpuidle_init();
}

--
2.16.4