Skip to contentSkip to conversation

ARM: imx7ulp: enable cpufreq

PATCH Applied [email protected] 3 participants 3 messages Sep 11, 2020 – Sep 13, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: imx7ulp: enable cpufreq

From: Peng Fan <[email protected]>

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

---
 arch/arm/mach-imx/mach-imx7ulp.c | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/mach-imx/mach-imx7ulp.c +3 -0
index 128cf4c92aab..445256e6a4a0 100644
@@ -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();
 }
 
Signature · 1 line
2.28.0