]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
11 years agoENGR00139241-1 mx6 sata: refine the imx ahci sata driver
Richard Zhu [Tue, 5 Jul 2011 08:29:47 +0000 (16:29 +0800)]
ENGR00139241-1 mx6 sata: refine the imx ahci sata driver

refine the imx ahci sata driver, when enable mx6q sata

Signed-off-by: Richard Zhu <r65037@freescale.com>
11 years agoENGR00152773 imx6: clk: *_axi_clk get_rate should be NULL
Richard Zhao [Thu, 7 Jul 2011 07:42:40 +0000 (15:42 +0800)]
ENGR00152773 imx6: clk: *_axi_clk get_rate should be NULL

Clocks that can not change rate should set get_rate to NULL.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
11 years agoENGR00152512 mx5x: Update some newest usb changes from 2.6.35 to 2.6.38
Peter Chen [Mon, 4 Jul 2011 08:03:24 +0000 (16:03 +0800)]
ENGR00152512 mx5x: Update some newest usb changes from 2.6.35 to 2.6.38

Besides, it enables mx50 usb functions at rdp board
And add mxc (except for mx6q) phy specific register file

Signed-off-by: Peter Chen <peter.chen@freescale.com>
11 years agoENGR00152493-2 mx6q: add usb function
Peter Chen [Mon, 4 Jul 2011 08:00:54 +0000 (16:00 +0800)]
ENGR00152493-2 mx6q: add usb function

The changes for driver part

- Merging some newest changes at 2.6.38
- Add high speed disconnect check at usb core

Signed-off-by: Peter Chen <peter.chen@freescale.com>
11 years agoENGR00152493-1 mx6q: add usb function
Peter Chen [Mon, 4 Jul 2011 07:58:39 +0000 (15:58 +0800)]
ENGR00152493-1 mx6q: add usb function

Changes at MSL

- Add usb code for mx6q
- Usb host functions (keyboard and u-disk) are verified
- USB host low power mode and wakeup are supported
- defconfig for otg port is for host port
- Using upstream platform device register method
- Delete some useless code, and fix the warning during building

Signed-off-by: Peter Chen <peter.chen@freescale.com>
11 years agoENGR00152547 [MX6Q]enable SD3 CD/WP function
Tony Lin [Wed, 6 Jul 2011 05:34:35 +0000 (13:34 +0800)]
ENGR00152547 [MX6Q]enable SD3 CD/WP function

change SD3 CD/WP pad setting to correctively judge card insertion
and write protection

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00152561 [MX6Q]Add U48 MAX7310
Anson Huang [Wed, 6 Jul 2011 07:01:15 +0000 (15:01 +0800)]
ENGR00152561 [MX6Q]Add U48 MAX7310

MX6Q sebreauto has two max7310, U19 and U48,
this commit add U48.

signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00152528-2 ENET: add enet support for mx6q.
Zeng Zhaoming [Tue, 5 Jul 2011 01:19:52 +0000 (09:19 +0800)]
ENGR00152528-2 ENET: add enet support for mx6q.

Enabled all speed mode, 10M/100M/1G.

add "fec_mac" kernel parameter to set mac address.

Since clock and board rework issue, some hard code
stays to make it work.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00152528-1 MX6Q, ENET: add enet support for mx6q
Zeng Zhaoming [Tue, 5 Jul 2011 01:19:45 +0000 (09:19 +0800)]
ENGR00152528-1 MX6Q, ENET: add enet support for mx6q

Add enet driver support for mx6q sabreauto board.

Since ENET reset lost it mac address, we have to generate
mac address in random.
The prefer way to set mac address is pass from kernel command line
by "fec_mac=${ethaddr}" for sabreauto.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00152479 Early uart: Correct Copyright declaration
Zeng Zhaoming [Sun, 3 Jul 2011 17:56:48 +0000 (01:56 +0800)]
ENGR00152479 Early uart: Correct Copyright declaration

Early uart has more than one contributors.
Remove "all right reserve" declare in source code.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00152364 MX6,GPIO: GPIO virtual irq tiggered with wrong irq number
Zeng Zhaoming [Thu, 30 Jun 2011 09:50:59 +0000 (17:50 +0800)]
ENGR00152364 MX6,GPIO: GPIO virtual irq tiggered with wrong irq number

GPIO virtual irq triggered with wrong irq number.

It is caused by we enable TZIC and set GPIO virtual irq start at 128.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00152291-2 [MX6]Add anatop thermal driver
Anson Huang [Fri, 1 Jul 2011 03:01:16 +0000 (11:01 +0800)]
ENGR00152291-2 [MX6]Add anatop thermal driver

Currently only support basic temperature reading,
after the tester write the calibration value into
fuse, we will need to improve the accuracy of this
thermal sensor, also, the cooling device will be
added later.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00152291-1 [MX6]Add anatop thermal driver
Anson Huang [Fri, 1 Jul 2011 02:58:18 +0000 (10:58 +0800)]
ENGR00152291-1 [MX6]Add anatop thermal driver

Currently only support temperature reading, and
since the chip need calibration, and they will
write the calibration parameter into fuse later,
we need to wait for it and improve this thermal
sensor's accuracy. Also, cooling device will be
added later.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00151891: MX50-Fix bug in exit from LPAPM mode.
Ranjani Vaidyanathan [Tue, 21 Jun 2011 17:54:09 +0000 (12:54 -0500)]
ENGR00151891: MX50-Fix bug in exit from LPAPM mode.

