Commit Graph

158521 Commits

Author SHA1 Message Date
Dinh Nguyen
0ff87eac93 ENGR00121797 Fix IPU register access for ipuv3m
Fix IPU register access for IPU v2 and v3.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:48:32 -05:00
Dinh Nguyen
1da5182763 ENGR00121654 MX53 Add eSDHC support
1. Add MX53 eSDHC support.
2. Enable the ACMD12 on all eSDHC platforms. If using CMD12 on MX53 now,
the failure to wait for interrupt was observed.

Signed-off-by: Lily Zhang <r58066@freescale.com>
Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:48:31 -05:00
Rob Herring
f9bbbac0e1 ENGR00121762-2: arm: always get phys_offset from stack pointer for MX5
Allow r3 to be unset on MX5x platforms for runtime physoffset

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:48:31 -05:00
Rob Herring
4276aeae2c ENGR00121762-1 mx5: enable run-time physoffset
This enables a single kernel image on MX5x parts using run-time
phys_offset.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:48:30 -05:00
William Lai
b106c85f18 ENGR00121677-2 MX53 PWM: Enabled by default in the config
Backlight based on PWM support on MX53 EVK enabled by default.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:48:30 -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
Patrick Turley
959817f7e3 ENGR00121689 i.MX28 GPMI driver doesn't compile correctly under some conditions
Changed the driver to ignore CONFIG_MTD_CONCAT, and work correctly with
CONFIG_MTD_PARTITIONS. Also turned on the GPMI driver and UBIFS in the
default config.

Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
2010-08-10 11:48:29 -05:00
Xinyu Chen
e148a45ce4 ENGR00121653 MX53 Add FEC support
Add FEC support for MX53 EVK

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-08-10 11:48:28 -05:00
Uwe Kleine-König
bce56e48c2 Allow PHYS_OFFSET to be runtime determined
This bases on work done earlier by Lennert Buytenhek and Mark A. Greer.
Compared to their approach zreladdr isn't guessed based on the pc
register but the bootloader is expected to pass PHYS_OFFSET in r3.  If
that value doesn't look right (e.g. isn't aligned) it is guessed based
on the value of sp.  This should work for CONFIG_ZBOOT_ROM, too.

To use it for your machine removing the definition of PHYS_OFFSET from
<mach/memory.h> and selecting CONFIG_RUNTIME_PHYS_OFFSET should be
enough.

Cc: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: Steve Chen <schen@mvista.com>
Cc: Mark A. Greer <mgreer@mvista.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
2010-08-10 11:48:27 -05:00
Rob Herring
f9f020b506 ENGR00121761: imx change cpu_is_X_rev from inline to macros.
This avoids linker error in decompress code for multi arch builds.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:48:27 -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
Anish Trivedi
d21aba7472 ENGR00121694 SRTC: Running unit test script results in a hang
Replaced disable_irq() call with disable_irq_no_sync()

Signed-off-by: Anish Trivedi <anish@freescale.com>
2010-08-10 11:48:24 -05:00
Rob Herring
7c7a815511 ENGR00121700: ipu: add support for ipuv3M memory mapping
The memory map on IPUv3M is compressed into a smaller region, so
support this as revision 3 of the h/w.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:48:24 -05:00
Zhou Jingyu
06eb1f7ded ENGR00121722 mxs battery driver, add defconfig
mxs battery driver, add defconfig

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:48:23 -05:00
Robby Cai
4b60ff6d32 ENGR00119644-2 [MXS] Change name to eliminate the confusion
change rgbbuf to outbuf, etc. to eliminate confusion for MX28

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:22 -05:00
Robby Cai
36679e0b0f ENGR00119644-1 [MXS] PXP/v4l: 90/270 degree rotation output is not correct.
correct the setting of HW_PXP_OLnSIZE and HW_PXP_RGBSIZE(or HW_PXP_OUTSIZE)

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:22 -05:00
Nancy Chen
a31ad3d2a7 ENGR00117758 MX28: Add cpufreq support
Add cpufreq support

Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-08-10 11:48:21 -05:00
Richard Zhu
b22eaff9b2 ENGR00121661 [MX28] Fix the CD isn't functional issue on SSP ports
There are IOMUX conflictions between SSP1 and GPMI device,
when the GPMI is enabled, and the SSP1 device is not
enabled properly. The Card Detect func would be failed.
Solution: Just register the functional device into system
can solve this problem

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:48:21 -05:00
Jeremy.Yao
328fb4f9a3 ENGR00121604: iMX23 Support Audio
Add Support for ADC/DAC Audio

