From 5b5a39005be0ce14428aa19ea37dd2d54cb3209f Mon Sep 17 00:00:00 2001 From: Christian Hemp Date: Tue, 23 Jul 2013 10:39:17 +0200 Subject: phyFLEX-i.MX6: Add busfreq The busfreq function support is in the kernel since: commit 32ea8aa56866047e100c6600cf663aaf786d8dbe Author: Ranjani Vaidyanathan 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 Signed-off-by: Christian Hemp --- arch/arm/mach-mx6/board-mx6q_phyflex.c | 6 +++--- 1 file 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); -- cgit v1.2.3