efikamx:linux-kernel.git
7 years agoEfika MX platform support
Matt Sealey [Sat, 14 Aug 2010 17:19:29 +0000 (12:19 -0500)]
Efika MX platform support

7 years agoUpdate mach-types for new board names (LANGE51 -> EFIKAMX, KUNLUN -> EFIKASB)
Matt Sealey [Sat, 14 Aug 2010 17:10:19 +0000 (12:10 -0500)]
Update mach-types for new board names (LANGE51 -> EFIKAMX, KUNLUN -> EFIKASB)

7 years agoENGR00125616 GPU: make sure device is stopped before close bsp-10.07.11
Jie Zhou [Wed, 28 Jul 2010 04:04:04 +0000 (12:04 +0800)]
ENGR00125616 GPU: make sure device is stopped before close

When terminating some applications such as OpenGL ES2.0 conf. test,
kgsl_device_stop is not triggered. And run such kind of application
for several times, system hang happens for inconsistency of device
states. So make sure device is stopped in kgsl_device_close, which
is only called by last running caller process.

Signed-off-by: Jie Zhou <b30303@freescale.com>
7 years agoENGR00125608-2 LDB:Return error when LDB probe fails
Liu Ying [Tue, 27 Jul 2010 06:26:34 +0000 (14:26 +0800)]
ENGR00125608-2 LDB:Return error when LDB probe fails

This patch avoids LDB custom suspend/resume functions to be called.

Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit d48bd2e1d1ecc166bdb23e2c2a60dd2e6ae0e772)

7 years agoENGR00125608-1 TVE:Return error when TVE probe fails
Liu Ying [Tue, 27 Jul 2010 06:23:48 +0000 (14:23 +0800)]
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)

7 years agoENGR00125521 USB: register/unregister gadget module cause system hang
Hu hui [Mon, 26 Jul 2010 08:02:12 +0000 (16:02 +0800)]
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)

7 years agoENGR00125506 ipu dev: change mmap to writethrough policy
Jason Chen [Mon, 26 Jul 2010 06:16:52 +0000 (14:16 +0800)]
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)

7 years agoENGR00125552-2 LDB:Change LDB related video mode names
Liu Ying [Mon, 26 Jul 2010 03:38:51 +0000 (11:38 +0800)]
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)

7 years agoENGR00125552-1 MX5:Change LDB related video mode names
Liu Ying [Mon, 26 Jul 2010 03:38:05 +0000 (11:38 +0800)]
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)

7 years agoENGR00125487-2 LDB:Add bootup option to register LDB driver
Liu Ying [Mon, 26 Jul 2010 03:36:37 +0000 (11:36 +0800)]
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)

7 years agoENGR00125487-1 TVE:Add bootup option to register TVE driver
Liu Ying [Mon, 26 Jul 2010 03:35:47 +0000 (11:35 +0800)]
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)

7 years agoENGR00125556 GPU: Check device refcnt before free memstore
Jie Zhou [Mon, 26 Jul 2010 04:30:54 +0000 (12:30 +0800)]
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>
7 years agoENGR00125434 GPU: Fix kernel oops when run ES2.0 conf. test for second time
Jie Zhou [Fri, 23 Jul 2010 11:53:12 +0000 (19:53 +0800)]
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>
7 years agoENGR00125489 esdhc: Fix the failure in DLL configurations
Richard Zhu [Fri, 23 Jul 2010 03:11:40 +0000 (11:11 +0800)]
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>
7 years agoENGR00125396 ALSA CS42888: Remove the platform device from the bus
William Lai [Wed, 21 Jul 2010 11:41:40 +0000 (19:41 +0800)]
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)

7 years agoENGR00125374 v4l2 output: work-around VDI NFB4EOF error
Jason Chen [Wed, 21 Jul 2010 08:15:45 +0000 (16:15 +0800)]
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)

