Commit Graph

158874 Commits

Author SHA1 Message Date
Liu Ying
50797e5954 ENGR00125608-1 TVE:Return error when TVE probe fails
This patch avoids TVE custom suspend/resume functions to be called.

Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit ec197f61d6dcc21393ab8ea3ffc5fe071914ccf2)
2010-08-10 11:52:09 -05:00
Hu hui
bf62e34178 ENGR00125521 USB: register/unregister gadget module cause system hang
In function of gadget unregister the phy will been put to lowpower
mode,however in function of gadget regisger the phy lowpower mode will
not been cleard when OTG pin detect enabled.

Signed-off-by: Huhui <b29976@freescale.com>
(cherry picked from commit 11dc51645fe5a196f53fb30369698b4cb4d1e296)
2010-08-10 11:52:08 -05:00
Jason Chen
8f6187a728 ENGR00125506 ipu dev: change mmap to writethrough policy
The mmap policy should be writethrough.

Signed-off-by: Jason Chen <b02280@freescale.com>
(cherry picked from commit aceea32a54b8aa248d771b589d46ce8fbe3c2806)
2010-08-10 11:52:08 -05:00
Liu Ying
decc91a3ce ENGR00125552-2 LDB:Change LDB related video mode names
Change LDB related video mode names to align with MSL
code change.

Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit 4356737e33c837d038b99b9c77e1a3310f162e19)
2010-08-10 11:52:07 -05:00
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
Liu Ying
a957812e43 ENGR00125487-2 LDB:Add bootup option to register LDB driver
This patch avoids LDB framebuffer cause black flash issue or potential
black flash issue on one other framebuffer device which connects with
the same di when the system boots up or video mode is changed.

Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit b24e782a16b6b5d02f04c8daa7c5ef13f3b05270)
2010-08-10 11:52:06 -05:00
Liu Ying
e0d8942952 ENGR00125487-1 TVE:Add bootup option to register TVE driver
This patch avoids TVE framebuffer cause black flash issue or potential
black flash issue on one other framebuffer device which connects with
the same di when the system boots up or video mode is changed.

Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit a5dd4501783ee62c22a16e1d089803e3b1c09944)
2010-08-10 11:52:05 -05:00
Jie Zhou
29e496fc89 ENGR00125556 GPU: Check device refcnt before free memstore
memstore should only be freed when the device has been stopped with
device->refcnt equalling zero.

Signed-off-by: Jie Zhou <b30303@freescale.com>
2010-08-10 11:52:05 -05:00
Jie Zhou
4bb70f55fc ENGR00125434 GPU: Fix kernel oops when run ES2.0 conf. test for second time
memstore should be freed properly. a following change will be prepared to
improve the alloc/free logic for device memstore.

Signed-off-by: Jie Zhou <b30303@freescale.com>
Acked-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:52:04 -05:00
Richard Zhu
3b85c4eade ENGR00125489 esdhc: Fix the failure in DLL configurations
Adjust the Target dll value to support the TOSHIBA eMMC44 card.
Make sure that IPG, HLK, PER are enabled, and SDCLK is disabled.
SDCLKFS can't be set to zero on esdhc V3 IP.

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:52:04 -05:00
William Lai
0021de74f1 ENGR00125396 ALSA CS42888: Remove the platform device from the bus
Use the platform_device_unregister instead of platform_device_put,
to remove the device from the audio subsystem, when it fails to reigster
the cs42888 card.

Signed-off-by: William Lai<b04597@freescale.com>
(cherry picked from commit b096820108269d4d67b44fd8652c475263ee8a18)
2010-08-10 11:52:03 -05:00
Jason Chen
3399b82cef ENGR00125374 v4l2 output: work-around VDI NFB4EOF error
If set both double buffer ready for VDI case, there will come out
NFB4EOF error.

Signed-off-by: Jason Chen <b02280@freescale.com>
(cherry picked from commit 24c1d799767732a7d654c1acd526c63acbe397fe)
2010-08-10 11:52:02 -05:00
Jie Zhou
4cd2daf53c ENGR00125353 GPU: use writecombine for mmap
Change pgprot_noncached to pgprot_writecombine in gsl_kmod_mmap to
improve performance

