Commit Graph

69216 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
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
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
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
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
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
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
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
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
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
Danny Nold
ff97ec543b ENGR00124814-1 fb: Add i.MX EPDC fb driver
Added basic EPDC driver, including support for PXP conversions (rotation,
auto-waveform selection, CSC).  Self-clock gating also supported.

Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-08-10 11:51:36 -05:00
Robby Cai
9c91622d90 ENGR00125034 [MX50] Add PxP DMA-Engine and PxP client driver
Use Common DMA-Engine framework to implement ePXP driver
Use a dma client driver to access ePxP staff.

Signed-off-by: Danny Nold <dannynold@freescale.com>
Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:51:35 -05:00
Danny Nold
2ac9e0c059 ENGR00124812-1: Support Maxim E-Ink PMIC
Added new regulator driver to control voltage supplies for
E-Ink panel.

Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-08-10 11:51:34 -05:00
mark gutman
0fbba7a43f ENGR00124942 MX51: YUV422 output for 720P data
Ignore UGDE using for non YUYV output formats

Signed-off-by: Mark Gutman <r58412@freescale.com>
2010-08-10 11:51:33 -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
Zhou Jingyu
fd0b8982f3 ENGR00125012: fix cspi mater driver clock polarity for cpsi v7
fix cspi mater driver clock polarity for cpsi v7

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:51:31 -05:00
Anish Trivedi
5b89964ad4 ENGR00124905 rtc: remove MX51 1.0 work-around
Since some chips don't have IIM, remove work-around

Signed-off-by: Anish Trivedi <anish@freescale.com>
2010-08-10 11:51:30 -05:00
Peter Chen
260daf5aa4 ENGR00124831 USB-UDC: Delete the useless code
The probe is called only pdev->name is the same with driver_name,
So the statement for name judgement is useless.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
2010-08-10 11:51:23 -05:00
Liu Ying
a1815ec2e8 ENGR00124761 V4L2 still:Support to capture QXGA still image
1) Add OV3640 camera QXGA configuration at 7.5fps support.
2) Use double buffer to workaround tearing issue when capturing
   still image.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:51:23 -05:00
Richard Zhu
1dc8f0e201 ENGR00124736 Remerge the minor modifications to mainline
1 correct the pata platform device resource check codes
2 Change the end statment of the sdhc1 det pin
iomux definition on mx51 board from ',' to ';'.
3 sdhc driver max blk count on MX31, sinc
customer report that the emmc would be failed when
the blk count is more than 32.

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:51:21 -05:00
Jason Chen
359587f268 ENGR00124828 v4l2 output: close overlay for ic bypass mode
After streamoff, ic bypass mode should close overlay like others

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:20 -05:00
Jason Chen
757114831f ENGR00124827 ipuv3 fb: long time jitter issue
Call pan display frequently(for example display through ipu lib),
sometime it will jitter.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:20 -05:00
Lily Zhang
3a8994f9c7 ENGR00124795 SPI NOR: uniform include header file
The default partitions are missing in MX53 SPI NOR MTD.
It's because spi nor driver and mx53 msl include different
header files. It causes struct definitions are different.
For i.MX SPI nor driver, need to use asm/mach/flash.h by
aligning with NAND driver.

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:51:19 -05:00
Jason Chen
e33df3d953 ENGR00124760 fec: set mac address correctly
Fix dynamicly set mac address make network hang issue.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:18 -05:00
Sammy He
9fe0e34c9f ENGR00124683-1 Add CCIR interlaced mode for TV decoder
Add CCIR interlaced mode for TV decoder. And add pwdn callback
function in mxc_camera_platform_data.

Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:51:15 -05:00
Jason Chen
39eb2537a2 ENGR00124719 ipuv3 fb: pan display for special format
If set fb's fmt to I420, pan display will get wrong result.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:14 -05:00
Jason Chen
35ba93ff11 ENGR00124653 ipuv3 fb: pan display issue
Call pan display frequently, after a long time, it has chance to show
below error msg:

Error updating SDC buf ....

check buffer busy before update buffer function call to avoid such
issue.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:13 -05:00
Liu Ying
ab9b6e2c7a ENGR00124569 IPUv3:Change for support VDI in IPU lib
1) Support select VDI input channel buffer ioctrl.
2) Add VDI input channels' EOF interrupt.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:51:13 -05:00