]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
11 years agoENGR00153651-1 ESAI: Prepare MSL support for esai/cs42888 audio codec driver
Lionel Xu [Mon, 25 Jul 2011 13:44:45 +0000 (21:44 +0800)]
ENGR00153651-1 ESAI: Prepare MSL support for esai/cs42888 audio codec driver

1) Add machine specific code for esai/cs42888 driver support, including pad
    control, clk setting, i2c setting, etc.
2) Enable audio support in default config.

Signed-off-by: Lionel Xu <R63889@freescale.com>
11 years agoENGR00153601 [MX6]Adjust L2 cache parameter
Anson Huang [Mon, 25 Jul 2011 08:14:24 +0000 (16:14 +0800)]
ENGR00153601 [MX6]Adjust L2 cache parameter

Adjust L2 cache parameter to improve both
performance and power consumption.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00153598 MX6 defconfig: remove optimize for size
Frank Li [Mon, 25 Jul 2011 07:46:24 +0000 (15:46 +0800)]
ENGR00153598 MX6 defconfig: remove optimize for size

optimize for speed
add CONFIG_TOUCHSCREEN_EGALAX

Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00153578 tve-vga: set vga output gain to improve quality
Jason Chen [Mon, 25 Jul 2011 06:31:06 +0000 (14:31 +0800)]
ENGR00153578 tve-vga: set vga output gain to improve quality

set vga output gain to improve quality.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00153275-2 mx53 L2638 msl modifications when add ahci temp-monitor
Richard Zhu [Tue, 19 Jul 2011 05:45:36 +0000 (13:45 +0800)]
ENGR00153275-2 mx53 L2638 msl modifications when add ahci temp-monitor

based on the 2.6.38 kernel mainline, refer to linux std hwmon
architeture, add the standalone ahci temperature monitor driver
on fsl i.mx53 platforms.

Signed-off-by: Richard Zhu <r65037@freescale.com>
11 years agoENGR00153275-1 ahci L2638 add the standalone ahci temperature monitor
Richard Zhu [Tue, 19 Jul 2011 05:42:29 +0000 (13:42 +0800)]
ENGR00153275-1 ahci L2638 add the standalone ahci temperature monitor

based on the 2.6.38 kernel mainline, refer to linux lm-sensors
architeture, add the standalone ahci temperature monitor driver
on fsl i.mx53 platforms.
Less than half sencond is used in one temperature read operation.

usage:
Use the following cmd to cat the i.mx53 soc temperature after
boot up i.mx53 system in user space.
for example:
...$ cat /sys/class/hwmon/hwmon1/device/temp1_input
61000
or run the following cmd after configure the lm-sensors
...$ sensors
imx-ahci-hwmon-isa-0000
Adapter: ISA adapter
temp1:        +58.0 C

Signed-off-by: Richard Zhu <r65037@freescale.com>
11 years agoENGR00153429 [WDOG]Workaround for SMP wdog reset
Anson Huang [Wed, 20 Jul 2011 07:57:05 +0000 (15:57 +0800)]
ENGR00153429 [WDOG]Workaround for SMP wdog reset

1. Copy mx6_secondary_startup to iRAM;
2. CPU0 reset CPUx, then waiting CPUx reset OK, and
   clear CPUx's boot_entry;
3. CPUx reset OK, waiting CPU0 to clear its parameter;
4. All these steps done, CPUx go on boot;

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00153507: Mx6q/d- Add the support to change the rate of Audio/Video PLLs
Ranjani Vaidyanathan [Thu, 21 Jul 2011 20:33:13 +0000 (15:33 -0500)]
ENGR00153507: Mx6q/d- Add the support to change the rate of Audio/Video PLLs

Add set_rate and get_rate functions to the Audio and Video PLLs.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00139238-3 MX6: add p1003 i2c touch device
Frank Li [Wed, 20 Jul 2011 10:44:20 +0000 (18:44 +0800)]
ENGR00139238-3 MX6: add p1003 i2c touch device