When exiting from LPAPM mode, ARM clock is run at 266.67MHZ for
a few instructions while the voltage is still at 0.85V.
Fix this issue by setting the ARM-PODF divider before
switching the parent.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00152172: MX5x- Port bus_freq driver to 2.6.38 kernel
Ranjani Vaidyanathan [Fri, 24 Jun 2011 23:00:28 +0000 (18:00 -0500)]
ENGR00152172: MX5x- Port bus_freq driver to 2.6.38 kernel

Port bus_freq driver from 2.6.35 to 2.6.38

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00152297 imx6: add gpu gc2000 device
Richard Zhao [Thu, 30 Jun 2011 07:21:44 +0000 (15:21 +0800)]
ENGR00152297 imx6: add gpu gc2000 device

-add platform-viv_gpu.c in plat-mxc/devices.
-add gc2000 device in board file.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
11 years agoENGR00139200 MX6Q: Add I2C3,I2C2 device
Jason Liu [Wed, 15 Jun 2011 17:16:17 +0000 (01:16 +0800)]
ENGR00139200 MX6Q: Add I2C3,I2C2 device

Add I2C3 device and MAX7310
Add I2C2 device

Signed-off-by: Lily Zhang <r58066@freescale.com>
Signed-off-by: Jason Liu <r64343@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00152282 MX6: build with mx5 default configure failed
Zeng Zhaoming [Wed, 29 Jun 2011 08:14:55 +0000 (16:14 +0800)]
ENGR00152282 MX6: build with mx5 default configure failed

After merge mx6 MSL code, MX5 default configure build failed,
This is caused by mx6 macro definition, and wrongly removed sdma
common code.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00139229-4 SDHC: Add SDHC support for i.MX6
Zeng Zhaoming [Fri, 24 Jun 2011 01:26:28 +0000 (09:26 +0800)]
ENGR00139229-4 SDHC: Add SDHC support for i.MX6

Add sdhc support to make it easy mount rootfs from SD card.
Merge from imx6_bringup branch.

Signed-off-by: Anish Trivedi <anish@freescale.com>
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Signed-off-by: Richard Zhu <r65037@freescale.com>
Merged-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00139229-3 tty:early-uart: add early-uart support for i.mx platforms
Zeng Zhaoming [Fri, 24 Jun 2011 01:02:35 +0000 (09:02 +0800)]
ENGR00139229-3 tty:early-uart: add early-uart support for i.mx platforms

Add early uart support for i.MX platforms

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Reviewed-by: Robby Cai <r63905@freescale.com>
11 years agoENGR00139229-2 MX6: Bring up i.MX6 sabreauto with Quad cores
Zeng Zhaoming [Tue, 28 Jun 2011 02:23:16 +0000 (10:23 +0800)]
ENGR00139229-2 MX6: Bring up i.MX6 sabreauto with Quad cores

MSL code for bring up MX6 sabreauto board with Quad core.
Enable cpu core local timer, add reset and enable cpu core control,
and enable it in default config.

Merged from testbuild:imx6_bringup branch.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Jason Liu <r64343@freescale.com>
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Merged-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00139229-1 MX6: Bring up i.MX6 sabreauto with Single core
Zeng Zhaoming [Tue, 28 Jun 2011 01:15:47 +0000 (09:15 +0800)]
ENGR00139229-1 MX6: Bring up i.MX6 sabreauto with Single core

MSL code for bring up MX6 sabreauto board with Single core.

Merged from testbuild:imx6_bringup branch.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Jason Liu <r64343@freescale.com>
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
Singed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Signed-off-by: Richard Zhu <r65037@freescale.com>
Signed-off-by: Anish Trivedi <anish@freescale.com>
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Lily Zhang <r58066@freescale.com>
Signed-off-by: Sammy He <r62914@freescale.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Terry Lv <r65388@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Merged-by: Zeng Zhaoming <b32542@freescale.com>
Reviewed-by: Jason Liu <r64343@freescale.com>
Reviewed-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00141259: MX53_SMD: SPI: Use community spi_imx for spi nor
Terry Lv [Thu, 16 Jun 2011 10:16:20 +0000 (18:16 +0800)]
ENGR00141259: MX53_SMD: SPI: Use community spi_imx for spi nor

Use community spi_imx for spi nor.
m25p80 is now supported with spi_imx.

Signed-off-by: Terry Lv <r65388@freescale.com>
11 years agoENGR00151896 - EPDC fb: Fix bug preventing suspend when powerdown disabled
Danny Nold [Tue, 21 Jun 2011 21:10:46 +0000 (16:10 -0500)]
ENGR00151896 - EPDC fb: Fix bug preventing suspend when powerdown disabled

- With FB_POWERDOWN_DISABLE is set as the powerdown delay (disabling the EPDC
driver from powering down), the EPDC driver was having problems going into
suspend.  Any request to blank the EPDC driver would result in a timeout
and an error status.  And subsequent attempts to send updates to the driver
would fail, as the driver's power state was incorrect.  This patch prompts
the EPDC driver to be disabled when the blanking state is changed to
FB_BLANK_POWERDOWN and FB_POWERDOWN_DISABLE is set.  Resultingly, the correct
driver power state is maintained and suspend/resume works correctly.

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00151822 - EPDC fb: Prevent endless collision by managing FULL mode updates
Danny Nold [Tue, 21 Jun 2011 02:51:03 +0000 (21:51 -0500)]
ENGR00151822 - EPDC fb: Prevent endless collision by managing FULL mode updates

