Messages in this thread Patch in this message |  | | From | peng.fan@nxp ... | Subject | [PATCH 7/7] ARM: imx: imx7ulp: create cpufreq device | Date | Tue, 4 Feb 2020 21:34:37 +0800 |
| |
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(+)
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
|  |