7 years agoENGR00125353 GPU: use writecombine for mmap
Jie Zhou [Wed, 21 Jul 2010 01:31:05 +0000 (09:31 +0800)]
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)

7 years agoENGR00125345 ALSA CS42888: Judge the codec member after initialization
William Lai [Tue, 20 Jul 2010 11:53:25 +0000 (19:53 +0800)]
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>
7 years agoENGR00125338 esdhc: A stop in audio playback when insert the card
Richard Zhu [Tue, 20 Jul 2010 08:20:03 +0000 (16:20 +0800)]
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>
7 years agoENGR00125327 GPU: solve some problems in latest integration
Jie Zhou [Tue, 20 Jul 2010 02:47:00 +0000 (10:47 +0800)]
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>
7 years agoENGR00125249 tve: fix tv primary display issue
Jason Chen [Tue, 20 Jul 2010 02:17:13 +0000 (10:17 +0800)]
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>
7 years agoENGR00125275 v4l2 output:disable icbypass for input right crop case
Jason Chen [Mon, 19 Jul 2010 08:22:07 +0000 (16:22 +0800)]
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>
7 years agoENGR00125265 ipuv3: change the unlock position in ipu_disable_channel
Jason Chen [Mon, 19 Jul 2010 08:15:38 +0000 (16:15 +0800)]
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>
7 years agoENGR00125250 ipuv3:wait display EOF interrupt before disable its IDMA channel
Jason Chen [Mon, 19 Jul 2010 08:14:57 +0000 (16:14 +0800)]
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>
7 years agoENGR00125256 Integrate AMD Rc16/EA VG/GL fix to GPU kernel module
r80085 [Mon, 19 Jul 2010 23:00:16 +0000 (18:00 -0500)]
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>
7 years agoENGR00125259 - EPDC fb: Random display artifacts in unit tests
Danny Nold [Fri, 16 Jul 2010 21:57:39 +0000 (16:57 -0500)]
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>
7 years agoENGR00125248 ALSA CS42888: Can only play/record multiple 44k streams
William Lai [Mon, 19 Jul 2010 02:34:07 +0000 (10:34 +0800)]
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>
7 years agoENGR00125263 ALSA CS42888: System hangs when suspend and resume
William Lai [Mon, 19 Jul 2010 02:26:27 +0000 (10:26 +0800)]
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>
7 years agoENGR00125056-2 MX5: Fix one wire wrong clock name
Frank Li [Mon, 12 Jul 2010 08:17:51 +0000 (16:17 +0800)]
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>
7 years agoENGR00125056-1 MX50: add one wire pin configuration
Frank Li [Mon, 12 Jul 2010 08:17:51 +0000 (16:17 +0800)]
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>
7 years agoENGR00125251 usb_gadget: should not read PORT Reset at reset_irq
Peter Chen [Fri, 16 Jul 2010 12:28:05 +0000 (20:28 +0800)]
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>
7 years agoENGR00125052-3 Enable the eMMC44 DDR mode on MX53 EVK
Richard Zhu [Tue, 13 Jul 2010 03:07:26 +0000 (11:07 +0800)]
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>
7 years agoENGR00125052-2 Driver modifications when enable the eMMC44 DDR
Richard Zhu [Tue, 13 Jul 2010 03:06:30 +0000 (11:06 +0800)]
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>
7 years agoENGR00125052-1 Common codes changes when enable the eMMC44 DDR
Richard Zhu [Mon, 12 Jul 2010 09:31:44 +0000 (17:31 +0800)]
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>
7 years agoENGR00125206 mmc: update clock setting for mx50
Aisheng.Dong [Thu, 15 Jul 2010 11:17:50 +0000 (19:17 +0800)]
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>
7 years agoENGR00125205 mx50: add esdhc3 support
Aisheng.Dong [Tue, 13 Jul 2010 08:50:17 +0000 (16:50 +0800)]
ENGR00125205 mx50: add esdhc3 support

Add IOMUX and configuration data for esdhc3