When using SNAPSHOT update scheme, submitting FULL mode updates can easily
lead to an endlessly looping sequence of collisions if any updates are active
when the new FULL mode update is submitted.  Thus, we must first flush any
updates out before submitting a new FULL mode update.

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00151494-2 arch: change mxc_vpu.h to remove definition for mx32/mx37
Sammy He [Tue, 21 Jun 2011 16:18:40 +0000 (00:18 +0800)]
ENGR00151494-2 arch: change mxc_vpu.h to remove definition for mx32/mx37

The vpu code in driver for mx32/mx37 is out of date already, and
we won't support the platforms, so clean the code for removing it.

And removed ioctl definition that won't use again.

Signed-off-by: Sammy He <r62914@freescale.com>
11 years agoENGR00151494-1 vpu: remove the code for vpu of mx32/mx37 platforms
Sammy He [Tue, 21 Jun 2011 16:16:20 +0000 (00:16 +0800)]
ENGR00151494-1 vpu: remove the code for vpu of mx32/mx37 platforms

The vpu code in driver for mx32/mx37 is out of date already, and
we won't support the platforms, so clean the code for removing it.

Signed-off-by: Sammy He <r62914@freescale.com>
11 years agoENGR00151762 vpu: Fix system hang due to long time video playback on mx51
Sammy He [Tue, 21 Jun 2011 16:08:22 +0000 (00:08 +0800)]
ENGR00151762 vpu: Fix system hang due to long time video playback on mx51

Fix system hang due to long time video playback. This issue is only
on i.MX51 platfrom due to changing vpu clock parent in vpu_enable/
disable. Set vpu clock parent to axi_a forever to fix it.

Signed-off-by: Sammy He <r62914@freescale.com>
11 years agoENGR00151639 - EPDC fb: Memory for PxP workaround buffers may be reduced
Danny Nold [Wed, 15 Jun 2011 14:11:51 +0000 (09:11 -0500)]
ENGR00151639 - EPDC fb: Memory for PxP workaround buffers may be reduced

- This patch changes the way that buffers are allocated and used for the
case where PxP alignment limitations are not met (a copy from the
update source buffer into a temporary buffer before initiating the
PxP processing task is required).  Previously, a buffer was allocated
on a per-update basis, resulting in a large number of copy buffers.  Now,
we allocate just one copy buffer that can be reused any time the PxP
alignment workaround is required.  This is okay because it is assured
that only one PxP transaction can be prepared at a time.

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00142098 - EPDC fb: Fix slow mode transitions when powerdown delay disabled
Danny Nold [Tue, 31 May 2011 17:45:12 +0000 (12:45 -0500)]
ENGR00142098 - EPDC fb: Fix slow mode transitions when powerdown delay disabled

- When the powerdown delay is set to FB_POWERDOWN_DISABLE, the
mxc_epdc_fb_flush_updates() function does not execute correctly, always
resulting in a time out while waiting to receive a completion that signals
that all updates have completed.  This causes long delays when changing the FB
mode, since a mode change will always result in a call to
mxc_epdc_fb_flush_updates().

Fixed this bug by creating a new mxc_epdc_fb_data variable to track whether
all active updates have completed.  mxc_epdc_fb_flush_updates() now
keys off of this variable to determine whether to wait for all
active updates to complete.

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00139461-2 mxc alsa soc spdif driver
Alan Tull [Tue, 7 Jun 2011 17:59:03 +0000 (12:59 -0500)]
ENGR00139461-2 mxc alsa soc spdif driver

S/PDIF tx and rx using ASoC layer.

Signed-off-by: Alan Tull <alan.tull@freescale.com>
11 years agoENGR00139461-1 mxc alsa soc spdif driver
Alan Tull [Wed, 18 May 2011 21:32:35 +0000 (16:32 -0500)]
ENGR00139461-1 mxc alsa soc spdif driver

S/PDIF tx and rx using ASoC layer.

Signed-off-by: Alan Tull <alan.tull@freescale.com>
11 years agoENGR00144358 - EPDC fb: Fix race condition in how EPDC status is captured in IST
Danny Nold [Tue, 31 May 2011 21:23:48 +0000 (16:23 -0500)]
ENGR00144358 - EPDC fb: Fix race condition in how EPDC status is captured in IST

- Capture EPDC status registers up front in IST, rather than when-needed
during IST, to prevent potential race conditions where the status changes
mid-IST.

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00144136 - EPDC fb: Add TCE underrun workaround timeout
Danny Nold [Tue, 31 May 2011 19:14:57 +0000 (14:14 -0500)]
ENGR00144136 - EPDC fb: Add TCE underrun workaround timeout

- When synching update submission to EPDC end of frame (when tce_prevent is
defined), we should wait using wait_for_completion_timeout to prevent
hang/deadlock in case we don't receive completion.
- Added call in IST to disable end of frame interrupt upon receiving the
interrupt.

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00144306-2 vpu: Add iram info to vpu platform data for each platform
Sammy He [Tue, 31 May 2011 09:49:24 +0000 (17:49 +0800)]
ENGR00144306-2 vpu: Add iram info to vpu platform data for each platform

