Commit Graph

69006 Commits

Author SHA1 Message Date
Zhou Jingyu
63687ab97b ENGR00117756 mxs regulator driver, porting from imx23
Porting mxs regulator driver from imx23

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
(cherry picked from commit 0d0573aad73c35989f685c71617114317906709d)
2010-08-10 11:47:53 -05:00
Fred Fan
3bab2380ef ENGR00121032 i.MX28 EVK kbd button detect support
use button detect irq to control adc irq

Signed-off-by: Fred.fan <r01011@freescale.com>
2010-08-10 11:47:52 -05:00
Zhou Jingyu
e5d9546839 ENGR00117756-1 mxs regulator driver, copy &rename
mxs regulator driver, copy &rename

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:47:51 -05:00
William Lai
ccad5474a6 ENGR00120661-1 MX28 CAN: MX28 platform support
CAN supported on MX28 platform.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:47:48 -05:00
Frank Li
37dccd44a7 ENGR00120698 iMX28 add usb write register work around
mx28 require read arc register before write.

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:47:46 -05:00
Jason
4b91878877 ENGR00120715 MX28:Fix FEC MAC not set correclty
FEC MAC not set correclty on MX28 EVK board

Signed-off-by:Jason Liu <r64343@freescale.com>
2010-08-10 11:47:46 -05:00
Fred Fan
b9d0b9a7e6 ENGR00120621-2 i.MX28 LED support
1. Add platform support
2. Changed LED to control brightness by inactve couter

Signed-off-by: Yao Jeremy <r65161@freescale.com>
Signed-off-by: Fred.fan <r01011@freescale.com>
2010-08-10 11:47:45 -05:00
Fred Fan
c06bc34086 ENGR00120621-1 i.MX28 LED support
copy LED driver from i.MX233 and rename

Signed-off-by: Yao Jeremy <r65161@freescale.com>
Signed-off-by: Fred.fan <r01011@freescale.com>
2010-08-10 11:47:44 -05:00
Fred Fan
533ebf6e2a ENGR00120561-2 i.MX28 Application UART support
Platform driver support

Signed-off-by: Fred.fan <r01011@freescale.com>
2010-08-10 11:47:42 -05:00
Fred Fan
c15dfd6e2b ENGR00120561-1 i.MX28 Application UART support
Copy Application uart driver from i.MX233 and rename

Signed-off-by: Fred.fan <r01011@freescale.com
2010-08-10 11:47:42 -05:00
Jason
d52e598394 ENGR00120558 FEC Fix broken and warnings on MXC
FEC Fix broken and warnings on MXC.
-use the fec_platform_data structure of kernel fec.h, remove
the redefinion from mach/mxc.h

-use dsv_phy_done completion to make sure fec clk not disabled
during phy discovery operation.

Signed-off-by:Jason Liu <r64343@freescale.com>
2010-08-10 11:47:41 -05:00
Robby Cai
cea842a8e6 ENGR00117728-2 MX28 Add lcdif and framebuffer driver support
add lcdif, fb, lcd controller(43wvf1g) driver

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:47:40 -05:00
Robby Cai
1ac4b4e52d ENGR00117728-1 MX28 Add lcdif and framebuffer driver support
Borrow files from MX23

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:47:39 -05:00
Fred Fan
4f8e07d0a5 ENGR00117734-2 i.MX28 EVK touch screen support
Add platform support

Signed-off-by: Fred.fan <r01011@freescale.com
2010-08-10 11:47:38 -05:00
Fred Fan
1989e6ccc9 ENGR00117734-1 i.MX28 EVK touch screen support
Copy touch screen driver from i.MX233 and rename

Signed-off-by: Fred.fan <r01011@freescale.com>
2010-08-10 11:47:38 -05:00
Fred Fan
bef44a0231 ENGR00117733-2 i.MX28 EVK keypad support
Add platform support

Signed-off-by: Fred.fan <r01011@freescale.com>
2010-08-10 11:47:36 -05:00
Fred Fan
12693029d3 ENGR00117733-1 i.MX28 EVK keypad support
Copy keypad driver from i.MX233 and rename

