projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b18dd7
)
ARM: imx: add cpufreq support for i.mx6sx
author
Anson Huang
<b20788@freescale.com>
Wed, 25 Jun 2014 09:10:12 +0000
(17:10 +0800)
committer
Shawn Guo
<shawn.guo@freescale.com>
Tue, 16 Sep 2014 02:06:45 +0000
(10:06 +0800)
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>
arch/arm/mach-imx/mach-imx6sx.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-imx/mach-imx6sx.c
b/arch/arm/mach-imx/mach-imx6sx.c
index 673a734165bab93699bff75936ab9b1511bb2a31..3de3b7369aef10ca59968ce9d7a9d89b2d47bec3 100644
(file)
--- 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 = {