summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hemp <c.hemp@phytec.de>2013-07-23 10:39:17 +0200
committerJustin Waters <justin.waters@timesys.com>2013-11-07 12:19:35 -0500
commit5b5a39005be0ce14428aa19ea37dd2d54cb3209f (patch)
treea6df8299ae784a7e0b23f4b9e881d90614e424cb
parentc33d529516ac11c478dbc04a579f7c655f6d13c0 (diff)
phyFLEX-i.MX6: Add busfreq
The busfreq function support is in the kernel since: commit 32ea8aa56866047e100c6600cf663aaf786d8dbe Author: Ranjani Vaidyanathan <ra5478@freescale.com> Date: Tue Feb 7 14:34:13 2012 -0600 |ENGR00179574: MX6- Add bus frequency scaling support | |Add support for scaling the bus frequency (both DDR |and ahb_clk). |The DDR and AHB_CLK are dropped to 24MHz when all devices |that need high AHB frequency are disabled and the CORE |frequency is at the lowest setpoint. |The DDR is dropped to 400MHz for the video playback usecase. |In this mode the GPU, FEC, SATA etc are disabled. | |To scale the bus frequency, its necessary that all cores |except the core that is executing the DDR frequency change |are in WFE. This is achieved by generating interrupts on |un-used interrupts (Int no 139, 144, 145 and 146). | |Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
-rw-r--r--arch/arm/mach-mx6/board-mx6q_phyflex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_phyflex.c b/arch/arm/mach-mx6/board-mx6q_phyflex.c
index 075c43b5c0a2..d5462bccc514 100644
--- a/arch/arm/mach-mx6/board-mx6q_phyflex.c
+++ b/arch/arm/mach-mx6/board-mx6q_phyflex.c
@@ -1535,14 +1535,14 @@ static void __init mx6_phyflex_init(void)
imx6q_add_mxc_pwm_backlight(0, &mx6_phyflex_pwm_backlight_data0);
imx6q_add_mxc_pwm_backlight(1, &mx6_phyflex_pwm_backlight_data1);
- /* PCI Express initialization */
- imx6q_add_pcie(&mx6_phyflex_pcie_data);
-
imx6q_add_perfmon(0);
imx6q_add_perfmon(1);
imx6q_add_perfmon(2);
// imx6q_add_mlb150(&mx6_phyflex_mlb150_data);
+ /* PCI Express initialization */
+ imx6q_add_pcie(&mx6_phyflex_pcie_data);
+ imx6q_add_busfreq();
/* 1-wire devices registration */
platform_device_register(&w1_device);