Commit Graph

32 Commits

Author SHA1 Message Date
Liu Ying
5d7015235b ENGR00125552-1 MX5:Change LDB related video mode names
Make LDB related video mode names be common names because the
video names may be used by other devices besides LVDS panels.

Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit 65ff4bdb388474875d2111b412c6375e0d1ce0c2)
2010-08-10 11:52:07 -05:00
Richard Zhu
a3233fffd6 ENGR00125052-3 Enable the eMMC44 DDR mode on MX53 EVK
The platform related codes' modifications
when enable the eMMC44 DDR mode on MX53 EVK board

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:51:53 -05:00
Liu Ying
07b1b808bb ENGR00124989-2 MX5:Change CLAA-WVGA LCD panel video mode
Set pixel clock rate for CLAA-WVGA LCD panel for 27MHz and
set the display frequency to be 57Hz. This makes the panel
to get rid of water wave glitch issue on MX50 platform.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:51:49 -05:00
Shen Yong
f39d50feb1 ENGR00124132 MX53: busfreq driver support
1. adjust lp_clk, ddr_clk MX53 and MX51 uses different one
2. adjust cpu rate in cpu_wp_table
3. enable clock divider handshaking when ddr clock changing
4. add AHB_MED_SET_POINT to ldb_di_clk
5. adjust the bit define about CCDR register

Signed-off-by: Shen Yong <b00984@freescale.com>
2010-08-10 11:51:48 -05:00
Lily Zhang
0c28025916 ENGR00125045 MX53: Adjust VDDGP voltage setting
1. Adjust VDDGP for 1GHZ as 1.15v
2. Adjust VDDGP for 800MHZ as 1.05v
3. Not all current MX53 boards can run up to 1GHZ. So one limitation is
added into clock.c to limit 1GHZ working point. To enable 1GHZ
working point in kernel, please increase the GP voltage and type the
command "clk core 1000" in uboot console to switch CPU core to 1GHZ.
This limitation will be removed after all boards support 1GHZ.

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:51:42 -05:00
Hu hui
8917d92d1a ENGR00124963 USB: add vbus enable/disable
support imx53 evk board OTG and Host1 vbus active
and inactive to low the power consume, fix fsl_otg.c
build failt, add vbus power control function pointer
in struct fsl_usb2_platform_data.

Signed-off-by: Hu hui <b29976@freescale.com>
2010-08-10 11:51:32 -05:00
Rob Herring
ee073106c8 ENGR00124849-2: mx5: clean-up serial configuration code
The serial device setup code includes board configuration header,
but is common for all boards. So make the configuration common for
all boards and remove the board headers as nothing else is used.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:51:28 -05:00
William Lai
8a6fb9a964 ENGR00124740-3 MX53 : Multi-channel audio support
CS4288 is built in as default for MX53, but with a command parameter
of apc in the commandline to enable.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:51:26 -05:00
Richard Zhu
80d50bfa3f ENGR00124256 Linux platform integrated AHCI SATA driver
Sata can work well on EVK boards, and pass the unit-tests.

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:51:22 -05:00
Sammy He
3e0c7cb2ff ENGR00124683-3 Add ADV7180 TV decoder support on mx53
Add ADV7180 TV decoder support on mx53. OV3640 module must be
removed before ADV7180 TVIN test.

Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:51:16 -05:00
Nancy Chen
27595891b9 ENGR00124287 MX5x, MX37: Fix DVFS memory resource issue
MX5x, MX37: Fix DVFS memory resource issue.

Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-08-10 11:51:06 -05:00
Lily Zhang
48ff3cbb9e ENGR00124326 MX53: Add SPDIF Tx support
Add SPDIF Tx support for MX53 EVK board.
1. Support 44.1KHZ sample rate.
2. 48K and 32K sample rates require 24.576MHZ OSC connected to
CKIH2. But it's "DNP" in EVK.

Test conditions:
1. Connect MX51 Accessory Card with J94 port in EVK.
2. SPDIF_OUT pin conflicts with 12V pin used by CAN feature.
Add "spdif" command option in the command line to enable SPDIF

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:51:05 -05:00
Shen Yong
12aab18ada ENGR00122599 MX53: DVFS-core support
add dvfs-core platform device and device data

Signed-off-by: Shen Yong <b00984@freescale.com>
2010-08-10 11:50:44 -05:00
Liu Ying
7663ac8272 ENGR00122216-1 MX53 MSL:Change for LDB support
This patch includes IOMUX, clock change for LDB
and adds LDB platform device.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:50:17 -05:00
Jason Chen
cedf277fe5 ENGR00122780 ipufb: rework display device setting method
Rework the display command line options to not require new option for
every new display. Add mxcdi0fb/mxcdi1fb option <fmt> and to tell system
what kind of display device is going to use.

Use "di1_primary" to make DI1 the primary display (i.e. fb0).