Add p1003 i2c touch device

Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00139238-2 Touch: add p1003 and egalax
Frank Li [Wed, 20 Jul 2011 10:41:50 +0000 (18:41 +0800)]
ENGR00139238-2 Touch: add p1003 and egalax

Add p1003 and egalax touch driver

Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00139238-1 include: add p1003_ts_platform_data to fsl_device.h
Frank Li [Wed, 20 Jul 2011 10:42:58 +0000 (18:42 +0800)]
ENGR00139238-1 include: add p1003_ts_platform_data to fsl_device.h

Add p1003_ts_platform_data to fsl_device.h

Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00153373-2 config add ocotp to default config
Frank Li [Wed, 20 Jul 2011 06:52:21 +0000 (14:52 +0800)]
ENGR00153373-2 config add ocotp to default config

Add ocotp to default config
Add watch dog to default config
Add debugfs and clk_debug to default config

Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00153373-1 OCOTP: Add missed header file
Frank Li [Wed, 20 Jul 2011 06:51:29 +0000 (14:51 +0800)]
ENGR00153373-1 OCOTP: Add missed header file

Add missed ocopt header file

Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00139274-4 [UART]Enable suspend/resume feature
Anson Huang [Wed, 20 Jul 2011 06:46:37 +0000 (14:46 +0800)]
ENGR00139274-4 [UART]Enable suspend/resume feature

1. Enable wake up of uart;

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00139274-3 [MX6]Enable suspend/resume feature
Anson Huang [Wed, 20 Jul 2011 06:45:21 +0000 (14:45 +0800)]
ENGR00139274-3 [MX6]Enable suspend/resume feature

1. Add irq_set_wake function to gic chip;
2. Fix uart no_console_suspend issue;

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00139274-2 [MX6]Enable suspend/resume
Anson Huang [Tue, 19 Jul 2011 05:29:54 +0000 (13:29 +0800)]
ENGR00139274-2 [MX6]Enable suspend/resume

Enable suspend/resume for MX6, using debug
UART as wake up source due to hardware design
limitation.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00139274-1 [MX6]Enable suspend/resume feature
Anson Huang [Mon, 18 Jul 2011 04:54:13 +0000 (12:54 +0800)]
ENGR00139274-1 [MX6]Enable suspend/resume feature

Enable suspend/resume feature for MX6q

echo standby > /sys/power/state -> wait mode;
echo mem > /sys/power/state -> stop mode;

Currentlu only support debug uart as wakeup source;

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00153270 imx5_defconfig: disable mxc v4l2 capture
Jason Chen [Tue, 19 Jul 2011 04:54:57 +0000 (12:54 +0800)]
ENGR00153270 imx5_defconfig: disable mxc v4l2 capture

disable config of mxc v4l2 capture to fix build error issue.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00152287-3 SDMA: Fix sdma cache bufferable issue
Zeng Zhaoming [Mon, 18 Jul 2011 03:55:41 +0000 (11:55 +0800)]
ENGR00152287-3 SDMA: Fix sdma cache bufferable issue

MX6Q desclare dma memory bufferable, which cause sdma
load context failed in 60% possibility.

To fix it, we need to add dsb to flush write buffer before
start dma transfer.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00152287-2 SDMA: Add SDMA support for MX6Q
Zeng Zhaoming [Mon, 11 Jul 2011 22:01:02 +0000 (06:01 +0800)]
ENGR00152287-2 SDMA: Add SDMA support for MX6Q

Add sdma support for mx6q.
add mx6 dependency for sdma, and add sdma mx6 firmware.

Note: firmware not release by owner, this version only for test.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00152287-1 MX6: Add SDMA support for MX6Q
Zeng Zhaoming [Mon, 11 Jul 2011 22:00:27 +0000 (06:00 +0800)]
ENGR00152287-1 MX6: Add SDMA support for MX6Q

