summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc
AgeCommit message (Collapse)Author
2011-02-14Digi Release Code - 02142011 Missing Files Fix2.6.31-digi-201102141503Ian Wisbon
2011-02-10Linux 2.6.31 Release for Digi ConnectCore Wi-i.MX boardsIan Wisbon
Digi 01262011 Release
2010-06-30ENGR00123325-1 Increase DMA zone to 96M on mx5xSammy He
Increase DMA zone to 96M to fix memory not enough issue with 1080p video playback. Signed-off-by: Sammy He <r62914@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-06-23ccwmx51: Do not unconditionally set the PMIC as a suspend wake up sourceAlejandro Gonzalez
This behaviour was causing that even when the user has not explicitely set a wakeup source the system was suspending without a way to awake. With this change the RTC wake up source is set up when its suspend method is called, making it possible to check for enabled wake up sources on the platform suspend enter. Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-26ccwmx51js: Extend th memory map to include the NAND flash base address.Alejandro Gonzalez
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00122789: Fixed long-term video playback issue.Ranjani Vaidyanathan-RA5478
Fixed long-term video playback issue due to incorrect increment of clock usecount. Fixed various bugs associated with system entering LP-APM mode. Fixed incorrect enabling of PLL3 that was not allowing system to enter LP-APM mode if TVE was built in. EMI_GARB clock needs to be enabled when certain clock dividers are changed. Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00122290-1 MX5x Enable SCC2 and SAHARA driversAnish Trivedi
Machine layer changes for MX51 and MX53 for SCC driver in order to pass base address for registers and ram as resources Signed-off-by: Anish Trivedi <anish@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121291 System can not suspend after RTC alarm wakeupXinyu Chen
The set irq type routing of GPIO irqchip did not set the correct handler when user want to set it's trigger mode to level. The PMIC irq request as level trigger, but actually, handle_edge_irq is set. PMIC irq handler disables the irq, and re-enable it after all event callbacks complete in thread. Therefore edge irq handle can not handle this pending irq case correctly, left the IRQ_PENDING flag always on. This made the kernel refuse to enter suspend mode. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121963-1 MX53: Add ARM2 CPU board supportLily Zhang
1. Add basic support for MX53 ARM2 CPU board. 2. Bit 11-8 in system_rev is used to indicate board version. If Bit 11-8 is 1, it's ARM2 CPU board. Otherwise, it's EVK board. To run kernel image on ARM2 CPU board, the user can add command option "system_rev=0x53110" in launch command line. Signed-off-by: Lily Zhang <r58066@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121913 Add sched_clock support to i.mx platformXinyu Chen
Add sched_clock() implement for i.mx platform to support nanosecond resolution time for sched clock used by scheduler. This case is found by running Android's CTS case: android.os.cts.DebugTest, which tests the clock_gettime with CLOCK_THREAD_CPUTIME_ID clock, and needs nanosecond resolution sched clock. It returns 0 before timer initialize, return GPT counter after that. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121922 ipuv3: move ipu reset function to MSLJason Chen
move ipu reset function to MSL. Signed-off-by: Jason Chen <b02280@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121951: MX51: Fix system crash when DVFS-PER is enabledRanjani Vaidyanathan-RA5478
Enabling DVFS-PER during video playback caused system to crash. Also fixed warnings associated with dvfs_core resources. Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121762-1 mx5: enable run-time physoffsetRob Herring
This enables a single kernel image on MX5x parts using run-time phys_offset. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121677-1 MX53 PWM: PWM backlight supportWilliam Lai
Backlight based on PWM support on MX53 EVK Signed-off-by: William Lai <b04597@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121761: imx change cpu_is_X_rev from inline to macros.Rob Herring
This avoids linker error in decompress code for multi arch builds. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121651 MX53: Add support for USBDinh Nguyen
Move USB initialization to be board specific functions and add USB support for MX53. Renamed USB phy clocks to usb_phy1_clk and usb_phy2_clk to distinguish between different PHY clocks for USB. Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com> Signed-off-by: Jun Li <r65092@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121109 MX53: Add MSL layerDinh Nguyen
Added MSL layer for MX53 with changes in MX51 for single kernel boot support. Added CCGR clocking changes. Fixed SDHC clock dependencies. Fix emi_intr clocks and fix warnings in clock code. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Lily Zhang <r58066@freescale.com> Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com> Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com> Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121615 Remove duplicate definition of fec_platform_data in header fileSam Yang
new definition ready in include/linux/fec.h. remove old mxc definition from arch/arm/plat-mxc/include/mach/mxc.h Signed-off-by: Sam Yang <r52096@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121416 mx31: Fix build failure due to vpu restructureSammy He
Fix build failure due to vpu driver code restructure Signed-off-by: Sammy He <r62914@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00119078 MX25:Fix a USB remote wakeup issueNiu Xule
The Host2 USB controller On mx25 platform is no path available from internal USB FS PHY to FS PHY wake up interrupt, So to remove the function of USB Remote Wakeup on Host2. Signed-off-by: Niu Xule <b23300@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121388 imx: make sdma a platform deviceRob Herring
Convert sdma to a platform device and driver. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121365 mxcuart: rework early uart consoleRob Herring
Rework early uart to pass in uart base and clock ptr from board. Now early console for ttymxc is always enabled and mxcuart console is not needed. Add fix work-around u-boot illegal uart setup. uboot sets fifo trigger levels to reserved values which breaks early uart console. Use TXFE instead of TRDY. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121097-1 Restructure vpu code to remove IO_ADDRESSSammy He
Restructure vpu code to remove IO_ADDRESS, and add iram allocator in vpu driver. Signed-off-by: Sammy He <r62914@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121296: imx51: rename mx51 to mx5Rob Herring
Rename mx51 to mx5 for common source for MX5x family Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121004: MX51: Added code to move LP to 24MHz OSC in lpapm mode.Ranjani Vaidyanathan-RA5478
Moved the main_bus_clk to be sourced from 24MHz clock when in LPAPM mode. Also moved UART to be sourced from PLL1 instead of PLL2. Added a bootup flag debug_uart which when ON will allow UART to be sourced from LPAPM. Saves more power in LPAPM mode. Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121061 Fix compile errors for USB IRAM kconfig optionsDinh Nguyen
Need to define USB_IRAM_SIZE for all current platforms that uses Gadget. Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00119731 MX51: Correct USBCTRL register for USBHOST2Lily Zhang
MX51 should use USBCTRL_HOST2 for USBHOST2 ULPI interface. This change was requested by the support team. MX51 3DS/EVK boards can not test USBHOST2 Signed-off-by: Lily Zhang <r58066@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121003 Fix IRAM enabling for USB Gadget driverDinh Nguyen
In order to add IRAM to the USB Gadget driver, there are 2 kconfig options to enable. One kconfig option was for USB host and the other was for Gadget. The current SW required both kconfig to be enable which is confusing. Also need to add iram_alloc function in the Gadget driver. Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00120957-2 restructure usb device registrationRob Herring
Clean-up USB related Kconfigs. Remove the transceiver selections as this is defined by the chip/board and is selected in platform data. Use usb device resources defined in devices.c and fix resource sharing. Use common otg transceiver functions. Remove unnecessary OTG ifdefs. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00120957-1 mx51: restructure device resources and registrationRob Herring
Separate resources and platform devices from platform data. Move platform data and device registration to board files. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120394-5 imx: Remove IO_ADDRESS usage for peripheral dvfsRob Herring
Replace static mappings with dynamic mapping in peripheral DFVS. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120394-4 mx51: Clean-up IO_ADDRESS usageRob Herring
Replace static mappings with dynamic mapping in MX51 MSL. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120394-2 imx: make tzic use dynamic base addressRob Herring
Different chips have TZIC interrupt controller at different addresses, so make the mapping dynamic. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120394-1 imx: remove unneeded spba related codeRob Herring
The spba defaults to all masters enabled and this is fine as all chips only have ARM and SDMA as masters. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120393-5 imx: convert platform code to use iram allocatorRob Herring
Convert all i.MX platforms over to iram allocator functions. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120393-1 imx: Add iram allocator functionsRob Herring
Add iram allocation functions using GENERIC_ALLOCATOR. The allocation size is 4KB multiples to guarantee alignment. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120455-2 CAN: Pass the default setting through platform_dataWilliam Lai
Add the predefined parameters' definition in the flexcan_platform_data structure. Signed-off-by: William Lai <b04597@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120539 MX25: Fix GPIO3_BASE_ADDR definition incorrect issueSammy He
Fix GPIO3_BASE_ADDR definition incorrect issue Signed-off-by: Sammy He <r62914@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120342 Fix TZIC Base address for MX51 TO2 and TO3Dinh Nguyen
The TZIC base address for MX51 non TO1 is defined as 0xE0003000, but the according the MX51 TO2 Ref Manual, it should be 0xE0000000. The reason the system still works with this error is because the TZIC registers are mirrored at offset 0x3000. Signed-off-by: Dinh L. Nguyen <Dinh.Nguyen@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120054 MX51: Increase VPU IRAM size to support decoderSammy He
Increase VPU IRAM size to support decoder Signed-off-by: Sammy He <r62914@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120126 mx51: add mem resources in platform device for gpu2d and gpu3d.Wu Guoxing
mx51: add mem resources in platform device for gpu2d and gpu3d registers. Signed-off-by: Wu Guoxing <b02248@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00119899 Add FEC iomux config and PHY reset.Jun Li
FEC driver of 2.6.31 kernel remove pin iomux config and PHY reset, which is in fec_gpio_active() needed for i.MX25 and i.MX35. Signed-off-by: Li Jun <r65092@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-04-14ccwmx51: Fix compilation errors when disabling IMX frequency scalingAlejandro Gonzalez
This is sometimes used in tests. Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-03-26ccwmx51: The iMX51 does not define a wdog clockAlejandro Gonzalez
Downgrade the warning message from the generic mxc watchdog driver to debug level. Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-02-23ccwmx51: add support for SDIO interface connected to the redpine modulePedro Perez de Heredia
This commit adds support for the SD interface (SDIO2) connected with the redpine wireless module. It implements a simple mechanism to pass quirks per interface, using the platform support. Signed-off-by: Pedro Perez de Heredia <pedro.perez@digi.com>
2010-02-15CCWMX51: Compilation and runtime issues for Linux-2.6.31Alejandro Gonzalez
Fix compilation errors and warnings and initialize FEC ethernet driver. Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-02-12ccwmx51: add support for TFT LCD displaysPedro Perez de Heredia
Signed-off-by: Pedro Perez de Heredia <pedro.perez@digi.com>
2010-02-12ENGR00119263: MX51 : Fix pll_set_rate functionRanjani Vaidyanathan-RA5478
pll_set_rate function should only wait for PLL relock if PLL is enabled. Also add a timeout to the infinte loop. Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
2010-02-12ENGR00119202: Fix DVFS-PER related bugs.Ranjani Vaidyanathan-RA5478
DVFS-PER needs to make sure that the pixel clock divider is an even integer. Added support for pixel clock being sourced from an external clock (PLL3) Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
2010-02-12ENGR00119022 MX51: fix PWM backlight blinkKatherine Lu
fix PWM backlight blink Signed-off-by: Katherine Lu <katherine.lu@freescale.com>