Signed-off-by: Aisheng.Dong <b29396@freescale.com>
7 years agoENGR00124989-3 ELCDIF:Support ELCDIF framebuffer driver
Liu Ying [Tue, 13 Jul 2010 09:39:46 +0000 (17:39 +0800)]
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>
7 years agoENGR00124989-2 MX5:Change CLAA-WVGA LCD panel video mode
Liu Ying [Tue, 13 Jul 2010 09:38:55 +0000 (17:38 +0800)]
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>
7 years agoENGR00124989-1 MX508:Configure ELCDIF pads attribute
Liu Ying [Tue, 13 Jul 2010 09:38:07 +0000 (17:38 +0800)]
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>
7 years agoENGR00124132 MX53: busfreq driver support
Shen Yong [Mon, 28 Jun 2010 05:14:22 +0000 (13:14 +0800)]
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>
7 years agoENGR00125010-3 MX35: add gpu to imx35_3stack_defconfig
Richard Zhao [Wed, 14 Jul 2010 06:02:36 +0000 (14:02 +0800)]
ENGR00125010-3 MX35: add gpu to imx35_3stack_defconfig

Build as module by default.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
7 years agoENGR00125010-2 MX5: add gpu to imx5_defconfig
Richard Zhao [Wed, 14 Jul 2010 05:57:48 +0000 (13:57 +0800)]
ENGR00125010-2 MX5: add gpu to imx5_defconfig

Build as module by default.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
7 years agoENGR00125010-1 gpu: add gpu driver support
Gene Chouiniere [Tue, 29 Jun 2010 09:20:51 +0000 (17:20 +0800)]
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>
7 years agoENGR00125173 ipuv3: remove stat check wait in _ipu_dp_dc_disable()
Jason Chen [Thu, 15 Jul 2010 03:19:08 +0000 (11:19 +0800)]
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>
7 years agoENGR00125172 ipuv3 fb: add sync for DP swap
Jason Chen [Thu, 15 Jul 2010 03:08:46 +0000 (11:08 +0800)]
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>
7 years agoENGR00125171 ipu dev: add sync method
Jason Chen [Thu, 15 Jul 2010 03:02:24 +0000 (11:02 +0800)]
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>
7 years agoENGR00125045 MX53: Adjust VDDGP voltage setting
Lily Zhang [Tue, 13 Jul 2010 07:24:18 +0000 (15:24 +0800)]
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>
7 years agoENGR00125169 MX5: only reset nfc in arch_reset when we have it
Richard Zhao [Thu, 15 Jul 2010 02:57:14 +0000 (10:57 +0800)]
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>
7 years agoENGR00125175 Add pxp_dma.h into include/linux/KBuild
Robby Cai [Thu, 15 Jul 2010 04:53:32 +0000 (12:53 +0800)]
ENGR00125175 Add pxp_dma.h into include/linux/KBuild

Add pxp_dma.h into KBuild

Signed-off-by: Robby Cai <R63905@freescale.com>
7 years agoENGR00125120 - EPDC fb: Hangs when display pmic regulators not found
Danny Nold [Wed, 14 Jul 2010 01:20:05 +0000 (20:20 -0500)]
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>
7 years agoENGR00125119 - Maxim 17135 display pmic: VCOM configured incorrectly
Danny Nold [Wed, 14 Jul 2010 00:57:10 +0000 (19:57 -0500)]
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>
7 years agoENGR00125118 - Maxim 17135 display pmic: increase PWR_GOOD wait timeout
Danny Nold [Tue, 13 Jul 2010 18:52:17 +0000 (13:52 -0500)]
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>
7 years agoENGR00125113 - imx5_defconfig update - Add PxP, Max17135, and EPDC
Danny Nold [Tue, 13 Jul 2010 14:16:51 +0000 (09:16 -0500)]
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>
7 years agoENGR00125077: pmic battery: disable battery for MX50 Arm2 board
Zhou Jingyu [Tue, 13 Jul 2010 03:28:20 +0000 (11:28 +0800)]
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>
7 years agoENGR00124255 Reconfigure MX5x's eSDHC iomux PAD's configurations
Richard Zhu [Mon, 12 Jul 2010 07:29:24 +0000 (15:29 +0800)]
ENGR00124255 Reconfigure MX5x's eSDHC iomux PAD's configurations