Add SDMA support for MX6Q.
Enable sdma in imx6 default configure.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00153208-2 Add SNVS RTC driver
Anish Trivedi [Fri, 15 Jul 2011 21:00:59 +0000 (16:00 -0500)]
ENGR00153208-2 Add SNVS RTC driver

This adds an RTC driver for the Low Power (LP) section of SNVS.
It hooks into the /dev/rtc interface.
It only uses the RTC hw in non-secure mode.

Signed-off-by: Anish Trivedi <anish@freescale.com>
11 years agoENGR00153208-1 Machine layer changes for SNVS RTC driver
Anish Trivedi [Fri, 15 Jul 2011 20:55:34 +0000 (15:55 -0500)]
ENGR00153208-1 Machine layer changes for SNVS RTC driver

Add SNVS RTC as a device on MX6

Signed-off-by: Anish Trivedi <anish@freescale.com>
11 years agoENGR00153217-2 mxc_dispdrv: add sii902x hdmi driver support
Jason Chen [Mon, 18 Jul 2011 08:38:14 +0000 (16:38 +0800)]
ENGR00153217-2 mxc_dispdrv: add sii902x hdmi driver support

Add sii902x display driver to mxc_dispdrv.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00153217-1 fsl_devices.h: change fsl_mxc_lcd_platform_data
Jason Chen [Mon, 18 Jul 2011 08:37:27 +0000 (16:37 +0800)]
ENGR00153217-1 fsl_devices.h: change fsl_mxc_lcd_platform_data

change fsl_mxc_lcd_platform_data.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00153216-2 mxc_dispdrv: add dvi display driver support
Jason Chen [Mon, 18 Jul 2011 08:36:26 +0000 (16:36 +0800)]
ENGR00153216-2 mxc_dispdrv: add dvi display driver support

change dvi display driver to mxc_dispdrv.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00153216-1 MSL: add dvi display driver support
Jason Chen [Mon, 18 Jul 2011 04:30:45 +0000 (12:30 +0800)]
ENGR00153216-1 MSL: add dvi display driver support

change for mx51_bbg, mx53_evk, mx6q_sabr platform.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00153132 mx6q: enable vpu iram usage
Sammy He [Thu, 14 Jul 2011 18:36:20 +0000 (02:36 +0800)]
ENGR00153132 mx6q: enable vpu iram usage

Enable iram for vpu on mx6q.

Signed-off-by: Sammy He <r62914@freescale.com>
11 years agoENGR00153218 mxc gpio: tzic should not disable gpio interrupt line
Jason Chen [Mon, 18 Jul 2011 04:44:25 +0000 (12:44 +0800)]
ENGR00153218 mxc gpio: tzic should not disable gpio interrupt line

For SOC using TZIC, gpio_irq_handler should not call tzic chip ack
funtion, cause it will disable this interrupt line.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00153221 [MX6Q uSDHC]workaround for TC intr coming ealier than DMA intr
Tony Lin [Mon, 18 Jul 2011 05:46:23 +0000 (13:46 +0800)]
ENGR00153221 [MX6Q uSDHC]workaround for TC intr coming ealier than DMA intr

if TC interrupt bit is set but DMA interrupt bit is clear, read status register
again in case DMA interrupt will come in next time cycle

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00153160 fix card interrupt issue on uSDHC and eSDHC
Tony Lin [Fri, 15 Jul 2011 02:59:38 +0000 (10:59 +0800)]
ENGR00153160 fix card interrupt issue on uSDHC and eSDHC

uSDHC: card interrupt storm if we do not clear card interrupt
status by sw.
eSDHC: card interrupt will be lost if we do not set D3CD bit.
apply the workarounds in sdhci-esdhc-imx.c to avoid adding new
QUIRKs.

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00152359-3 sii902x hdmi: add AVI and AIF support for common changes
Jason Chen [Wed, 13 Jul 2011 07:24:19 +0000 (15:24 +0800)]
ENGR00152359-3 sii902x hdmi: add AVI and AIF support for common changes