Signed-off-by: Jeremy Yao <r65161@freescale.com>
(cherry picked from commit 172fc1bb738b2c83979ced6e918635d055529b43)
2010-08-10 11:48:20 -05:00
Sam Yang
8bab169f6d ENGR00121615 Remove duplicate definition of fec_platform_data in header file
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>
2010-08-10 11:48:19 -05:00
Frank Li
5f6f685d6a ENGR00121581 MX23 and iMX28 add iram alloc support
Add iram allocate support

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:48:19 -05:00
Frank Li
8dc89c66f8 ENGR00121313-1 MX23 Enable USB host base new MSL
Enable MX23 usb host at new msl, use gpio to control vbus on/off

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:48:18 -05:00
Robby Cai
842d13fff3 ENGR00121574-4 rename filename for pxp to mxs_pxp
Copied back the pxp.[ch] from branch 2.6.31

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:18 -05:00
Robby Cai
43d4ddc983 ENGR00121574-3 rename filename for pxp to mxs_pxp
update default config

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:17 -05:00
Robby Cai
14ed59c3b1 ENGR00121574-2 rename filename for pxp to mxs_pxp
pxp.[ch] to mxs_pxp.[ch]

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:16 -05:00
Robby Cai
237d6bee1e ENGR00121574-1 rename filename for pxp to mxs_pxp
rename filename to avoid polluting original stmp codes
this patch contains MSL-related code changes

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:16 -05:00
Zhou Jingyu
cc638881c6 ENGR00121496: mx23 battery driver restructure
mx23 battery driver restructure

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:48:15 -05:00
Nancy Chen
df815ca416 ENGR00121571 MX28 CLOCK: Fix build break
Fix build break

Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-08-10 11:48:15 -05:00
Nancy Chen
f1d0bfc46e ENGR00121553 MX28: Fix some clock rates not setting correctly
Fix some clock rates not setting correctly.

Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-08-10 11:48:14 -05:00
Patrick Turley
406d9075cd ENGR00117735-2 MX28: SLC/MLC NAND
Port the i.MX23 NAND Flash driver to i.MX28.

Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
2010-08-10 11:48:13 -05:00
Patrick Turley
d3b2a312aa ENGR00117735-1 MX28: SLC/MLC NAND
Port the i.MX23 NAND Flash driver to i.MX28.

Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
2010-08-10 11:48:13 -05:00
Alan Tull
9eda4a65f9 ENGR00117752 MX28: Support S/PDIF audio playback
Support S/PDIF audio playback

Signed-off-by: Alan Tull <r80115@freescale.com>
2010-08-10 11:48:12 -05:00
Robby Cai
615f0b5647 ENGR00121274-3 [MX23] Porting PxP driver to new MSL
Update the kernel default config

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:11 -05:00
Robby Cai
645bb03a9d ENGR00121274-2 [MX23] Porting PxP driver to new MSL
Adjust PxP driver for MX23

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:11 -05:00
Robby Cai
af68a1bf04 ENGR00121274-1 [MX23] Porting PxP driver to new MSL
Add MSL-related codes

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:10 -05:00
Robby Cai
85120dea92 ENGR00121273-3 [MX23] Porting I2C driver to new MSL
Update the default config file

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:10 -05:00
Robby Cai
d837b34ce6 ENGR00121273-2 [MX23] Porting I2C driver to new MSL
Add MSL-related codes for MX23 I2C adapter driver

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:09 -05:00
Robby Cai
448ba968f6 ENGR00121273-1 [MX23] Porting I2C driver to new MSL
Adjust the i2c adapter driver for MX23 and MX28

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:09 -05:00
Robby Cai
25b0e0b83f ENGR00121272-4 [MX23] porting lcdif and framebuffer driver to new MSL
update the default config

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:08 -05:00
Robby Cai
f6a8b829ff ENGR00121272-3 [MX23] porting lcdif and framebuffer driver to new MSL
Add MSL-reated code

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:07 -05:00
Robby Cai
94b23ff390 ENGR00121272-2 [MX23] porting lcdif and framebuffer driver to new MSL
porting LMS430 lcd panel driver, and adjust mxs lcdif and framebuffer for MX23

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:07 -05:00
Robby Cai
dcc8f69c10 ENGR00121272-1 [MX23] porting lcdif and framebuffer driver to new MSL
Copied the orignal LMS430 driver file

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:06 -05:00
Lionel Xu
7be2bc6209 ENGR00117750 MX28 ALSA:Support audio playback through SAIF
Porting from mxc sound asoc driver, to support audio playback on mx28 through
saif

Signed-off-by: Lionel Xu <r63889@freescale.com>
2010-08-10 11:48:06 -05:00
Richard Zhu
7f0a41e2e4 ENGR00121415 MX23 SSP SD/MMC driver MXS msl codes porting
porting the SSP SD/MMC driver to the new MSL
codes based on  MXS model.

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:48:05 -05:00
Frank Li
f6776638df ENGR00121455 iMX28 Add miss file regs-dram.h
Add missed file

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:48:04 -05:00
Anish Trivedi
4f43563863 ENGR00121190 MX23 DCP Merge with MX28 DCP driver
Merge DCP driver

Signed-off-by: Anish Trivedi <anish@freescale.com>
2010-08-10 11:48:04 -05:00
Frank Li
1157030eda ENGR00121350-1 MX28 Add emi frequency change
Add emi frequency change. Support 133Mhz, 166Mhz and 200Mhz

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:48:03 -05:00
Frank Li
0b9b3646f5 ENGR00121395 iMX23 change aphb register file for mx23
MX23 Apbh is difference MX28. Need seperate regs-apbh.

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:48:03 -05:00