Reconfigure the PAD's configurations to level up the HW
timing compatibility.

MX51:Some MMC cards such as transcend mmc plus cards can't
be recognized and initialized correctly on the second
esdhc slot of the BBG boards that populated the new DDR chips.
MX53:Same Kingstone SDHC card can work well on EVK REVA board, but
failed in initialization on EVK REVB board without
any sw modifications.
After adjust the slot pin's pad configurations,
fix the HW compatible issues listed above.

Signed-off-by: Richard Zhu <r65037@freescale.com>
7 years agoENGR00124814-2 firmware: add e-ink panel waveform
Danny Nold [Sat, 3 Jul 2010 05:16:09 +0000 (00:16 -0500)]
ENGR00124814-2 firmware: add e-ink panel waveform

Added default E-Ink panel waveform.

Signed-off-by: Danny Nold <dannynold@freescale.com>
7 years agoENGR00124814-1 fb: Add i.MX EPDC fb driver
Danny Nold [Fri, 9 Jul 2010 16:07:11 +0000 (11:07 -0500)]
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>
7 years agoENGR00125034 [MX50] Add PxP DMA-Engine and PxP client driver
Robby Cai [Fri, 9 Jul 2010 22:37:42 +0000 (06:37 +0800)]
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>
7 years agoENGR00124812-2: MX50 add Max17135 Display pmic init to MSL
Danny Nold [Mon, 12 Jul 2010 20:25:27 +0000 (15:25 -0500)]
ENGR00124812-2: MX50 add Max17135 Display pmic init to MSL

Maxim 17135 PMIC init added to MSL in conjunction with addition
of Maxim 17135 regulator driver and I2C client.

Signed-off-by: Danny Nold <dannynold@freescale.com>
7 years agoENGR00124812-1: Support Maxim E-Ink PMIC
Danny Nold [Mon, 12 Jul 2010 20:23:21 +0000 (15:23 -0500)]
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>
7 years agoENGR00124942 MX51: YUV422 output for 720P data
mark gutman [Wed, 7 Jul 2010 14:13:09 +0000 (17:13 +0300)]
ENGR00124942 MX51: YUV422 output for 720P data

Ignore UGDE using for non YUYV output formats

Signed-off-by: Mark Gutman <r58412@freescale.com>
7 years agoENGR00124963 USB: add vbus enable/disable
Hu hui [Mon, 12 Jul 2010 01:54:08 +0000 (09:54 +0800)]
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>
7 years agoENGR00125007: MX50: Correct PAD settings for over-current detection
Dinh Nguyen [Fri, 9 Jul 2010 16:00:32 +0000 (11:00 -0500)]
ENGR00125007: MX50: Correct PAD settings for over-current detection

The pad settings for the over-current detection pins on MX50 ARM2
CPU board needs to have a pull-up.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
7 years agoENGR00124986 mx5: add gpu refcounting and increase command buffer
Rob Herring [Fri, 13 Nov 2009 20:04:25 +0000 (14:04 -0600)]
ENGR00124986 mx5: add gpu refcounting and increase command buffer

Add reference counting of driver opens for multi-context support.
Increase command buffer to 64KB.

Signed-off-by: Rob Herring <r.herring@freescale.com>
7 years agoENGR00125012: fix cspi mater driver clock polarity for cpsi v7
Zhou Jingyu [Fri, 9 Jul 2010 09:20:49 +0000 (17:20 +0800)]
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>
7 years agoENGR00124956 Increase vpu iram size to 80K
Sammy He [Fri, 9 Jul 2010 15:48:36 +0000 (23:48 +0800)]
ENGR00124956 Increase vpu iram size to 80K

