[7/7] ARM: imx: imx7ulp: create cpufreq device
diff mbox series

Message ID 1580823277-13644-8-git-send-email-peng.fan@nxp.com
State New
Headers show
Series
  • Untitled series #156706
Related show

Commit Message

Peng Fan Feb. 4, 2020, 1:34 p.m. UTC
From: Peng Fan <peng.fan@nxp.com>

Create cpufreq device to let cpufreq driver could probe

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

Patch
diff mbox series

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();
 }