Add iram info to vpu platform data for each platform in linux/arch folder.
Disable iram on MX51 and enable iram on MX53 platform.
And remove VPU_IRAM_SIZE usage.

Signed-off-by: Sammy He <r62914@freescale.com>
11 years agoENGR00144306-1 VPU: remove VPU IRAM config and add iram info to plat data.
Sammy He [Tue, 31 May 2011 09:48:12 +0000 (17:48 +0800)]
ENGR00144306-1 VPU: remove VPU IRAM config and add iram info to plat data.

One kernel image is requested, however, we need to enable iram
for performance improvement on mx53, and disable it on mx51 due
to known issue. So use platform data to pass vpu iram disable/enable
flag. And considering requested iram size also can be different per
requirement, iram size is also set in platform data.

Signed-off-by: Sammy He <r62914@freescale.com>
11 years agoENGR00144053: MX53: Fix iomux definition for PATA_D6
Dinh Nguyen [Wed, 25 May 2011 15:46:52 +0000 (10:46 -0500)]
ENGR00144053: MX53: Fix iomux definition for PATA_D6

The iomux definition for MX53 PATA_D6 has the wrong modes for
the various mux modes of the pin. This patch adds the correct
modes for the pin.

Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
11 years agoENGR00142551-3 MXC V4L2:Change IPU interface for triple buffer
Liu Ying [Tue, 24 May 2011 02:06:03 +0000 (10:06 +0800)]
ENGR00142551-3 MXC V4L2:Change IPU interface for triple buffer

This patch changes IPU interface for MXC V4L2 to align with
IPUv3 triple buffer support.
When V4L2 is used, we'll change to use double buffer for
display channel via internal framebuffer interface.

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

11 years agoENGR00142551-2 IPUv3 FB:Support HW triple buffer
Liu Ying [Tue, 24 May 2011 02:04:02 +0000 (10:04 +0800)]
ENGR00142551-2 IPUv3 FB:Support HW triple buffer

This patch supports HW triple buffer for IPUv3
framebuffer.
1) Remove buf ready check in EOF irq handler, as we
   think the swap logic will not fail for HW triple
   buffer case.
2) When V4L2 output/overlay are used, switch to double
   buffer mode.
3) Changes IPU interface for IPUv1 framebuffer to pass
   building.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Jason Chen <b02280@freescale.com>
(cherry picked from commit 4ada3031e13207902f8c90b33c082759889cb22a)

11 years agoENGR00142551-1 IPUv3:Support triple buffer
Liu Ying [Tue, 24 May 2011 01:58:49 +0000 (09:58 +0800)]
ENGR00142551-1 IPUv3:Support triple buffer

This patch supports IPUv3 triple buffer.
Only channel 23, 27 and 28 are tested.
Test was done on MX51 BBG and MX53 SMD.
IPUv1 interface is changed accordingly
to pass building.

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

11 years agoENGR00143575 IPUv3:Align IDMAC BS with DMFC FIFO BS
Liu Ying [Tue, 24 May 2011 01:57:46 +0000 (09:57 +0800)]
ENGR00143575 IPUv3:Align IDMAC BS with DMFC FIFO BS

This patch aligns IDMAC burst size and DMFC FIFO burst
size to get better performance and workarounds black
flash issue when playing video on DP-FG with full
screen mode at 1024x768M@60.

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

11 years agoENGR00143799 Add SCC RAM clock to dependency list for SAHARA clock tree
Anish Trivedi [Fri, 20 May 2011 16:51:01 +0000 (11:51 -0500)]
ENGR00143799 Add SCC RAM clock to dependency list for SAHARA clock tree

When ARM is in WAIT mode, the SCC RAM clock is disabled since
1 is written to the CCGR register by default. At that point, if SAHARA
tries to access a key or some other piece of data stored in the SCC RAM,
then it might hang.

To prevent this scenario, SCC RAM is added to dependency list
for SCC clock, and SCC clock is added to dependency list for SAHARA.

Signed-off-by: Anish Trivedi <anish@freescale.com>
11 years agoENGR00143550 camera: change camera platform data name and remove unused function
Yuxi Sun [Wed, 18 May 2011 06:02:45 +0000 (14:02 +0800)]
ENGR00143550 camera: change camera platform data name and remove unused function

Change camera platform data name from mxc_camera_platform_data to
fsl_mxc_camera_platform_data in accordence with include/linux/fsl_devices.h
and remove unused function gpio_sensor_active(),gpio_sensor_inactive().

Signed-off-by: Yuxi Sun <b36102@freescale.com>
11 years agoENGR00143511 config: add ipu and camera module in kernel build config
Yuxi Sun [Tue, 17 May 2011 05:22:15 +0000 (13:22 +0800)]
ENGR00143511 config: add ipu and camera module in kernel build config

add ipu and camera modules in kernel build configure

Signed-off-by: Yuxi Sun <b36102@freescale.com>
11 years agoENGR00142865 ipuv3: add pixel clk to clk dev
Jason Chen [Tue, 17 May 2011 05:05:32 +0000 (13:05 +0800)]
ENGR00142865 ipuv3: add pixel clk to clk dev

add pixel clk to clk dev

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00142859 ipuv3: add removed g_di_clk set
Jason Chen [Tue, 17 May 2011 05:04:59 +0000 (13:04 +0800)]
ENGR00142859 ipuv3: add removed g_di_clk set