Increase vpu iram size to 80K on mx51 and mx53 to
use more iram for video decoding and encoding.
It can cover 720P encoder and 1080P decoder except VC-1 AP.

Signed-off-by: Sammy He <r62914@freescale.com>w
7 years agoENGR00124905 rtc: remove MX51 1.0 work-around
Anish Trivedi [Tue, 6 Jul 2010 19:58:14 +0000 (14:58 -0500)]
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>
7 years agoENGR00124849-3 mx5: add mx50 support
Rob Herring [Wed, 7 Jul 2010 22:51:47 +0000 (17:51 -0500)]
ENGR00124849-3 mx5: add mx50 support

Add support for i.MX50 and arm2 board with lpddr/mddr.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Rob Herring <r.herring@freescale.com>
7 years agoENGR00124849-2: mx5: clean-up serial configuration code
Rob Herring [Thu, 8 Jul 2010 16:39:39 +0000 (11:39 -0500)]
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>
7 years agoENGR00124849-1 mx5: clean-up some includes of crm_regs.h
Rob Herring [Wed, 7 Jul 2010 20:41:41 +0000 (15:41 -0500)]
ENGR00124849-1 mx5: clean-up some includes of crm_regs.h

CCM is different on various MX5x chips, so limit its include.
SRPG is only initialized on MX51 3DS, but should be done on all
MX5x chips.

Signed-off-by: Rob Herring <r.herring@freescale.com>
7 years agoENGR00124740-4 MX25/35 ALSA: Changes due to ESAI as platform device
William Lai [Thu, 1 Jul 2010 01:36:48 +0000 (09:36 +0800)]
ENGR00124740-4 MX25/35 ALSA: Changes due to ESAI as platform device

Make ESAI as a platform device, and pass the audio data to use
the external memory by default.

Signed-off-by: William Lai <b04597@freescale.com>
7 years agoENGR00124740-3 MX53 : Multi-channel audio support
William Lai [Wed, 30 Jun 2010 11:37:15 +0000 (19:37 +0800)]
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>
7 years agoENGR00124740-2 ALSA: CS42888 codec driver support
William Lai [Mon, 5 Jul 2010 08:37:22 +0000 (16:37 +0800)]
ENGR00124740-2 ALSA: CS42888 codec driver support

Support CS42888 playback and recording.
ESAI_HCKT is used to drive CS42888 when recording, due to
hardware layout.

Signed-off-by: William Lai <b04597@freescale.com>
7 years agoENGR00124740-1 MX53 ALSA: Make ESAI as a platform device
William Lai [Mon, 5 Jul 2010 07:55:18 +0000 (15:55 +0800)]
ENGR00124740-1 MX53 ALSA: Make ESAI as a platform device

Make ESAI a platform device and pass the register base address
by resource and then use ioremap.

Signed-off-by: William Lai <b04597@freescale.com>
7 years agoENGR00124955 sgtl5000: fix audio power down pop
Alan Tull [Wed, 7 Jul 2010 17:49:56 +0000 (12:49 -0500)]
ENGR00124955 sgtl5000: fix audio power down pop

Some boards need a longer delay after powering off VAG.

Signed-off-by: Alan Tull <r80115@freescale.com>
7 years agoRevert "ENGR00124852 sgtl5000: support nonstandard sample rates"
Alan Tull [Wed, 7 Jul 2010 18:57:01 +0000 (13:57 -0500)]
Revert "ENGR00124852 sgtl5000: support nonstandard sample rates"

This reverts commit 33391f8b0a2ccda3a27d95dfe67846d5c60666f7.