Signed-off-by: Fred.fan <r01011@freescale.com>
2010-08-10 11:47:36 -05:00
Albert Chen
719b9dc7c5 ENGR00117742-2 add usb support for mx28
kernel part

Signed-off-by: Albert Chen <r65187@freescale.com>
2010-08-10 11:47:35 -05:00
Albert Chen
28827b46d3 ENGR00117742-1 add usb support for mx28
add usb support for mx28
	include usb host and usb device

Signed-off-by: Albert Chen <r65187@freescale.com>
2010-08-10 11:47:35 -05:00
Jason
f61cc66aea ENGR00117744-2 i.MX28 EVK ENET(Single) support
FEC driver support for i.MX28

Signed-off-by:Jason Liu <r64343@freescale.com>
2010-08-10 11:47:31 -05:00
Zhou Jingyu
28eb8d412d ENGR00117729 imx28: add mxs backlight
Add mxs backlight to mxs platform;
Change stmp3xxx namings to mxs

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:47:30 -05:00
Robby Cai
746fe78516 ENGR00117747-2 MX28 Add I2C Bus driver support
Add platform resource and actual driver support for I2C

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:47:28 -05:00
Robby Cai
d0539d6086 ENGR00117747-1 MX28 Add I2C Bus driver support
Copied from i2c-stmp378x.c to i2c-mxs.c

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:47:28 -05:00
Fred Fan
9e6e649d5b ENGR00120475-2 i.MX28 rtc support
Support platform resouce

Signed-off-by: Fred.fan <r01011@freescale.com>
2010-08-10 11:47:27 -05:00
Fred Fan
a2da61c805 ENGR00120475-1 i.MX28 rtc support
Copy driver from i.mx233 and rename to rtc-mxs

Signed-off-by: Fred.fan <r01011@freescale.com>
2010-08-10 11:47:27 -05:00
Fred Fan
8aaa180642 ENGR00117739-2 i.MX28 EVK watchdog support
Add platform resource support

Signed-off-by: Fred.fan <r01011@freescale.com>
2010-08-10 11:47:25 -05:00
Fred Fan
f79bf9e443 ENGR00117739-1 i.MX28 EVK watchdog driver rename
Copy i.MX233's watchdog driver to i.MX28 and rename.
Add new drivers kernel option

Signed-off-by: Fred.fan <r01011@freescale.com>
2010-08-10 11:47:25 -05:00
Richard Zhu
f3aead3d77 ENGR00117737-2 MX28 SD/MMC/SDIO
Enable the ssp mmc port0~1, the set_rate, set_parent
to refio.0 clock, and the HighSpeed mode, SD up to
4bits and 50MHz, MMC up to 8bits and 52MHz.

Resolved the urgly IO bench and some cards
unrecognization issues.
The root cause is the clk unit of clock should
be Hz, but not the KHz

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:47:24 -05:00
Richard Zhu
5e5cf216d2 ENGR00117737-1 MX28 SD/MMC/SDIO
rename the ssp mmc/sd driver.

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:47:24 -05:00
Zhou Jingyu
5a0bcf1eae ENGR00117729-1 rename imx28 backlight
rename imx28 backlight

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:47:23 -05:00
Robby Cai
fea0ec16c7 ENGR00117720-2 MX28: Add Debug Uart Driver Support
Add D-UART driver support for MX28