add removed g_di_clk set.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00143486 - MSL: MAX17135 init_data incorrectly declared __initdata
Danny Nold [Mon, 16 May 2011 22:02:00 +0000 (17:02 -0500)]
ENGR00143486 - MSL: MAX17135 init_data incorrectly declared __initdata

- Removed __initdata from regulator_init_data structure declaration.  This
protects the MAX17135 regulator from having its structure overwritten, which
was causing a bug when writing large chunks of memory.

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00143309 IPUv3fb:Set default yres_virtual to be 3*yres
Liu Ying [Thu, 12 May 2011 12:18:25 +0000 (20:18 +0800)]
ENGR00143309 IPUv3fb:Set default yres_virtual to be 3*yres

This patch sets framebuffer yres_virtual to be 3*yres defaultly.
Before this patch is applied, the yres_virtual will be changed
to yres when hdmi cable is hot plugged out and in, which
reduces yres_virtual to yres and pan display mechanism cannot
work well.

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

11 years agoENGR00143294-3: MX50-Port DVFS-CORE and bus_freq driver to 2.6.38
Ranjani Vaidyanathan [Thu, 12 May 2011 00:18:40 +0000 (19:18 -0500)]
ENGR00143294-3: MX50-Port DVFS-CORE and bus_freq driver to 2.6.38

Port low power mode drivers to 2.6.38

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00143294-2: MX5x-Port DVFS-CORE and bus_freq driver to 2.6.38
Ranjani Vaidyanathan [Thu, 12 May 2011 00:17:17 +0000 (19:17 -0500)]
ENGR00143294-2: MX5x-Port DVFS-CORE and bus_freq driver to 2.6.38

Port low power mode drivers to 2.6.38

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00143294-1: Fix bug in MC13892 driver
Ranjani Vaidyanathan [Thu, 12 May 2011 00:13:43 +0000 (19:13 -0500)]
ENGR00143294-1: Fix bug in MC13892 driver

In set_voltage function, all voltages are not in microvolts.
Hence set_voltage function was failing. Change all voltages in
the function to be in microvolts.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00142683 IPUv3:Increase IDMAC BS for RGBP and DMFC BS
Liu Ying [Thu, 12 May 2011 09:59:34 +0000 (17:59 +0800)]
ENGR00142683 IPUv3:Increase IDMAC BS for RGBP and DMFC BS

This patch increases IDMAC burst size from 16 pixels to
32 pixels for RGBP pixel format and increases DMFC burst
size to 128 pixels to workaround 1080P60 display video
black flash issue.

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

11 years agoENGR00142954 - MSL clocks: correct APLL settings to prevent random PxP lockups
Danny Nold [Mon, 2 May 2011 17:35:05 +0000 (12:35 -0500)]
ENGR00142954 - MSL clocks: correct APLL settings to prevent random PxP lockups

- Add appropriate bit settings to ANADIG_MISC to improve APLL signal integrity
and prevent intermittent PxP lockups

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00142950-7 - EPDC firmware: Port to 2.6.38
Danny Nold [Thu, 5 May 2011 15:26:31 +0000 (10:26 -0500)]
ENGR00142950-7 - EPDC firmware: Port to 2.6.38

- Added firmware/imx/epdc directory
- Added EPDC waveform firmware files

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00142950-6 - PxP DMA: Port PxP driver to 2.6.38 kernel
Danny Nold [Tue, 3 May 2011 21:41:33 +0000 (16:41 -0500)]
ENGR00142950-6 - PxP DMA: Port PxP driver to 2.6.38 kernel

- Add drivers/dma/pxp and all PxP driver files within

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00142950-5 - iMX5 defconfig: Port EPDC/PxP/MAX17135 to 2.6.38
Danny Nold [Tue, 3 May 2011 18:12:40 +0000 (13:12 -0500)]
ENGR00142950-5 - iMX5 defconfig: Port EPDC/PxP/MAX17135 to 2.6.38

- Added support for EPDC driver
- Added support for PxP driver
- Added support for MAX17135 EPD PMIC driver

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00142950-4 - Plat-MXC: Port EPDC support to 2.6.38 kernel
Danny Nold [Tue, 3 May 2011 18:10:46 +0000 (13:10 -0500)]
ENGR00142950-4 - Plat-MXC: Port EPDC support to 2.6.38 kernel

- Port EPDC platform code to 2.6.38
- Port PxP platform code to 2.6.38

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00142950-3 - MSL: Port EPDC/PxP driver support to 2.6.38
Danny Nold [Tue, 3 May 2011 18:00:55 +0000 (13:00 -0500)]
ENGR00142950-3 - MSL: Port EPDC/PxP driver support to 2.6.38

- Ported EPDC driver MSL layer code to 2.6.38
- Ported PxP driver MSL layer code to 2.6.38
- Ported Maxim 17135 EPD PMIC driver MSL layer code to 2.6.38

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00142950-2 - MAX17135 EPD PMIC: Ported to 2.6.38 kernel
Danny Nold [Tue, 3 May 2011 17:58:07 +0000 (12:58 -0500)]
ENGR00142950-2 - MAX17135 EPD PMIC: Ported to 2.6.38 kernel