1.add AVI and AIF support.
2.add edid 4-block reading support.(not test)

For RGB input fmt support, pls input cmdline like:
video=mxcdixfb:RGB24,1024x768M@60
For YUV input fmt support, pls input cmdline like:
video=mxcdixfb:VYU444,1024x768M@60

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00152359-2 ipuv3: add VYU444 fmt
Jason Chen [Fri, 1 Jul 2011 06:47:58 +0000 (14:47 +0800)]
ENGR00152359-2 ipuv3: add VYU444 fmt

1.add VYU444 fmt to support Sii902x hdmi yuv format
2.make pixel clock from internal ipu clock more accurate

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00152359-1 sii902x hdmi: add AVI and AIF support.
Jason Chen [Fri, 1 Jul 2011 03:23:43 +0000 (11:23 +0800)]
ENGR00152359-1 sii902x hdmi: add AVI and AIF support.

1.add AVI and AIF support.
2.add edid 4-block reading support.(not test)

Signed-off-by: Jason Chen <b02280@freescale.com>
(cherry picked from commit 449efb20625cc8a3dd1259796b4050578960a3d4)

11 years agoENGR00153188 [MX6]Clean some build warning
Anson Huang [Fri, 15 Jul 2011 11:28:22 +0000 (19:28 +0800)]
ENGR00153188 [MX6]Clean some build warning

1. smp build mis-match warning;
2. IO_ADDRESS pointer type;

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00139234-2 MX6: add watchdog device
Frank Li [Fri, 15 Jul 2011 06:33:10 +0000 (14:33 +0800)]
ENGR00139234-2 MX6: add watchdog device

Add watchdog device

Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00139234-1 watchdog: build watchdog in ARCH_MX6
Frank Li [Fri, 15 Jul 2011 06:31:08 +0000 (14:31 +0800)]
ENGR00139234-1 watchdog: build watchdog in ARCH_MX6

Add ARCH_MX6 dependency

Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00153167 mx6 ahci enable the 3gps sata speed
Richard Zhu [Thu, 14 Jul 2011 08:42:01 +0000 (16:42 +0800)]
ENGR00153167 mx6 ahci enable the 3gps sata speed

Set bit15 of GPR13, and enable the 3gps sata speed

Signed-off-by: Richard Zhu <r65037@freescale.com>
11 years agoENGR00153127 ENET: Enet not works in 1G mode
Zeng Zhaoming [Thu, 14 Jul 2011 02:21:08 +0000 (10:21 +0800)]
ENGR00153127 ENET: Enet not works in 1G mode

Mx6 not works when connnect to a 1G switch.
This is caused by phy_dev->supported != PHY_GBIT_FEATURES, more bits
will set to phy_dev->supported when negotiation complete.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00153099 mx6: clock: set gc2000 clocks
Richard Zhao [Thu, 14 Jul 2011 06:42:12 +0000 (14:42 +0800)]
ENGR00153099 mx6: clock: set gc2000 clocks

shader clock: 594M
core clock: 528M

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
11 years agoENGR00153092 ARM: mx6q_sabreauto: restrict gpu reserved memory addr < 2G
Richard Zhao [Thu, 14 Jul 2011 02:23:05 +0000 (10:23 +0800)]
ENGR00153092 ARM: mx6q_sabreauto: restrict gpu reserved memory addr < 2G

gc2000 driver 4.3 can not support reserved memory addr > 2G

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
11 years agoENGR00139235-3: IIM(OCOPT): Enable IIM driver for iMX6Q
Terry Lv [Tue, 21 Jun 2011 06:29:52 +0000 (14:29 +0800)]
ENGR00139235-3: IIM(OCOPT): Enable IIM driver for iMX6Q

Add a new driver for On-Chip OTP controller. The driver
will register all the register names of all the banks to /sys/.
You can use the following commands to manipulate the OTP banks:

