diff options
author | Anson Huang <b20788@freescale.com> | 2014-06-25 13:10:12 +0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-09-16 06:06:45 +0400 |
commit | 47526e410d32f749d78ce2655b6eeb2bffd9ed3d (patch) | |
tree | 5813a89842bcd57e89919580a0b7a2b07f997b3e /arch/arm/mach-imx/mach-imx6sx.c | |
parent | 3b18dd7a86f925951c8543339f8137a80fa40891 (diff) | |
download | linux-47526e410d32f749d78ce2655b6eeb2bffd9ed3d.tar.xz |
ARM: imx: add cpufreq support for i.mx6sx
Add cpufreq support for i.MX6SX, using common
i.MX6Q cpufreq driver.
Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx6sx.c')
-rw-r--r-- | arch/arm/mach-imx/mach-imx6sx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mach-imx6sx.c b/arch/arm/mach-imx/mach-imx6sx.c index 673a734165ba..3de3b7369aef 100644 --- a/arch/arm/mach-imx/mach-imx6sx.c +++ b/arch/arm/mach-imx/mach-imx6sx.c @@ -42,6 +42,9 @@ static void __init imx6sx_init_irq(void) static void __init imx6sx_init_late(void) { imx6q_cpuidle_init(); + + if (IS_ENABLED(CONFIG_ARM_IMX6Q_CPUFREQ)) + platform_device_register_simple("imx6q-cpufreq", -1, NULL, 0); } static const char * const imx6sx_dt_compat[] __initconst = { |