- Ported MAX17135 MFD core driver to 2.6.38
- Ported MAX17135 HWMON temperature sensor driver to 2.6.38
- Ported MAX17135 regulator driver to 2.6.38

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00142950-1 - EPDC fb: Add support for 2.6.38
Danny Nold [Tue, 3 May 2011 16:12:19 +0000 (11:12 -0500)]
ENGR00142950-1 - EPDC fb: Add support for 2.6.38

- Bring EPDC driver up-to-date
- Add mxcfb_epdc_kernel.h
- Change structure definitions from mxc_ to imx_ where needed to
match platform structure names

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00143186 GPMI : add the kernel command parameter to disable/enable gpmi
Huang Shijie [Tue, 10 May 2011 08:04:43 +0000 (16:04 +0800)]
ENGR00143186 GPMI : add the kernel command parameter to disable/enable gpmi

add the kernel command parameter to control whether we should enable
the GPMI NAND driver.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00143126-3 ARM: add DMA driver for mx50
Huang Shijie [Thu, 28 Apr 2011 06:39:44 +0000 (14:39 +0800)]
ENGR00143126-3 ARM: add DMA driver for mx50

add the DMA driver for mx50.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00143126-2 ARM: add DMA device for mx50
Huang Shijie [Wed, 27 Apr 2011 02:29:31 +0000 (10:29 +0800)]
ENGR00143126-2 ARM: add DMA device for mx50

add dma device for mx50.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00143126-1 ARM: add DMA support for mx50
Huang Shijie [Wed, 27 Apr 2011 02:19:45 +0000 (10:19 +0800)]
ENGR00143126-1 ARM: add DMA support for mx50

add the DMA support for platform mx50.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00141558-9 MTD : add gpmi support for MX50
Huang Shijie [Tue, 26 Apr 2011 09:10:59 +0000 (17:10 +0800)]
ENGR00141558-9 MTD : add gpmi support for MX50

add the gpmi support for mx50.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00141558-8 ARM: add gpmi device for mx508
Huang Shijie [Tue, 26 Apr 2011 08:27:29 +0000 (16:27 +0800)]
ENGR00141558-8 ARM: add gpmi device for mx508

add the gpmi device for mx508.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00141558-7 ARM: add gpmi support for MX508
Huang Shijie [Tue, 26 Apr 2011 08:26:19 +0000 (16:26 +0800)]
ENGR00141558-7 ARM: add gpmi support for MX508

add gpmi support for mx508.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00141558-6 MTD : add GPMI driver in the config and Makefile
Huang Shijie [Tue, 15 Mar 2011 07:14:28 +0000 (15:14 +0800)]
ENGR00141558-6 MTD : add GPMI driver in the config and Makefile

add the GPMI driver in the relevant Kconfig and Makefile in the MTD.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00141558-5 MTD : add support for imx23 and imx28
Huang Shijie [Wed, 30 Mar 2011 08:09:54 +0000 (16:09 +0800)]
ENGR00141558-5 MTD : add support for imx23 and imx28

Add the implementation code for imx23 and imx28.
The imx23 and imx28 share most of the same code.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00141558-4 MTD : add the common code for GPMI controller driver
Huang Shijie [Wed, 30 Mar 2011 08:01:28 +0000 (16:01 +0800)]
ENGR00141558-4 MTD : add the common code for GPMI controller driver

These files contain the common code for the GPMI driver.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00141558-3 ARM: mxs: add GPMI device for imx28
Huang Shijie [Fri, 15 Apr 2011 09:20:56 +0000 (17:20 +0800)]
ENGR00141558-3 ARM: mxs: add GPMI device for imx28

add gpmi device for imx28.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00141558-2 ARM: mxs: add GPMI device for imx23
Huang Shijie [Fri, 15 Apr 2011 09:19:26 +0000 (17:19 +0800)]
ENGR00141558-2 ARM: mxs: add GPMI device for imx23

add the gpmi device for imx23.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00141558-1 ARM: mxs: add GPMI support for imx23/imx28
Huang Shijie [Fri, 15 Apr 2011 07:49:45 +0000 (15:49 +0800)]
ENGR00141558-1 ARM: mxs: add GPMI support for imx23/imx28

add gpmi support for imx23 and imx28.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00143074 Firmware: Fix firmware build failed in 2.6.38 kernel
Zeng Zhaoming [Thu, 5 May 2011 15:32:17 +0000 (23:32 +0800)]
ENGR00143074 Firmware: Fix firmware build failed in 2.6.38 kernel

Firmware build failed when add ihex format firmware.

This regression introduced by d21b2d2fb3a689193cae637d7195512ba8451a63,
which wrongly add 'bin-format' firmware.

Fix it by revert the wrong commit and convert sdma firmware to ihex.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Acked-by: Lily Zhang <r58066@freescale.com>
11 years agoENGR00142679 SCC2 and SAHARA: changes to support loadable modules
Anish Trivedi [Fri, 29 Apr 2011 18:49:39 +0000 (13:49 -0500)]
ENGR00142679 SCC2 and SAHARA: changes to support loadable modules

To allow SCC2 and SAHARA drivers to work as loadable modules, needed
to add GPL license to SAHARA driver, export a couple of functions
from SCC2 driver, and the following data buffer mapping change in
SAHARA driver:

When compiled as a loadable module, a data buffer to be DMA'ed in the
SAHARA driver may not be in the kernel direct-mapped region but in
the "Kernel module space" between TASK_SIZE and high_memory-1
(see http://www.arm.linux.org.uk/developer/memory.txt). In this
scenario, the driver canno simply use the __pa macro to obtain
the physical address. It must walk the page tables to find the
page and use the page_to_phys function to find the physical
address that corresponds to the data buffer.

Signed-off-by: Anish Trivedi <anish@freescale.com>
11 years agoENGR00142734 SDMA: Fix sdma incorrect lock usage.
Zeng Zhaoming [Thu, 28 Apr 2011 18:34:05 +0000 (02:34 +0800)]
ENGR00142734 SDMA: Fix sdma incorrect lock usage.

In very seldom, play audio will caused system hangs in 2.6.38 kernel.

This is caused by new sdma driver wrongly enable irq after enable channel.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00142733 MX51: Add sgtl5000 support for babbage
Zeng Zhaoming [Thu, 28 Apr 2011 02:32:09 +0000 (10:32 +0800)]
ENGR00142733 MX51: Add sgtl5000 support for babbage

Add sgtl5000 support for imx51 babbage in 2.6.38 kernel

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00141552 ipuv3: fix display pin's power leak
Jason Chen [Thu, 28 Apr 2011 03:23:36 +0000 (11:23 +0800)]
ENGR00141552 ipuv3: fix display pin's power leak

If you disable display, the display port's pin may keep high voltage which
may cause power leakage. Fix this issue by make all pin go into low level
after display disable.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00142517-2 camera clk initialization
Yuxi Sun [Tue, 26 Apr 2011 05:44:40 +0000 (13:44 +0800)]
ENGR00142517-2 camera clk initialization

Modified camera clk initialization and camera platform data
name to coincide with history.

Signed-off-by: Sun Yuxi <b36102@freescale.com>
11 years agoENGR00142517-1 ARM: mx53 smd:camera pin config
Yuxi Sun [Tue, 26 Apr 2011 05:41:39 +0000 (13:41 +0800)]
ENGR00142517-1 ARM: mx53 smd:camera pin config

Add camera pin and clk configuration

Signed-off-by: Sun Yuxi <b36102@freescale.com>
11 years agoENGR00142591 GPU: add some print message to help debug
Richard Zhao [Tue, 26 Apr 2011 09:37:50 +0000 (17:37 +0800)]
ENGR00142591 GPU: add some print message to help debug

Add print message when ioremap or shared memory alloc fail.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
11 years agoENGR00142471 imx5_defconfig: update config according to .35 kernel
Richard Zhao [Fri, 22 Apr 2011 04:35:10 +0000 (12:35 +0800)]
ENGR00142471 imx5_defconfig: update config according to .35 kernel

- 2G/2G memory split
- low latency preempt
...

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
11 years agoENGR00142436-2 SGTL5000: Audio not work in 2.6.38 kernel
Zeng Zhaoming [Thu, 21 Apr 2011 00:06:29 +0000 (08:06 +0800)]
ENGR00142436-2 SGTL5000: Audio not work in 2.6.38 kernel

If platform not provide headphone status detect gpio, should not failed
the audio subsystem.

Fix it by complains with a warning.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00142436-1 MX53 LOCO: Audio not work in 2.6.38 kernel
Zeng Zhaoming [Thu, 21 Apr 2011 00:01:53 +0000 (08:01 +0800)]
ENGR00142436-1 MX53 LOCO: Audio not work in 2.6.38 kernel

Audio init failed with:
failed to call snd_soc_jack_add_gpios
soc-audio soc-audio: asoc: failed to init HiFi: -16
asoc: failed to instantiate card sgtl5000-audio: -16

This is caused by hp_status() callback gpio setting introduced by:
9dbaab8db17c3ce6bbe368a2b708c41ea1db33f8

Fix it by provide gpio setting in platform data.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00142413: MX51: Fix mx51 I2c board info multiple defined in 2.6.38
Zeng Zhaoming [Wed, 20 Apr 2011 19:34:56 +0000 (03:34 +0800)]
ENGR00142413: MX51: Fix mx51 I2c board info multiple defined in 2.6.38

Multiple defined i2c board info in 2.6.38 kernel for mx51 bbg.
This cause a build error.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00142304: IMX51: Add pmic support for IMX51 babbage in 2.6.38
Zeng Zhaoming [Wed, 20 Apr 2011 19:18:48 +0000 (03:18 +0800)]
ENGR00142304: IMX51: Add pmic support for IMX51 babbage in 2.6.38

Add pmic support for imx51 babbage in upgrading to 2.6.38
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00142303: IMX51: add sgtl5000 support for MX51 babbage
Zeng Zhaoming [Mon, 18 Apr 2011 19:11:01 +0000 (03:11 +0800)]
ENGR00142303: IMX51: add sgtl5000 support for MX51 babbage

Add sgtl5000 audio support for imx51 babbage in upgrading to 2.6.38.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00142351 mxc_gpu: autogating: add pending flag
Richard Zhao [Wed, 20 Apr 2011 05:18:15 +0000 (13:18 +0800)]
ENGR00142351 mxc_gpu: autogating: add pending flag

pending indicate the timer has been fired but clock not yet disabled.

This patch fixs the bug that sometimes in irq handle it tries to enable
clock and cause BUG.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
11 years agoENGR00141152-3 make default display option for drivers
Jason Chen [Tue, 19 Apr 2011 08:35:36 +0000 (16:35 +0800)]
ENGR00141152-3 make default display option for drivers

make default display option for tve/vga/hdmi/ddc

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00141152-2 imx5X MSL: make default display option
Jason Chen [Tue, 19 Apr 2011 08:34:02 +0000 (16:34 +0800)]
ENGR00141152-2 imx5X MSL: make default display option

Change MSL files.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00141152-1 header file: make default display option
Jason Chen [Tue, 19 Apr 2011 08:33:28 +0000 (16:33 +0800)]
ENGR00141152-1 header file: make default display option

After this patch, default display for below platforms:

mx51 bbg: DVI-XGA on DI0
mx53 ard:  LVDS-XGA on DI0
mx53 evk: CLAA-WVGA on DI0
mx53 loco: VGA-XGA on DI1
mx53 smd: LVDS-XGA on DI1

The default options will work if you do not enter other video cmdline options.
For platform need enable other drivers, it will enable it automatically.
For example, under default option, mx53 loco will enable tve-vga driver
automatically; before this patch, it need add 'vga' to cmdline to enable it.
And 'di1_primary' option also will be enabled automatically if need.

If you want to overwrite the default option, please refer to below:

enable vga: 'vga'
disable vga: 'vga=off'
enable tve: 'tve'
disable tve:  'tve=off'
enable ddc: 'ddc'
disable ddc: 'ddc=off'
enable hdmi: 'hdmi'
disable hdmi: 'hdmi=off'
choose di0 as primary: 'di0_primary'
choose di1 as primary: 'di1_primary'

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00141400 GPU: Improve GPU clock gating
Zhou, Jie [Thu, 31 Mar 2011 17:01:27 +0000 (01:01 +0800)]
ENGR00141400 GPU: Improve GPU clock gating

seperate interrupt handling and clk_enable for Z160 and Z430

Signed-off-by: Zhou, Jie <b30303@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
11 years agoENGR00140700 GPU: fix tiger run the second time causing system hang
Richard Zhao [Wed, 16 Mar 2011 02:37:52 +0000 (10:37 +0800)]
ENGR00140700 GPU: fix tiger run the second time causing system hang

The root cause is endless GSL_INTR_BLOCK_YDX_CP interrupt.
Apply interrupt status read work around only when yamato started.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
11 years agoENGR00140050 GPU: workaround hang with heavy bus loading
Zhou, Jie [Wed, 2 Mar 2011 17:02:40 +0000 (01:02 +0800)]
ENGR00140050 GPU: workaround hang with heavy bus loading

The GPU hang when run two cubes together with one video playback.
According to the suggestion from AMD, we'd better not read register
when GPU active, especially for CP block.

Signed-off-by: Zhou, Jie <b30303@freescale.com>
11 years agoENGR00142296-2 SRTC: Upgrade driver to kernel version 2.6.38
Anish Trivedi [Mon, 18 Apr 2011 19:38:48 +0000 (14:38 -0500)]
ENGR00142296-2 SRTC: Upgrade driver to kernel version 2.6.38

RTC-DEV ioctl interface changed, which required a definition
 of new callback mxc_rtc_alarm_irq_enable in SRTC driver.

Also, added a sync call to mxc_rtc_interrupt after a write to
LP domain register to make sure we wait 3 clock cycles in order
for the write to complete, as required by the hardware.

Signed-off-by: Anish Trivedi <anish@freescale.com>
11 years agoENGR00142296-1 ARM: MX5: Add SRTC device support
Anish Trivedi [Mon, 18 Apr 2011 18:59:27 +0000 (13:59 -0500)]
ENGR00142296-1 ARM: MX5: Add SRTC device support

Machine layer changes to add SRTC device for MX5x platforms.

Signed-off-by: Anish Trivedi <anish@freescale.com>
11 years agoENGR00142268 ARM i.MX51 bbg: add display support.
Jason Chen [Mon, 18 Apr 2011 09:14:02 +0000 (17:14 +0800)]
ENGR00142268 ARM i.MX51 bbg: add display support.

Add display device support for mx51 bbg.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00142266-7 eSDHC:Add the GPIO CD/WP on MX53 EVK boards
Richard Zhu [Mon, 18 Apr 2011 10:25:48 +0000 (18:25 +0800)]
ENGR00142266-7 eSDHC:Add the GPIO CD/WP on MX53 EVK boards

arm: enable the eSDHC CD/WP on MX53 EVK board

Signed-off-by: Richard Zhu <r65037@freescale.com>
11 years agoENGR00142266-6 eSDHC:Add the GPIO CD/WP on MX53 ARD boards
Richard Zhu [Mon, 18 Apr 2011 08:18:35 +0000 (16:18 +0800)]
ENGR00142266-6 eSDHC:Add the GPIO CD/WP on MX53 ARD boards

arm: enable the eSDHC CD/WP on MX53 ARD board

Signed-off-by: Richard Zhu <r65037@freescale.com>
11 years agoENGR00142266-5 eSDHC:Add the GPIO CD/WP on MX53 SMD boards
Richard Zhu [Mon, 18 Apr 2011 07:18:06 +0000 (15:18 +0800)]
ENGR00142266-5 eSDHC:Add the GPIO CD/WP on MX53 SMD boards

arm: enable the eSDHC CD/WP on MX53 SMD board

Signed-off-by: Richard Zhu <r65037@freescale.com>