Signed-off-by: Thomas Peng <r80085@freescale.com>
Signed-off-by: Jie Zhou <b30303@freescale.com>
(cherry picked from commit 847baca41bceed49e397eaba8b1b3b00e86e20a3)
2010-08-10 11:52:02 -05:00
William Lai
88aa8e382a ENGR00125345 ALSA CS42888: Judge the codec member after initialization
Judge the codec memeber of the snd_soc_card_imx_3stack after the
platform_device_add function, as only after this function, the
cs42888_codec pointer will be passed to.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:52:01 -05:00
Richard Zhu
fcabf10640 ENGR00125338 esdhc: A stop in audio playback when insert the card
There would be a small silent stop in the audio playback
when insert the cards into the slot during the audio playback.
The root cause is the mis-spell delay that would be 10 times larger
than expection. Change the delay back to original expection.

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:52:01 -05:00
Jie Zhou
25d42e43ac ENGR00125327 GPU: solve some problems in latest integration
With latest VG/GL fix integration from RC16/EA, there will be some problems
as below, which can be solved by this patch:
- ENGR00124884 will happen again
- suspend/resume will not be supported in gpu driver

Signed-off-by: Jie Zhou <b30303@freescale.com>
2010-08-10 11:52:00 -05:00
Jason Chen
a4f8c6d7e2 ENGR00125249 tve: fix tv primary display issue
Clk tree make default di1_clk's parent clk as pll3 when tve clk disable,
ipu disp module will re-calculate ipu pixel clk if di clk's parent clk
is not tve_clk. If blanks tve-fb0, di1 clk's parent will set to pll3,
unblank tve-fb0 need re-calculate tve clk.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:59 -05:00
Jason Chen
a6c2a9685d ENGR00125275 v4l2 output:disable icbypass for input right crop case
If do input right-side crop and input/output are in the same size, v4l2
driver will enable ic_bypass, but after enable it, the output is not
correct.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:59 -05:00
Jason Chen
e53608c008 ENGR00125265 ipuv3: change the unlock position in ipu_disable_channel
change the unlock position in ipu_disable_channel.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:58 -05:00
Jason Chen
9eb606141a ENGR00125250 ipuv3:wait display EOF interrupt before disable its IDMA channel
It should avoid the NFB4EOF error.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:58 -05:00
r80085
b8ed88ab15 ENGR00125256 Integrate AMD Rc16/EA VG/GL fix to GPU kernel module
Fix the VG/GL issue in GPU kernel module when running VG/GL at the same time

Signed-off-by: Gene Chouiniere <Gene.Chouiniere@amd.com>
Signed-off-by: r80085 <thomas.peng@freescale.com>
Acked-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:51:57 -05:00
Danny Nold
f58fd8d654 ENGR00125259 - EPDC fb: Random display artifacts in unit tests
Random artifacts were caused by corruption of the EPDC working
buffer.  This occurred because the working buffer was being
allocated too small.  This meant other accesses to FB-maintained
buffers was corrupting the working buffer and causing random
data to be drawn to the display.  Fixing the working buffer size
causes the artifacts to disappear.

Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-08-10 11:51:56 -05:00
William Lai
0662eac555 ENGR00125248 ALSA CS42888: Can only play/record multiple 44k streams
The CS42888 can only playback or record the multiple 44k streams,
as there is only the 22.579MHz Osc on the board. Enable the
ALSA plugin or ASRC when try to playback or record multiple 48k
streams.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:51:56 -05:00
William Lai
4b8658aca5 ENGR00125263 ALSA CS42888: System hangs when suspend and resume
Avoid of registering the audio sub-system when the codec does
not exist.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:51:55 -05:00
Frank Li
53236d2f9f ENGR00125056-2 MX5: Fix one wire wrong clock name
one wire master driver is coming from upstream.
clock name is owire, not owire_clk

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:51:55 -05:00
Frank Li
50deabf327 ENGR00125056-1 MX50: add one wire pin configuration
Add "w1" setup at mx50 pin defination because 1wire pin used
for usb over current default.
Fix multi w1_setup problem at many i.MX platform. Only first one
is run by main.

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:51:54 -05:00
Peter Chen
2baee11d55 ENGR00125251 usb_gadget: should not read PORT Reset at reset_irq
1. At reset_irq, the status of port reset is unsure, maybe the reset
process(hardware does it) is finished, and the status of port reset
is also cleared by usb controller. So it only needs to compare to USBSTS
at usb irq process.

2. Due to mx35/mx25 phy's bug, it needs to reset phy when re-open
usb clock next time(Begin to use usb next time)

3. mdelay 100 seconds is too long for resume process, as this code
is only added for mx37, add arch macro for this mdelay. This can
minimize the effect for other platforms.