Signed-off-by: Fred Fan <r01011@freescale.com>
Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:47:22 -05:00
Jason Chen
70362161c2 ENGR00119548 ipuv3 fb: suspend/resume issue during video playback
Suspend system during video playback may cause system hang.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:47:21 -05:00
Jason Chen
99db3066ed ENGR00121100 tve: fix issue of make tve as primary display
This patch make tve primary display work for both imx51_bbg and imx37_3stack.
For imx51_bbg, add "hdtv=2" to cmdline, for imx37_3stack, add "tv" to
cmdline.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:47:21 -05:00
Richard Zhao
a86e7c6718 ENGR00121375 mx_sdhci: keep clock on for sdio cards
Atheros AR6102 wifi driver need it, or host controler will not receive sdio irq.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:47:17 -05:00
Rob Herring
376ee81cfc ENGR00121365 mxcuart: rework early uart console
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>
2010-08-10 11:47:15 -05:00
Sammy He
c40b376b4c ENGR00121097-1 Restructure vpu code to remove IO_ADDRESS
Restructure vpu code to remove IO_ADDRESS, and add iram allocator
in vpu driver.

Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:47:13 -05:00
Rob Herring
183afb82e4 ENGR00121296: imx51: rename mx51 to mx5
Rename mx51 to mx5 for common source for MX5x family

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:47:12 -05:00
Sammy He
01cd0bc688 ENGR00120880-1 Add interface to enable/disable HSYNC bit on imx_adc
Add interface to enable/disable HSYNC bit on imx_adc.

Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:47:09 -05:00
Frank Li
e206cba8a9 ENGR00121029-1 MX51 Add Mfg firmware support
Add Mfg Firmware configuration

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:47:06 -05:00
Xinyu Chen
8a1c0d8689 ENGR00120896 Fix build error for lowmemorykiller driver
Fix build bug for lowmemorykiller staging driver

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-08-10 11:47:06 -05:00
Dinh Nguyen
e0c9e67d36 ENGR00121003 Fix IRAM enabling for USB Gadget driver
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>
2010-08-10 11:47:05 -05:00
Rob Herring
f361e1bdb9 ENGR00120957-2 restructure usb device registration
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>
2010-08-10 11:47:04 -05:00
Rob Herring
271b679213 ENGR00120957-1 mx51: restructure device resources and registration
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>
2010-08-10 11:47:03 -05:00
Jason Chen
c96a7bf4a0 ENGR00120903 ipuv3 fb: make hdtv as primary display
1. Add "hdtv=2' to boot cmdline. HDTV should be primary display device.
2. Color key need be convert to YUV format when output is YUV, to
correct the convertion function, negative coefficents of RGB2YUV CSC
matrix could not use complement number.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:47:02 -05:00
Xinyu Chen
0e7ef0d715 ENGR00120162 Add calibration support to touchscreen driver
Add touchscreen calibration support and the BTN_TOUCH.
The calibration algorithm is from Carlos E. Vidales.
and the calibration data is passed to driver by module param.
This driver passes test on ubuntu and android.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-08-10 11:47:01 -05:00
Liu Ying
b7a90ba172 ENGR00120807 V4L2 capture:Change the mechanism for CSI->MEM capture
As CSI->MEM channel keeps on writing the buffer which is set to
ready latestly and raising up end of frame interrupts, the current
v4l2 capture realization mechanism is not appropriate for this channel.
This patch will update the idmac buffer to a dummy buffer whenever
there is no buffers queued by the user.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:47:00 -05:00
Liu Ying
6f8c313e76 ENGR00119169 V4L2 capture:enable CSI after PRP channels are setup
To preview with V4L2 overlay and capture at the same time may fail.
This patch implements workaround for this issue by enabling CSI after
PRP channels are setup.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:47:00 -05:00
Anish Trivedi
7add1800d1 ENGR00120490 [MX23] DCP: Enable SHA-1 hashing
Enable SHA-1 in DCP via workaround to align buffers to 64-byte length

Signed-off-by: Anish Trivedi <anish@freescale.com>
2010-08-10 11:46:59 -05:00
Sammy He
3ac11765fb ENGR00120615-1 Add IPU_CSC_UPDATE case for ipu ioctl
Add IPU_CSC_UPDATE case for ipu ioctl.

Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:46:58 -05:00
Jason Chen
4f8fb2ae79 ENGR00120805 v4l2 output: fill black color to disp fb before streamon
There is a short show of previous played frame if not fill black color
to display fb.
Because fb device will unblank ahead of real data come.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:46:57 -05:00