read:
#cat HW_OCOTP_MAC0
write:
#echo 0x11223344 > HW_OCOTP_MAC0

Signed-off-by: Terry Lv <r65388@freescale.com>
11 years agoENGR00139235-2 MX61: Add IIM(OCOTP) driver
Terry Lv [Tue, 21 Jun 2011 06:29:52 +0000 (14:29 +0800)]
ENGR00139235-2 MX61: Add IIM(OCOTP) driver

Add OCOTP device

Signed-off-by: Terry Lv <r65388@freescale.com>
11 years agoENGR00139235-1 include: fsl_device add clock name in platform data
Terry Lv [Tue, 21 Jun 2011 06:29:52 +0000 (14:29 +0800)]
ENGR00139235-1 include: fsl_device add clock name in platform data

Add clock name, max_volt, min_volt field

Signed-off-by: Terry Lv <r65388@freescale.com>
11 years agoENGR00152371-3 imx6_defconfig: enable vpu config
Sammy He [Thu, 14 Jul 2011 12:07:14 +0000 (20:07 +0800)]
ENGR00152371-3 imx6_defconfig: enable vpu config

Enable CONFIG_IMX_HAVE_PLATFORM_IMX_VPU and CONFIG_MXC_VPU
for imx6q.

Signed-off-by: Sammy He <r62914@freescale.com>
11 years agoENGR00152371-2 mx6q: Add vpu support in arch/arm
Sammy He [Fri, 8 Jul 2011 16:43:22 +0000 (00:43 +0800)]
ENGR00152371-2 mx6q: Add vpu support in arch/arm

Change arch/arm files to add vpu support for mx6q.

Signed-off-by: Sammy He <r62914@freescale.com>
11 years agoENGR00152371-1 mx6q: Add vpu driver support
Sammy He [Fri, 1 Jul 2011 15:02:52 +0000 (23:02 +0800)]
ENGR00152371-1 mx6q: Add vpu driver support

Add vpu driver support for mx6q.

Signed-off-by: Sammy He <r62914@freescale.com>
11 years agoENGR00152547-04 [MX6Q]add SDHC3.0 support on uSDHC controller
Tony Lin [Tue, 12 Jul 2011 03:09:29 +0000 (11:09 +0800)]
ENGR00152547-04 [MX6Q]add SDHC3.0 support on uSDHC controller

modify host controller driver to meet SD3.0 spec.
including voltage switch, and tuning control.
add a function pointer for bus driver to do tuning preparation,
in case some host controller like uSDHC does not tune automatically.
it needs change delay line before tuning.

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00152547-03 [MX6Q]add SDHC3.0 support on uSDHC controller
Tony Lin [Tue, 12 Jul 2011 03:08:57 +0000 (11:08 +0800)]
ENGR00152547-03 [MX6Q]add SDHC3.0 support on uSDHC controller

add voltage switch function due to SDHC3.0 spec requirement
add tuning function due to SDHC3.0 spec requirement
extend some functions to support SDR50 & SDR104 speed mode

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00152547-02 [MX6Q]add SDHC3.0 support on uSDHC controller
Tony Lin [Tue, 12 Jul 2011 03:08:22 +0000 (11:08 +0800)]
ENGR00152547-02 [MX6Q]add SDHC3.0 support on uSDHC controller

add CMD used on SDHC3.0 card
add specific parameters for SDHC3.0 card tuning

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00152547-01 [MX6Q]add SDHC3.0 support on uSDHC controller
Tony Lin [Tue, 12 Jul 2011 03:04:35 +0000 (11:04 +0800)]
ENGR00152547-01 [MX6Q]add SDHC3.0 support on uSDHC controller

enable uSDHC slot 3 in board file
add parameter in platform data to indicate whether the slot
supports 1.8 voltage
add pinmux to support voltage switch between 1.8V and 3.3V

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00152668 [MX6]Enable arch_reset
Anson Huang [Wed, 13 Jul 2011 05:52:41 +0000 (13:52 +0800)]
ENGR00152668 [MX6]Enable arch_reset