Signed-off-by: Alan Tull <r80115@freescale.com>
7 years agoENGR00124831 USB-UDC: Delete the useless code
Peter Chen [Fri, 2 Jul 2010 07:27:29 +0000 (15:27 +0800)]
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>
7 years agoENGR00124761 V4L2 still:Support to capture QXGA still image
Liu Ying [Wed, 30 Jun 2010 05:32:01 +0000 (13:32 +0800)]
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>
7 years agoENGR00124256 Linux platform integrated AHCI SATA driver
Richard Zhu [Tue, 6 Jul 2010 03:33:48 +0000 (11:33 +0800)]
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>
7 years agoENGR00124864 MX5: Fix MSL issue
Lily Zhang [Mon, 5 Jul 2010 12:42:10 +0000 (20:42 +0800)]
ENGR00124864 MX5: Fix MSL issue

1. correct mx53 sdma script variable
2. CSPI should not use cspi_main_clk
3. remove duplicated M4IF setting codes in clock.c, which
are already in cpu.c

Signed-off-by: Lily Zhang <r58066@freescale.com>
7 years agoENGR00124736 Remerge the minor modifications to mainline
Richard Zhu [Tue, 29 Jun 2010 07:07:56 +0000 (15:07 +0800)]
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>
7 years agoENGR00124828 v4l2 output: close overlay for ic bypass mode
Jason Chen [Mon, 5 Jul 2010 06:40:21 +0000 (14:40 +0800)]
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>
7 years agoENGR00124827 ipuv3 fb: long time jitter issue
Jason Chen [Mon, 5 Jul 2010 05:53:26 +0000 (13:53 +0800)]
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>
7 years agoENGR00124795 SPI NOR: uniform include header file
Lily Zhang [Thu, 1 Jul 2010 06:55:38 +0000 (14:55 +0800)]
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>
7 years agoENGR00124852 sgtl5000: support nonstandard sample rates
Alan Tull [Fri, 2 Jul 2010 13:29:19 +0000 (08:29 -0500)]
ENGR00124852 sgtl5000: support nonstandard sample rates

Supporting more sample rates that are not listed in pcm.h
(12KHz and 24KHz).

Signed-off-by: Alan Tull <r80115@freescale.com>
7 years agoENGR00124760 fec: set mac address correctly
Jason Chen [Wed, 30 Jun 2010 03:25:26 +0000 (11:25 +0800)]
ENGR00124760 fec: set mac address correctly

Fix dynamicly set mac address make network hang issue.

Signed-off-by: Jason Chen <b02280@freescale.com>
7 years agoENGR00124629 mx5x: Add Watchdog config for mfg defconfig
Peter Chen [Thu, 24 Jun 2010 07:47:42 +0000 (15:47 +0800)]
ENGR00124629 mx5x: Add Watchdog config for mfg defconfig

If not, the board will be reset as no one
serices the watchdog.
At USB recovery mode, the watchdog will be
enabled at rom code.

Signed-off-by: Peter Chen <b29397@freescale.com>
7 years agoENGR00124762 MX5: Fix clock div zero issue
Lily Zhang [Wed, 30 Jun 2010 05:05:08 +0000 (13:05 +0800)]
ENGR00124762 MX5: Fix clock div zero issue

Fix clock div zero issue in mx5 clock file

Signed-off-by: Lily Zhang <r58066@freescale.com>
7 years agoENGR00124683-3 Add ADV7180 TV decoder support on mx53
Sammy He [Tue, 29 Jun 2010 15:56:36 +0000 (23:56 +0800)]
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>
7 years agoENGR00124683-2 Change adv7180_pwdn callback function on mx35
Sammy He [Fri, 25 Jun 2010 16:25:42 +0000 (00:25 +0800)]
ENGR00124683-2 Change adv7180_pwdn callback function on mx35

Change adv7180_pwdn callback function on mx35 due to pwdn parameter
defintion update.