4. Compile is ok for all imx platform, functional tests are finished
for mx35 and mx23.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
2010-08-10 11:51:53 -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
Richard Zhu
73f02ed16c ENGR00125052-2 Driver modifications when enable the eMMC44 DDR
The driver 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:52 -05:00
Richard Zhu
b6c9ffc709 ENGR00125052-1 Common codes changes when enable the eMMC44 DDR
The modifications of linux kernel common codes
when enable the eMMC44 DDR mode

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:51:52 -05:00
Aisheng.Dong
f15e9558f7 ENGR00125206 mmc: update clock setting for mx50
The clock prescaler can not be 0 for esdhc v3 in MX50.
(The smallest value should be 1).
Change the clock setting part to cover this special case.

Signed-off-by: Aisheng.Dong <b29396@freescale.com>
2010-08-10 11:51:51 -05:00
Aisheng.Dong
76ab3905ed ENGR00125205 mx50: add esdhc3 support
Add IOMUX and configuration data for esdhc3

Signed-off-by: Aisheng.Dong <b29396@freescale.com>
2010-08-10 11:51:50 -05:00
Liu Ying
52409a3363 ENGR00124989-3 ELCDIF:Support ELCDIF framebuffer driver
1) Support ELCDIF framebuffer driver.
2) Change CLAA WVGA LCD driver to make it co-work with ELCDIF driver.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:51:50 -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
Liu Ying
a7a490209a ENGR00124989-1 MX508:Configure ELCDIF pads attribute
1) Enable keepers for LCDIF pads.
2) Remove input path selection for LCDIF pads.

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
Richard Zhao
063544faec ENGR00125010-3 MX35: add gpu to imx35_3stack_defconfig
Build as module by default.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
2010-08-10 11:51:47 -05:00
Richard Zhao
d28a6d6b8d ENGR00125010-2 MX5: add gpu to imx5_defconfig
Build as module by default.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
2010-08-10 11:51:47 -05:00
Gene Chouiniere
da25d30bfa ENGR00125010-1 gpu: add gpu driver support
Migrate from RC14 with freescale changes.

Signed-off-by: Gene Chouiniere <Gene.Chouiniere@amd.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Acked-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:51:46 -05:00
Jason Chen
5587d66a12 ENGR00125173 ipuv3: remove stat check wait in _ipu_dp_dc_disable()
The stat check wait will add ipu operation time which degrade the ipu
performance.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:44 -05:00
Jason Chen
76a5dbd276 ENGR00125172 ipuv3 fb: add sync for DP swap
During DP swap, other fb operation should not happen.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:44 -05:00
Jason Chen
743a8eed30 ENGR00125171 ipu dev: add sync method
The memory mmap by ipu device is write-back, so user space need sync
method.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:43 -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
Richard Zhao
0886df99c7 ENGR00125169 MX5: only reset nfc in arch_reset when we have it
it fix mx50 reboot wdog reg write failed issue.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
2010-08-10 11:51:42 -05:00
Robby Cai
8208b24706 ENGR00125175 Add pxp_dma.h into include/linux/KBuild
Add pxp_dma.h into KBuild

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:51:41 -05:00
Danny Nold
1d580cb07e ENGR00125120 - EPDC fb: Hangs when display pmic regulators not found
EPDC driver updated to fail gracefully when the display pmic cannot
be acquired.  No longer hanging.

Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-08-10 11:51:40 -05:00
Danny Nold
f549421d20 ENGR00125119 - Maxim 17135 display pmic: VCOM configured incorrectly
The initial VCOM voltage should be configured once.  Previously it was
left unconfigured.  Now, the VCOM value is checked the first time
through, and if it is not set correctly, it will be fixed.

Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-08-10 11:51:40 -05:00
Danny Nold
7a8faaa8a5 ENGR00125118 - Maxim 17135 display pmic: increase PWR_GOOD wait timeout
A number of Maxim 17135 parts were found to require longer than the
computed max wait time to assert the PWR_GOOD signal, indicating that
display power is up and valid.  This fix increases the timeout,
preventing regulator_enable calls from prematurely bailing out
and reporting errors.

Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-08-10 11:51:39 -05:00
Danny Nold
9094f00c97 ENGR00125113 - imx5_defconfig update - Add PxP, Max17135, and EPDC
MX50 requires inclusion of PxP, Maxim 17135, and EPDC drivers as defaults
in order to have proper E-Ink display support.

Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-08-10 11:51:39 -05:00
Zhou Jingyu
fa9167503b ENGR00125077: pmic battery: disable battery for MX50 Arm2 board
pmic battery: disable battery for MX50 Arm2 board

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:51:38 -05:00