--OCRAM size is 256KB, confirmed by IC owner, the
  OCRAM_Aliasd 0.75MB is mapped to the same 256KB
  OCRAM.That means there is only 256KB physical
  OCRAM.

--Enable arch_reset function on MX6Q, For SMP, we
  need to clear the SRC_GPRx after the secondary
  cores brought up, or the wdog reset will fail;

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00152845-10 imx6_defconfig: enable ipuv3 related configs
Jason Chen [Wed, 13 Jul 2011 06:52:33 +0000 (14:52 +0800)]
ENGR00152845-10 imx6_defconfig: enable ipuv3 related configs

select ipuv3.
select fb.
select v4l2 output.

Signed-off-by: Jason Chen <jason.chen@freescale.com>
11 years agoENGR00152845-9 v4l2 output: changes based on ipu changes.
Jason Chen [Wed, 13 Jul 2011 04:18:56 +0000 (12:18 +0800)]
ENGR00152845-9 v4l2 output: changes based on ipu changes.

v4l2 output changes based on ipu change.

Signed-off-by: Jason Chen <jason.chen@freescale.com>
11 years agoENGR00152845-8 mxc_dispdrv: add support for mxc_dispdrv.
Jason Chen [Wed, 13 Jul 2011 04:18:38 +0000 (12:18 +0800)]
ENGR00152845-8 mxc_dispdrv: add support for mxc_dispdrv.

add dispdrv support.
add dispdrv sub-driver ldb/lcdif/tve support.
change ipuv3 fb driver for new ipu and dispdrv framework.

Signed-off-by: Jason Chen <jason.chen@freescale.com>
11 years agoENGR00152845-7 header file: support mult ipu and dispdrv.
Jason Chen [Wed, 13 Jul 2011 04:18:11 +0000 (12:18 +0800)]
ENGR00152845-7 header file: support mult ipu and dispdrv.

Head files changes for mult ipu and dispdrv.

Signed-off-by: Jason Chen <jason.chen@freescale.com>
11 years agoENGR00152845-6 fb: add PREMODE_CHANGE event support.
Jason Chen [Wed, 13 Jul 2011 04:17:37 +0000 (12:17 +0800)]
ENGR00152845-6 fb: add PREMODE_CHANGE event support.

change fbmem.c to support PREMODE_CHANGE event.

Signed-off-by: Jason Chen <jason.chen@freescale.com>
11 years agoENGR00152845-5 fb: add PREMODE_CHANGE event support.
Jason Chen [Wed, 13 Jul 2011 04:17:17 +0000 (12:17 +0800)]
ENGR00152845-5 fb: add PREMODE_CHANGE event support.

change fb.h to support PREMODE_CHANGE event.

Signed-off-by: Jason Chen <jason.chen@freescale.com>
11 years agoENGR00152845-4 ipuv3: add multiple instance support
Jason Chen [Wed, 13 Jul 2011 04:17:01 +0000 (12:17 +0800)]
ENGR00152845-4 ipuv3: add multiple instance support

add multiple instance support.

Signed-off-by: Jason Chen <jason.chen@freescale.com>
11 years agoENGR00152845-3 MSL imx6: msl files changes.
Jason Chen [Wed, 13 Jul 2011 04:16:43 +0000 (12:16 +0800)]
ENGR00152845-3 MSL imx6: msl files changes.

imx6 MSL files change, include clock change for ipu.

Signed-off-by: Jason Chen <jason.chen@freescale.com>
11 years agoENGR00152845-2 MSL imx5: msl files changes.
Jason Chen [Wed, 13 Jul 2011 04:05:41 +0000 (12:05 +0800)]
ENGR00152845-2 MSL imx5: msl files changes.

imx5 MSL files change.

