mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
ARM: imx7ulp: enable cpufreq
Enable cpufreq for i.MX7ULP when imx cpufreq dt driver enabled. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
b154d8d8ba
commit
cf4ff9618d
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user