Signed-off-by: Sammy He <r62914@freescale.com>
7 years agoENGR00124683-1 Add CCIR interlaced mode for TV decoder
Sammy He [Fri, 25 Jun 2010 15:59:08 +0000 (23:59 +0800)]
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>
7 years agoENGR00124719 ipuv3 fb: pan display for special format
Jason Chen [Tue, 29 Jun 2010 03:28:55 +0000 (11:28 +0800)]
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>
7 years agoENGR00124653 ipuv3 fb: pan display issue
Jason Chen [Fri, 25 Jun 2010 03:33:57 +0000 (11:33 +0800)]
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>
7 years agoENGR00124569 IPUv3:Change for support VDI in IPU lib
Liu Ying [Fri, 25 Jun 2010 17:55:49 +0000 (13:55 -0400)]
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>
7 years agoENGR00124082-2 V4L2 output:Rework VDI V4L2 output implementation
Liu Ying [Fri, 25 Jun 2010 17:17:26 +0000 (13:17 -0400)]
ENGR00124082-2 V4L2 output:Rework VDI V4L2 output implementation

1)Medium motion and low motion:
  Frame(n)'s even field is used for Previous channel,
  Frame(n+1)'s odd field is used for Current channel and
  Frame(n+1)'s even field is used for Next channel to generate
  de-interlaced Frame(n+1).
2)High motion:
  Frame(n)'s odd field is used for Current channel to generate
  de-interlaced Frame(n).

Signed-off-by: Liu Ying <b17645@freescale.com>
7 years agoENGR00124082-1 IPUv3:Fix some bugs related with VDI
Liu Ying [Fri, 25 Jun 2010 17:16:27 +0000 (13:16 -0400)]
ENGR00124082-1 IPUv3:Fix some bugs related with VDI

1) Read buffer 1 ready register before setting buffer 1 ready.
2) Enable ISP in IPU_CONF when using VDI.
3) Fix link issue between MEM_VDI_PRP_VF_MEM and MEM_ROT_VF_MEM.
4) Correct g_channel_init_mask value.
5) Use fixed top field for VDI.

Signed-off-by: Liu Ying <b17645@freescale.com>
7 years agoENGR00124252 MX28: Support Switch port0 as ethernet port
Niu Xule [Wed, 9 Jun 2010 06:40:23 +0000 (14:40 +0800)]
ENGR00124252 MX28: Support Switch port0 as ethernet port

The L2 Switch have 4 ports,
and the port0 can be used as ethernet port
when Switch is configured to operate
as a 3-Port Switch (Switch Mode).

Signed-off-by: Niu Xule <b23300@freescale.com>
7 years agoENGR00124085 MX23 ALSA: To reduce the start/stop/pause pop noise when playback
Lionel Xu [Wed, 2 Jun 2010 05:19:20 +0000 (13:19 +0800)]
ENGR00124085 MX23 ALSA: To reduce the start/stop/pause pop noise when playback

1)There is still pop noise sometimes when start/stop/pausing a playback,
   this patch is used to further reduce the pop noise.
2)Enter low power mode(power down DAC) when there is no playback for 5 seconds.
3)Modify amixer controls "Speaker Playback Switch" and "Headhpone Playback
   Switch"

Signed-off-by: Lionel Xu <r63889@freescale.com>
7 years agoENGR00122302 MX23 ALSA: Resolve the failure when pausing and resuming playback
Lionel Xu [Tue, 18 May 2010 07:31:20 +0000 (15:31 +0800)]
ENGR00122302 MX23 ALSA: Resolve the failure when pausing and resuming playback

To reslove the problem when resuming a playback from pausing

Signed-off-by: Lionel Xu <r63889@freescale.com>
7 years agoENGR00124360 v4l2 output: rework v4l2 output
Jason Chen [Thu, 24 Jun 2010 01:39:40 +0000 (09:39 +0800)]
ENGR00124360 v4l2 output: rework v4l2 output

1. remove ADC support.
2. remove work queue for not ic bypass mode which improve the
performance.

Signed-off-by: Jason Chen <b02280@freescale.com>