The display selection is done using video= parameter.

        For example on imx51:

                  di             di_fmt      video_mode
        DVI:      0              RGB24      mxcdi0fb:800x600M-16@60 etc
        DVI-HDMI: 0              RGB24      mxcdi0fb:720P60
        LVDS:     0              LVDS666    mxcdi0fb:XGA
        WVGA lcd: 1              RGB565     mxcdi1fb:800x480M-16@55
        TVE:      1              YUV444     mxcdi1fb:TV-NTSC
                                            mxcdi1fb:TV-PAL
                                            mxcdi1fb:720P60
        For example on imx53:

                  di             di_fmt      video_mode
        DVI:      0              RGB24      mxcdi0fb:800x600M-16@60 etc
        DVI-HDMI: 0              RGB24      mxcdi0fb:720P60
        WVGA lcd: 0              RGB565     mxcdi0fb:800x480M-16@55
        TVE:      1              YUV444     mxcdi1fb:TV-NTSC
                                            mxcdi1fb:TV-PAL
                                            mxcdi1fb:720P60

If you want to set NTSC tv as primary display, and make second display
DI0 as DVI 1024x768 resolution, just add

"di1_primary video=mxcdi0fb:RGB24,1024x768M-16@60 video=mxcdi1fb:YUV444,TV-NTSC"

to cmdline.

Signed-off-by: Rob Herring <r.herring@freescale.com>
Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:50:15 -05:00
Jason Liu
f1e030678c ENGR00123134-1 MX53 NAND mach support
MX53 NAND mach support

Signed-off-by:Jason Liu <r64343@freescale.com>
2010-08-10 11:50:02 -05:00
Rob Herring
029dc724df ENGR00122142-2 imx: fix platforms using fec RMII mode
Add FEC phy interface mode platform data for platforms using RMII.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:49:59 -05:00
Lily Zhang
f039620bae ENGR00123022 MX53: Add SPI NOR support
Add SPI NOR support in MX53 EVK

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:49:48 -05:00
Xinyu Chen
6259fab2ec ENGR00123017 MX53 Add support for MLB
Add support for MLB by adding MLB MSL codes.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-08-10 11:49:47 -05:00
Lily Zhang
66c16db3d1 ENGR00122846-2 MX53: Restore the default GPU memory as 128M
This reverts commit cf848bba851157fb7c28ad2abd21f8210a4b0831.
Since the kernel virtual space is changed as 2G, restore the default
GPU memory as 128M to support flash 10 better.

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:49:34 -05:00
William Lai
457db036b5 ENGR00122399-1 MX53 CAN: Suppprt on i.MX53 platform
CAN support on i.MX53 platform.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:49:28 -05:00
Lily Zhang
c9ba599c0e ENGR00122632 MX53: Set default GPU memory as 32M
The virtual space of ioremap is reduced after high_memory size is
increased. If GPU uses large memory, ioremap reports error. Before
re-layout the kernel virtual space, set the default GPU memory as
32M to avoid passing command options.
GPU memory can be also adjusted by command options. For example,
the command options "mem=960M gpu_memory=32M" means:
gpu_memory for GPU usage is 32M
fb_mem for X-Acceleration is SZ_1G - <mem> - <gpu_memory> (32M)

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:49:20 -05:00
Jason Chen
2657b8a116 ENGR00122430 imx53: DVI support
Add cmdline like below to enable dvi:
"video=mxcfb:1024x768M-16@60 dvi"

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:49:12 -05:00
Wu Guoxing
053fe1db8c ENGR00122151 reserve gpu memory in kernel
add a new kernel command "gpu_memory" to reserve gpu memory in kernel

Signed-off-by:Wu Guoxing <b02248@freescale.com>
2010-08-10 11:49:11 -05:00
Liu Ying
ed841204b4 ENGR00122388-1 MX53 MSL:Change for support OV3640 camera
This patch includes IOMUX, clock and regulator change
for supporting OV3640 camera.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:49:10 -05:00
Anish Trivedi
7bf98ffa3a ENGR00122290-1 MX5x Enable SCC2 and SAHARA drivers
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>
2010-08-10 11:49:02 -05:00
Lily Zhang
30b28b6e40 ENGR00121963-1 MX53: Add ARM2 CPU board support
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>
2010-08-10 11:48:44 -05:00
Jason Chen
b25661ddaa ENGR00121922 ipuv3: move ipu reset function to MSL
move ipu reset function to MSL.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:48:41 -05:00
William Lai
8a7ed48502 ENGR00121677-1 MX53 PWM: PWM backlight support
Backlight based on PWM support on MX53 EVK

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:48:29 -05:00
Dinh Nguyen
40ec7ade9e ENGR00121651 MX53: Add support for USB
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>
2010-08-10 11:48:26 -05:00
Dinh Nguyen
7e8a9d6101 ENGR00121656 MX53: Add support for VPU
Add support for VPU on MX53 EVK board.

Signed-off-by: Rob Herring <r.herring@freescale.com>
Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:48:25 -05:00
Dinh Nguyen
b4cc2522b9 ENGR00121109 MX53: Add MSL layer
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>
2010-08-10 11:48:25 -05:00