Signed-off-by: Jason Chen <jason.chen@freescale.com>
11 years agoENGR00152845-1 MSL plat-mxc: ipuv3 display support in imx6q
Jason Chen [Wed, 13 Jul 2011 04:02:43 +0000 (12:02 +0800)]
ENGR00152845-1 MSL plat-mxc: ipuv3 display support in imx6q

1. work for multiple ipu instance

2. add mxc_dispdrv support
 A display device driver could call mxc_dispdrv_register(drv) in its
 dev_probe() function.
 - Move all dev_probe() things into mxc_dispdrv_driver->init(), init()
   function should init and feedback setting;
 - Move all dev_remove() things into mxc_dispdrv_driver->deinit();
 - Move all dev_suspend() things into fb_notifier for SUSPEND, if there is;
 - Move all dev_resume() things into fb_notifier for RESUME, if there is;

 ipuv3 fb driver would call mxc_dispdrv_init(drv_name, setting) before a
 fb need be added, with fbi param passing by setting, after mxc_dispdrv_init()
 return, FB driver should get the basic setting about fbi info and ipuv3-hw
 (ipu_id and disp_id).

 there are many display interfaces on imx5x or imx6x platform, all of them
 are connected with ipuv3-DI, mxc_dispdrv can register display device as:

 "lcd" -- display extend port for lcdif
 "ldb" -- lvds bridge on chip (imx5x or imx6x)
 "tve" -- tve for tveout on chip (imx5x)
 "vga" -- vga through tve on chip (imx5x)
 "hdmi" -- hdmi on platform with ddc support
(sii902x on imx53 - not enable yet)
hdmi on chip with ddc support
(imx6x - not enable yet)
 "dvi" -- dvi port with ddc support (not enable yet)

 take tvout as example, a dispdrv structure and register flow could like below:

 static struct mxc_dispdrv_driver tve_drv = {
       .name   = "tve",
       .init   = tvout_init,
       .deinit = tvout_deinit,
 };

  mxc_dispdrv_register(&tve_drv);

 in ipuv3 fb driver could init tve driver like below:

 setting.if_fmt = interface_pix_fmt;
 setting.dft_mode_str = mode_str;
 setting.default_bpp = default_bpp;
 setting.fbi = fbi;
 mxc_dispdrv_init("tve", &setting);

 based on mxc_dispdrv framework, display cmdline option will become
 as below (take mx53 loco board as example -- fb0 for wvga lcd, fb1 for
 XGA vga):

  video=mxcfb0:dev=lcd,800x480M@55,if=RGB565
video=mxcfb1:dev=vga,VGA-XGA,if=GBR24

 "mxcfb0" means setting for fb0 device, ipuv3 fb driver will request setting
 from registered dispdrv, these setting include what's the ipu and what's the
 DI number this dev used. Normally, if one IPU is first used, ipuv3 fb driver
 will create one overlay fb right after current fb driver create.
 Take above cmdline as an example,
 /dev/fb0 will be first fb device on 800x480 lcd.
 /dev/fb1 will be overlay fb device on 800x480 lcd.
 /dev/fb2 will be second fb device on VGA-XGA vga.

 "dev=" means which display device(lcd,ldb,vga etc) you want choose for this fb.
 "800x480M@55 or VGA-XGA" means the mode_str of video mode you want.
 "if=" means the display device hw interface format.

 such setting could be passed by platform data as a default value, cmdline
 option will replace these values if there are.

3. modify ldb/tve driver and add mxc_lcdif driver.
 For ldb driver, there are below modes could be set by cmdline options:

 "ldb=spl0/1" -- split mode on DI0/1
 "ldb=dul0/1" -- dual mode on DI0/1
 "ldb=sin0/1" -- single mode on DI0/1
 "ldb=sep" -- separate mode

 there are two LVDS channels(LVDS0 and LVDS1) which can transfer video datas,
 there two channels can be used as split/dual/single/separate mode.

 split mode means display data from DI0 or DI1 will send to both channels
 LVDS0+LVDS1.
 dual mode means display data from DI0 or DI1 will be duplicated on LVDS0 and
 LVDS1, it said, LVDS0 and LVDS1 has the same content.
 single mode means only work for DI0->LVDS0 or DI1->LVDS1.
 separate mode means you can make DI0->LVDS0 and DI1->LVDS1 work at the same
 time.

