linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2] ARM: imx: add cpufreq support for i.mx6sx
@ 2014-06-25  9:10 Anson Huang
  2014-06-25  9:33 ` Viresh Kumar
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Anson Huang @ 2014-06-25  9:10 UTC (permalink / raw)
  To: linux-arm-kernel

Add cpufreq support for i.MX6SX, using common
i.MX6Q cpufreq driver.

Signed-off-by: Anson Huang <b20788@freescale.com>
---
 arch/arm/mach-imx/mach-imx6sx.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-imx/mach-imx6sx.c b/arch/arm/mach-imx/mach-imx6sx.c
index 74ff7d6..9221e1d 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 *imx6sx_dt_compat[] __initconst = {
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-08-18  5:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-25  9:10 [PATCH V2] ARM: imx: add cpufreq support for i.mx6sx Anson Huang
2014-06-25  9:33 ` Viresh Kumar
2014-06-25 16:14 ` Shawn Guo
2014-06-26  1:23 ` Fabio Estevam
2014-06-26  1:55   ` Fabio Estevam
2014-06-26  2:53   ` Anson.Huang at freescale.com
2014-06-26  3:06     ` Fabio Estevam
2014-06-26  3:11       ` Fabio Estevam
2014-06-26  3:15         ` Anson.Huang at freescale.com
2014-06-26  3:21           ` Fabio Estevam
2014-06-26  3:21         ` Shawn Guo
2014-06-26  5:54   ` Shawn Guo
2014-06-26  7:34     ` Anson.Huang at freescale.com
2014-08-18  5:24     ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).