Signed-off-by: Jason Chen <jason.chen@freescale.com>
11 years agoENGR00152915-2 mx6q-usb: Add lock for low power mode operation
Peter Chen [Mon, 11 Jul 2011 10:40:25 +0000 (18:40 +0800)]
ENGR00152915-2 mx6q-usb: Add lock for low power mode operation

To avoid interrupting when usb enters/leaves low power mode

Signed-off-by: Peter Chen <peter.chen@freescale.com>
11 years agoENGR00152915-1 mx6q-usb: refine usb phy usage
Peter Chen [Mon, 11 Jul 2011 10:24:50 +0000 (18:24 +0800)]
ENGR00152915-1 mx6q-usb: refine usb phy usage

(Fixed the bug that PLL7 lock failed after usb enters low power mode)
After confirming with IC guys, the phy clock should be used
like below:
- OTG phy clock
EN_USB_CLKS: should be also enabled
PLL3 power: Enable/Disable on the fly
- Host1 phy clock
EN_USB_CLKS and PLL7 power should be also enabled at the initialization
PLL7 power will be totally controller by IC

Signed-off-by: Peter Chen <peter.chen@freescale.com>
11 years agoENGR00152842 mx5x-usb: fix build error
Peter Chen [Fri, 8 Jul 2011 00:49:53 +0000 (08:49 +0800)]
ENGR00152842 mx5x-usb: fix build error

As well as some warnings for compiling

Fix the build error reported by Alan Tull, the error message is:
arch/arm/mach-mx5/usb_dr.c: In function 'mx5_usb_dr_init':
arch/arm/mach-mx5/usb_dr.c:309: error: implicit
declaration of function 'machine_is_mx53_loco'

The below warning message output when compiling mx5x kenrel:
arch/arm/plat-mxc/include/mach/arc_otg.h:36:7:
warning: "CONFIG_ARCH_MX6" is not defined

Signed-off-by: Peter Chen <peter.chen@freescale.com>
11 years agoENGR00152681 - EPDC fb: Updates may be shifted right by 1 column
Danny Nold [Tue, 5 Jul 2011 19:26:49 +0000 (14:26 -0500)]
ENGR00152681 - EPDC fb: Updates may be shifted right by 1 column

- Fixed PxP input left coordinate value.  Was previously being incorrectly
computed such that the value would be incorrect when using 16bpp RGB and an
X coordinate that is offset from 4-pixel alignment by 1 (e.g. x=1, x=5).
The resulting effect was that updates meeting this criteria would be
drawn to the EPD panel shifted to the right by 1 pixel.

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00152811 mx6q_sabreauto: add gc320/gc355 devices
Richard Zhao [Thu, 7 Jul 2011 11:30:07 +0000 (19:30 +0800)]
ENGR00152811 mx6q_sabreauto: add gc320/gc355 devices

add gc320/gc355 devices

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
11 years agoENGR00139241-3 mx6 sata: mx5x ahci related modificatoins
Richard Zhu [Tue, 5 Jul 2011 06:46:05 +0000 (14:46 +0800)]
ENGR00139241-3 mx6 sata: mx5x ahci related modificatoins

mx5x ahci related modificatoins when enable ahci on mx6q

Signed-off-by: Richard Zhu <r65037@freescale.com>
11 years agoENGR00139241-2 mx6 sata: enable ahci sata module on mx6q
Richard Zhu [Tue, 5 Jul 2011 07:03:16 +0000 (15:03 +0800)]
ENGR00139241-2 mx6 sata: enable ahci sata module on mx6q

Eanble ahci sata on mx6q

Signed-off-by: Richard Zhu <r65037@freescale.com>
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>