]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
11 years agoENGR00160296: MX6-Added secondary and dependent clocks for various peripherals.
Ranjani Vaidyanathan [Tue, 18 Oct 2011 18:59:07 +0000 (13:59 -0500)]
ENGR00160296: MX6-Added secondary and dependent clocks for various peripherals.

Add secondary and dependent clocks for efficient clock management
and thereby reduce power.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00160397: Fix build break caused by DVFS-CORE driver
Ranjani Vaidyanathan [Wed, 19 Oct 2011 22:38:37 +0000 (17:38 -0500)]
ENGR00160397: Fix build break caused by DVFS-CORE driver

loops_per_jiffy is a global variable for non-smp platforms.
For SMP platforms, loops_per_jiffy is a per_cpu variable.
Fix dvfs_core to adjust loops_per_jiffy for both configurations.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00160112-4 camera: Add sensor clock setting for MX6
Yuxi [Mon, 17 Oct 2011 05:50:30 +0000 (13:50 +0800)]
ENGR00160112-4 camera: Add sensor clock setting for MX6

When the platform is MX6, set mclk = cko1_clk0

Signed-off-by: Yuxi Sun <b36102@freescale.com>
11 years agoENGR00160112-3 MX6Q camera: config MCLK for csi0
Yuxi [Mon, 17 Oct 2011 05:46:03 +0000 (13:46 +0800)]
ENGR00160112-3 MX6Q camera: config MCLK for csi0

set cko1_clk0 as mclk for csi0

Signed-off-by: Yuxi Sun <b36102@freescale.com>
11 years agoENGR00160112-2 MX6Q camera: Add camera data and initial pin configuration
Yuxi [Mon, 17 Oct 2011 05:41:15 +0000 (13:41 +0800)]
ENGR00160112-2 MX6Q camera: Add camera data and initial pin configuration

Add camera platform data and i2c bus data and initialize control pins

Signed-off-by: Yuxi Sun <b36102@freescale.com>
11 years agoENGR00160112-1 MX6: Set csi0 and camera control pin pad configuration
Yuxi [Mon, 17 Oct 2011 05:29:16 +0000 (13:29 +0800)]
ENGR00160112-1 MX6: Set csi0 and camera control pin pad configuration

Set csi0 and camera control pin pad configuration

Signed-off-by: Yuxi Sun <b36102@freescale.com>
11 years agoENGR00160061 - MXC HDMI: Optimize HDMI clock management
Danny Nold [Fri, 14 Oct 2011 18:43:32 +0000 (13:43 -0500)]
ENGR00160061 - MXC HDMI: Optimize HDMI clock management

- Ensure HDMI clocks are disabled when leaving HDMI core probe function.
- Create HDMI core api to allow HDMI sub-drivers to init, enable, and
disable the HDMI IRQ.  Required to optimally manage HDMI clocks,
allow IAHB to be disabled, and still have video and audio sub-drivers
able to receive interrupts.
- Update code to adjust for decoupled ISFR and IAHB clocks.
- Disable IAHB clocks whenever HDMI not plugged in.

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00160061 - Mach-MX6: Optimize HDMI clock management
Danny Nold [Fri, 14 Oct 2011 17:50:39 +0000 (12:50 -0500)]
ENGR00160061 - Mach-MX6: Optimize HDMI clock management

- Decouple HDMI IAHB clock from HDMI ISFR clock, in order to
allow IAHB clock to be disabled while keeping ISFR clock enabled.

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00160291 MX6 correct cdcdr spdif0 podf defines
Alan Tull [Tue, 18 Oct 2011 18:09:28 +0000 (13:09 -0500)]
ENGR00160291 MX6 correct cdcdr spdif0 podf defines

MXC_CCM_CDCDR_SPDIF0_CLK_PODF_OFFSET/MASK were incorrect.  Should be 22.

Signed-off-by: Alan Tull <alan.tull@freescale.com>
11 years agoENGR00160241 [mx6q]sdhci: kernel panic caused by clock enable in interrupt
Tony Lin [Tue, 18 Oct 2011 08:20:51 +0000 (16:20 +0800)]
ENGR00160241 [mx6q]sdhci: kernel panic caused by clock enable in interrupt

cancel the timer even in interrupt context to fix following error log:

clk_enable cannot be called in an interrupt context
kernel BUG at arch/arm/plat-mxc/clock.c:104!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = 80004000
[00000000] *pgd=00000000
Internal error: Oops: 805 [#1] PREEMPT SMP
last sysfs file: /sys/devices/platform/fsl-ehci.1/usb2/2-0:1.0/uevent
Modules linked in:
CPU: 1    Tainted: G        W    (2.6.38-00559-g4938069-dirty #30)
PC is at __bug+0x18/0x24
LR is at __bug+0x14/0x24
pc : [<80039eec>]    lr : [<80039ee8>]    psr: 20000193
sp : e6067eb8  ip : ec91a000  fp : 00000000
r10: 8002eacc  r9 : 805738e0  r8 : 00000023
r7 : 60000113  r6 : e67c92a8  r5 : 00000001  r4 : 8054d8f8
r3 : 00000000  r2 : 00000104  r1 : 60000193  r0 : 00000033
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c53c7d  Table: 7461804a  DAC: 00000015
Process swapper (pid: 0, stack limit = 0xe60662f0)
Stack: (0xe6067eb8 to 0xe6068000)
7ea0:                                                       8054d8f8 8004914c
7ec0: e67c9280 802fa9e4 e67c9280 00000100 e67c92a8 802f7754 e67c9280 e61ade14
7ee0: e67c92a8 802f8f60 e67c9324 e67c9328 00000000 e6066000 80547c40 802ebe80
7f00: e67c9324 8005d828 8005d71c 00000018 00000001 e6066000 80538040 80538040
7f20: 805738e0 00000103 8002e9f4 8005dbf0 2faf2e40 0000030e 2faf2e40 00000006
7f40: 00000009 00000001 00000000 80547c40 8002f380 00000000 80573900 00000001
7f60: e6066000 00000000 00000000 8005dd30 80547c40 80030390 ffffffff f2a00100
7f80: 0000001d 00000002 00000001 8003600c 00000020 80547a84 e6067fd8 00000000
7fa0: e6066000 8056e1e4 803fdd54 8054ae9c 70000000 412fc09a 00000000 00000000
7fc0: 00000000 e6067fd8 800372ac 800372b0 60000013 ffffffff e6066000 800378d8
7fe0: 7606806a 00000015 10c03c7d 8056e36c 70000000 103f628c 78fffff6 debdbeb9
(__bug+0x18/0x24) from [<8004914c>] (clk_enable+0x100/0x118)
(clk_enable+0x100/0x118) from [<802fa9e4>] (plt_clk_ctrl+0x28/0x34)
(plt_clk_ctrl+0x28/0x34) from [<802f7754>] (sdhci_enable_clk+0x5c/0x80)
(sdhci_enable_clk+0x5c/0x80) from [<802f8f60>] (sdhci_request+0xac/0x188)
(sdhci_request+0xac/0x188) from [<802ebe80>] (mmc_request_done+0x74/0x78)
(mmc_request_done+0x74/0x78) from [<8005d828>] (tasklet_action+0x10c/0x15c)
(tasklet_action+0x10c/0x15c) from [<8005dbf0>] (__do_softirq+0xa8/0x140)
(__do_softirq+0xa8/0x140) from [<8005dd30>] (irq_exit+0xa8/0xb0)
(irq_exit+0xa8/0xb0) from [<80030390>] (do_local_timer+0x54/0x7c)
(do_local_timer+0x54/0x7c) from [<8003600c>] (__irq_svc+0x4c/0xe8)
Exception stack(0xe6067f90 to 0xe6067fd8)
7f80:                                     00000020 80547a84 e6067fd8 00000000
7fa0: e6066000 8056e1e4 803fdd54 8054ae9c 70000000 412fc09a 00000000 00000000
7fc0: 00000000 e6067fd8 800372ac 800372b0 60000013 ffffffff
......

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00160085 MX6Q: add updater config file for MFGTOOL
Huang Shijie [Mon, 17 Oct 2011 03:31:43 +0000 (11:31 +0800)]
ENGR00160085 MX6Q: add updater config file for MFGTOOL

add the updater config file for mfgtool.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00139279 MX6Q: support the MFGTOOL
Huang Shijie [Wed, 14 Sep 2011 09:34:54 +0000 (17:34 +0800)]
ENGR00139279 MX6Q: support the MFGTOOL

fix ioctls.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00159641: MX6-Add DVFS-CORE support
Ranjani Vaidyanathan [Fri, 7 Oct 2011 17:35:29 +0000 (12:35 -0500)]
ENGR00159641: MX6-Add DVFS-CORE support

Add DVFS-CORE support for MX6 quad/dual SOC.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00159959: MX6-Updated CPU voltages for different frequencies
Ranjani Vaidyanathan [Thu, 13 Oct 2011 18:22:24 +0000 (13:22 -0500)]
ENGR00159959: MX6-Updated CPU voltages for different frequencies

Update CPU voltages for different frequencies based on characterized values.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00159796 [MX6]Cooling of cpufreq should consider governor type
Anson Huang [Tue, 11 Oct 2011 12:15:21 +0000 (20:15 +0800)]
ENGR00159796 [MX6]Cooling of cpufreq should consider governor type

We need to consider governor type of cpufreq, previous
method is to change the cpufreq to the lower point, but
it would not work if the cpufreq governor is not userspace,
now we set the scaling max freq instead of cpu current freq,
this will make sure working for all the governor.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00159737 [Mx6]Add clock check for periph clk
Anson Huang [Tue, 11 Oct 2011 12:03:16 +0000 (20:03 +0800)]
ENGR00159737 [Mx6]Add clock check for periph clk

For lpddr2 board, current freq only support up to
400MHz, in this case, periph clk will set to 400M
in uboot, so in clock init, we need to check
whether the ddr clock is set to 400M, if yes, then
we should set periph clk parent to pll2_pfd_400M.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00159738 v4l2: correct wrong parameter when V4l2 set window size
Yuxi Sun [Wed, 12 Oct 2011 04:17:02 +0000 (12:17 +0800)]
ENGR00159738 v4l2: correct wrong parameter when V4l2 set window size

Correct wrong parameter when call ipu_csi_set_window_size function

Signed-off-by: Yuxi Sun <b36102@freescale.com>
11 years agoENGR00155879: MX6: Enable ARM core to enter WAIT mode when system is idle.
Ranjani Vaidyanathan [Thu, 1 Sep 2011 15:04:06 +0000 (10:04 -0500)]
ENGR00155879: MX6: Enable ARM core to enter WAIT mode when system is idle.

Set the appropriate bit in CCM to allow ARM-CORE to enter WAIT
mode when system is idle.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00156635 [MX6]Dormant random resume fail
Anson Huang [Sun, 9 Oct 2011 01:47:20 +0000 (09:47 +0800)]
ENGR00156635 [MX6]Dormant random resume fail

1. sometimes system can not resume successfully from
dormant mode, there is still some defect with L2 cache
array alive during dromant mode, add clean operation
before dormant to make sure data alignment between L2
and DRAM, after doing it, dormant mode can resume fine.

2. local time no need to do store and restore during
suspend/resume.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00156745 MX6Q ESAI: Playback and record can't start up concurrently
Lionel Xu [Fri, 30 Sep 2011 06:47:31 +0000 (14:47 +0800)]
ENGR00156745 MX6Q ESAI: Playback and record can't start up concurrently

Proper flag setting and placement should be used to avoid function hw_param
called multiple times when playback and record startup concurrently.

Signed-off-by: Lionel Xu <Lionel.Xu@freescale.com>
11 years agoENGR00159512 [Mx6]Fix thermal driver build warning
Anson Huang [Sun, 9 Oct 2011 02:38:56 +0000 (10:38 +0800)]
ENGR00159512 [Mx6]Fix thermal driver build warning

1. Print should use %d instead of %ld when printing
   a unsigned int;
2. Remove unused function.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00159008-2 mx6 v4l2: build v4l2 relative modules as module mode
Yuxi Sun [Sat, 8 Oct 2011 04:46:17 +0000 (12:46 +0800)]
ENGR00159008-2 mx6 v4l2: build v4l2 relative modules as module mode

Change v4l2 relative modules as module mode when build kernel

Signed-off-by: Yuxi Sun <b36102@freescale.com>
11 years agoENGR00159008-1 mx5 v4l2: build v4l2 relative modules as module mode
Yuxi Sun [Sat, 8 Oct 2011 04:43:41 +0000 (12:43 +0800)]
ENGR00159008-1 mx5 v4l2: build v4l2 relative modules as module mode

Change v4l2 relative modules as module mode when build kernel

Signed-off-by: Yuxi Sun <b36102@freescale.com>
11 years agoENGR00159007 [MX6]Add cpufreq cooling device
Anson Huang [Fri, 30 Sep 2011 08:50:30 +0000 (16:50 +0800)]
ENGR00159007 [MX6]Add cpufreq cooling device

Add cpufreq as cooling device.

1.Default cooling device is cpufreq, to select
  cpuhotplug as cooling device, need to add
  cooling_device=cpuhotplug to cmdline.

2.Cooling device can be disabled via adding
  no_cooling_device to cmdline.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoSAUCE: set correct rates before registering SPDIF codec DAI
Eric Miao [Mon, 26 Sep 2011 02:46:27 +0000 (10:46 +0800)]
SAUCE: set correct rates before registering SPDIF codec DAI

BugLink: http://bugs.launchpad.net/bugs/855281
Playback/capture rates should be configured before the SPDIF codec
DAI is registered, according to the parameters that passed in by
the platform data. And this caused pulseaudio not working with the
SPDIF sound card.

Signed-off-by: Eric Miao <eric.miao@linaro.org>
11 years agoENGR00156637 [MX6]Reboot take long time on SMP
Anson Huang [Tue, 27 Sep 2011 10:20:19 +0000 (18:20 +0800)]
ENGR00156637 [MX6]Reboot take long time on SMP

Add work around to the reboot issue of SMP, with
SMP, all the CPUs need to do _rcu_barrier, if we
enqueue an rcu callback, we need to make sure CPU
tick to stay alive until we take care of those by
completing the appropriate grace period.

This work around only work when the reboot command
issue, so it didn't impact normal kernel feature.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00158456-2 ipuv3 dev: return error for split mode with rotation
Jason Chen [Thu, 29 Sep 2011 01:22:32 +0000 (09:22 +0800)]
ENGR00158456-2 ipuv3 dev: return error for split mode with rotation

Currently we do not support split mode with rotation.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00158456-1 ipuv3 dev: return error for split mode with rotation
Jason Chen [Thu, 29 Sep 2011 01:22:07 +0000 (09:22 +0800)]
ENGR00158456-1 ipuv3 dev: return error for split mode with rotation

Currently we do not support split mode with rotation.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00158152 v4l2 capture: changes based on ipu changes
Yuxi Sun [Mon, 26 Sep 2011 02:52:15 +0000 (10:52 +0800)]
ENGR00158152 v4l2 capture: changes based on ipu changes

v4l2 capture changes based on ipu change.

Signed-off-by: Yuxi Sun <b36102@freescale.com>
11 years agoENGR00158176 SGTL5000: I/O Error appeared when recording mono wav through HW
Lionel Xu [Mon, 26 Sep 2011 08:46:00 +0000 (16:46 +0800)]
ENGR00158176 SGTL5000: I/O Error appeared when recording mono wav through HW

When recording mono wav, SSI's network mode should be closed, or it will
influence the internal freq config, making recording fail.

Signed-off-by: Lionel Xu <Lionel.Xu@freescale.com>
11 years agoENGR00156976 - PxP: fix imx-lib build break
Danny Nold [Fri, 16 Sep 2011 16:53:34 +0000 (11:53 -0500)]
ENGR00156976 - PxP: fix imx-lib build break

Change from u8 declaration in pxp_dma.h to __u8

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00156420 - EPDC/PxP: Add support for color map
Danny Nold [Fri, 12 Aug 2011 01:07:59 +0000 (20:07 -0500)]
ENGR00156420 - EPDC/PxP: Add support for color map

- Add support for 8-bit grayscale colormaps to be used
during EPDC update processing
- Add support in PxP for programming of colormaps

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00157457 - MXC HDMI: Add support for non-CEA spec video modes
Danny Nold [Thu, 22 Sep 2011 21:43:24 +0000 (16:43 -0500)]
ENGR00157457 - MXC HDMI: Add support for non-CEA spec video modes

- Updated PHY configuration code to support ranges of clock frequencies,
rather than just a small set of supported clock frequencies corresponding
to CEA-861 video modes.  This means that PC monitor modes are now
supported.
- Updated color handling code to ensure that a consistent set of
color mode defines are used.
- Fixed bug in how clock disable registers are configured

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00157467: i.MX6/defconfig: enable ARM errata:754322
Jason Liu [Fri, 23 Sep 2011 02:51:53 +0000 (10:51 +0800)]
ENGR00157467: i.MX6/defconfig: enable ARM errata:754322

We need enable the following ARM errata software workaround:
754322: Possible faulty MMU translations following an ASID switch.

CONFIG_ARM_ERRATA_754322=y

These ERRATAs applied to i.MX6Q(cortex-a9:r2p10 smp)

Signed-off-by: Jason Liu <r64343@freescale.com>
11 years agoENGR00157155-2 vpu: Get resource by platform_get_resource_byname
Sammy He [Tue, 20 Sep 2011 16:38:57 +0000 (00:38 +0800)]
ENGR00157155-2 vpu: Get resource by platform_get_resource_byname

Update code to be nicer, use platform_get_resource_byname() function to
get platform resource, and use platform_get_irq_byname() to get irq.

Signed-off-by: Sammy He <r62914@freescale.com>
11 years agoENGR00157155-1 vpu: Add vpu resource name in platform in arch/arm
Sammy He [Tue, 20 Sep 2011 16:35:02 +0000 (00:35 +0800)]
ENGR00157155-1 vpu: Add vpu resource name in platform in arch/arm

Add vpu resource name in platform in arch/arm, then vpu driver can
get resource by name.

Signed-off-by: Sammy He <r62914@freescale.com>
11 years agoENGR00156996 ipuv3: fix pixel clock look up table
Jason Chen [Mon, 19 Sep 2011 05:57:12 +0000 (13:57 +0800)]
ENGR00156996 ipuv3: fix pixel clock look up table

if there are two ipu, they will use same pixel look up table.
which will confuse get_clk

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00157032 i.MX6/defconfig: enable ARM errata software workaround
Jason Liu [Mon, 19 Sep 2011 08:32:54 +0000 (16:32 +0800)]
ENGR00157032 i.MX6/defconfig: enable ARM errata software workaround

We need enable the following ARM errata software workaround:

CONFIG_ARM_ERRATA_743622=y
CONFIG_ARM_ERRATA_751472=y

These ERRATAs applied to i.MX6Q(cortex-a9:r2p10 smp)

Signed-off-by: Jason Liu <r64343@freescale.com>
11 years agoENGR00156850 gpu-viv: add gpu-viv driver source
Richard Zhao [Thu, 15 Sep 2011 08:42:04 +0000 (16:42 +0800)]
ENGR00156850 gpu-viv: add gpu-viv driver source

It's vivante driver 4.5.0 (Sep 5, 2011) with freescale changes.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Acked-by: Lily Zhang
11 years agoENGR00156813 MX53 ALSA: Recording no sound
Lionel Xu [Thu, 15 Sep 2011 07:44:26 +0000 (15:44 +0800)]
ENGR00156813 MX53 ALSA: Recording no sound

There is no sound in the recorded wav, to enable recording, the VAG should be
powered up, and the mic bias resistor should be setup with proper value.

Signed-off-by: Lionel Xu <Lionel.Xu@freescale.com>
11 years agoARM: twd: register clockevents device before enabling PPI
Will Deacon [Wed, 20 Jul 2011 13:18:46 +0000 (14:18 +0100)]
ARM: twd: register clockevents device before enabling PPI

The smp_twd clockevents driver currently enables the local timer PPI
before the clockevents device is registered. This can lead to a kernel
panic if a spurious timer interrupt is generated before registration
has completed since the kernel will treat it as an IPI timer.

This patch moves the clockevents device registration before the IRQ
unmasking so that we can always handle timer interrupts once they can
occur.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
11 years agoENGR00156849 MX6Q: add relative clock for BCH
Huang Shijie [Thu, 15 Sep 2011 11:22:12 +0000 (19:22 +0800)]
ENGR00156849 MX6Q: add relative clock for BCH

The BCH needs the pl301_mx6qperl_bch clock.
The BCH will not work if the clock is not enabled.
So add it.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00156319-2 mxc edid: use vmode as aspect rate flag
Jason Chen [Tue, 13 Sep 2011 05:01:50 +0000 (13:01 +0800)]
ENGR00156319-2 mxc edid: use vmode as aspect rate flag

Use vmode as aspect rate flag.
which is more easier to use.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00156319-1 mxc edid: use vmode as aspect rate flag
Jason Chen [Fri, 9 Sep 2011 04:48:19 +0000 (12:48 +0800)]
ENGR00156319-1 mxc edid: use vmode as aspect rate flag

Use vmode as aspect rate flag.
which is more easier to use.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00156673-3 ipuv3: move mach related definition to mach dir
Jason Chen [Wed, 14 Sep 2011 02:31:41 +0000 (10:31 +0800)]
ENGR00156673-3 ipuv3: move mach related definition to mach dir

for driver files.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00156673-2 ipuv3: move mach related definition to mach dir
Jason Chen [Wed, 14 Sep 2011 02:26:24 +0000 (10:26 +0800)]
ENGR00156673-2 ipuv3: move mach related definition to mach dir

for arch/arm/plat-mxc/include/mach/ipu-v3.h

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00156673-1 ipuv3: move mach related definition to mach dir
Jason Chen [Wed, 14 Sep 2011 02:25:42 +0000 (10:25 +0800)]
ENGR00156673-1 ipuv3: move mach related definition to mach dir

for include/linux/ipu.h.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00156374 ipuv3: check channel busy while wait disable irq
Jason Chen [Fri, 9 Sep 2011 09:53:24 +0000 (17:53 +0800)]
ENGR00156374 ipuv3: check channel busy while wait disable irq

there is chance channel already quit busy before wait disable
irq in ipu_disable_channel, so add check during irq wait.

this patch also comments f_calc and m_calc fix build warning.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00156314-3 [mx6q]gic: save/restore mode for suspend/resume
Tony Lin [Fri, 9 Sep 2011 03:45:11 +0000 (11:45 +0800)]
ENGR00156314-3 [mx6q]gic: save/restore mode for suspend/resume

save gic registers before suspend and restore these registers after resuming

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00156314-2 [mx6q]gic: save/restore mode for suspend/resume
Tony Lin [Fri, 9 Sep 2011 03:45:11 +0000 (11:45 +0800)]
ENGR00156314-2 [mx6q]gic: save/restore mode for suspend/resume

add code to gic.c for common gic state save/restore.

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00156314-1 [mx6q]gic: add comments to explain start irq offset value
Tony Lin [Fri, 9 Sep 2011 03:45:11 +0000 (11:45 +0800)]
ENGR00156314-1 [mx6q]gic: add comments to explain start irq offset value

to be more clear why we start irq offset from 29.
and list the irq ID table.

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00156300 - EPDC fb: Move ISR code to work Q & replace spinlocks with mutexes
Danny Nold [Thu, 8 Sep 2011 20:38:25 +0000 (15:38 -0500)]
ENGR00156300 - EPDC fb: Move ISR code to work Q & replace spinlocks with mutexes

- Move the majority of code from the IRQ handler routine into a workqueue
routine.  This should improve system interrupt latency.
- Change the spin_lock protecting EPDC queues into a mutex and change all
associated spin_lock calls into mutex calls.

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00156329 [MX6]Avoid flushing L2 in dormant
Anson Huang [Fri, 9 Sep 2011 03:39:21 +0000 (11:39 +0800)]
ENGR00156329 [MX6]Avoid flushing L2 in dormant

We can leave L2 cache alone during dormant,
just keep in mind don't access cache in dormant
process, then it should be OK without flushing
L2 cache, it will improve performance of suspend
and resume.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00156234 ipuv3: fix cpmem issue
Jason Chen [Thu, 8 Sep 2011 04:47:52 +0000 (12:47 +0800)]
ENGR00156234 ipuv3: fix cpmem issue

sometimes update to cpmem may not correct.
make ipu_get_soc more robust.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00155147 mx5x mx6x: adjust dma zone max size to 184M
Jason Chen [Tue, 6 Sep 2011 05:04:03 +0000 (13:04 +0800)]
ENGR00155147 mx5x mx6x: adjust dma zone max size to 184M

adjust dma zone max size to 184M.
keep default size as 96M.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00155146 ipuv3: use mutex instead of spin lock
Jason Chen [Tue, 6 Sep 2011 06:06:09 +0000 (14:06 +0800)]
ENGR00155146 ipuv3: use mutex instead of spin lock

keep spin lock for irq function, but use mutex replace other
splin lock to provide better sync method.
Add _ipu_get/put function to check clock enable.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00155140 ipuv3: add support of power suspend/resume
Jason Chen [Mon, 22 Aug 2011 03:06:02 +0000 (11:06 +0800)]
ENGR00155140 ipuv3: add support of power suspend/resume

add support of power suspend/resume.
because IPU has issue of restore current buffer register,
this code only work for single buffer mode.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00155135-3 ipuv3 dev: add processing driver support
Jason Chen [Mon, 22 Aug 2011 02:46:22 +0000 (10:46 +0800)]
ENGR00155135-3 ipuv3 dev: add processing driver support

IPU's IC/IRT/VDI modules provide resizing/CSC/combination/de-interlacing
support, this patch make all these features into one processing driver.
A struct ipu_task is the interface between user and this driver, user
just need fill his task struct and queue it through ioctl, then wait
ipu hardware finish its job (now only support BLOCKING operation, not
support NO_BLOCK operation).
Pls refer to inlcude/linux/ipu.h for structure information and unit test
for usage.

This patch is for ipu driver changes.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00155135-2 ipuv3 dev: add processing driver support
Jason Chen [Mon, 22 Aug 2011 02:25:51 +0000 (10:25 +0800)]
ENGR00155135-2 ipuv3 dev: add processing driver support

IPU's IC/IRT/VDI modules provide resizing/CSC/combination/de-interlacing
support, this patch make all these features into one processing driver.
A struct ipu_task is the interface between user and this driver, user
just need fill his task struct and queue it through ioctl, then wait
ipu hardware finish its job (now only support BLOCKING operation, not
support NO_BLOCK operation).
Pls refer to inlcude/linux/ipu.h for structure information and unit test
for usage.

This patch is for MSL file change.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00155135-1 ipuv3 dev: add processing driver support
Jason Chen [Mon, 22 Aug 2011 02:24:49 +0000 (10:24 +0800)]
ENGR00155135-1 ipuv3 dev: add processing driver support

IPU's IC/IRT/VDI modules provide resizing/CSC/combination/de-interlacing
support, this patch make all these features into one processing driver.
A struct ipu_task is the interface between user and this driver, user
just need fill his task struct and queue it through ioctl, then wait
ipu hardware finish its job (now only support BLOCKING operation, not
support NO_BLOCK operation).
Pls refer to inlcude/linux/ipu.h for structure information and unit test
for usage.

This patch is for header file change.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00156232 [mx6q]change cpuinfo keyword
Tony Lin [Thu, 8 Sep 2011 02:24:55 +0000 (10:24 +0800)]
ENGR00156232 [mx6q]change cpuinfo keyword

MX[0-9] is the keyword for multimedia applications,
so change the cpuinfo from i.MX 6Quad to MX6 Quad

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00155880 USB device: Fix RNDIS Full Speed hang during initialization
Anish Trivedi [Thu, 1 Sep 2011 22:20:42 +0000 (17:20 -0500)]
ENGR00155880 USB device: Fix RNDIS Full Speed hang during initialization

When setup irq is received, the status phase of the transfer is primed
on ep0 before the data phase. The usb requests are added to the list
of transfer descriptors (maintained by driver) in reverse of their
expected completion order. Completion order is data followed by status,
however the list of tds contains status followed by data.

Upon completion of the data request, the irq handler proceeds to check
the 1st td in the list -- the status request. In full speed mode,
the status phase has not yet completed at this time, so the td's
ACTIVE bit is still set. This leads irq handler to ignore the completion
interrupt without checking the actual td for the data request that caused
the interrupt.

In high speed mode, this issue does not bear itself out because the status
request also completes by the time the irq handler goes to process the data
completion interrupt.

The simple fix for this issue is to prime the status request AFTER the data
request, so that the list of tds maintained by the driver contains the tds
in the order of expected completion.

Signed-off-by: Anish Trivedi <anish@freescale.com>
11 years agoENGR00156153: MX6- Fix bugs in clock code.
Ranjani Vaidyanathan [Tue, 6 Sep 2011 18:22:07 +0000 (13:22 -0500)]
ENGR00156153: MX6- Fix bugs in clock code.

Refer to the ipcg table in the spec to ensure that the parent clocks
are set correctly.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00155995 [MX6]Adjust default thermal point
Anson Huang [Mon, 5 Sep 2011 01:53:56 +0000 (09:53 +0800)]
ENGR00155995 [MX6]Adjust default thermal point

Current thermal reading formula is not accurate,
and different board has different value, previous
setting of trip point setting is too low, and some
boards can reach hot and critical point easily, so
change the trip point as below:

critical : 50 -> 100 C
hot : 40 -> 90 C
active : 30 -> 80 C

these trip points value can also be changed via echo
an value into /sys/class/thermal/thermal_zone0/trip..

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00155981: MX6: Fix crash caused by cpufreq during suspend/resume
Ranjani Vaidyanathan [Fri, 2 Sep 2011 17:04:48 +0000 (12:04 -0500)]
ENGR00155981: MX6: Fix crash caused by cpufreq during suspend/resume

Random crashes occur in CPUFREQ code when resuming from suspend.
The root cause is due to freeing and allocating of common data structure
(frequency table) shared among all the CPUs.
Fix the code by ensuring that the common data structure is only
created and deleted once.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00154436-2 - MXC HDMI: Support complete feature set
Danny Nold [Fri, 2 Sep 2011 03:46:05 +0000 (22:46 -0500)]
ENGR00154436-2 - MXC HDMI: Support complete feature set

- Cleaned up video mode configuration in HDMI driver
- Add support for configurable ipu-to-hdmi mappings
- Add hotplug support.
- Adapt interrupt handling to account for sharing interrupt with HDMI audio
- Remove audio configuration
- Change code to only use CEA HDMI modes
- Add support for AVI InfoFrame
- Add aspect ratio to EDID mode data
- Add rounding support to IPU pix clk setup
- Add powerdown/powerup flow
- Support FB notifications
- Remove build warnings

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00154436-1 - MACH-MX6: MXC HDMI updates to support full feature set
Danny Nold [Fri, 2 Sep 2011 21:45:14 +0000 (16:45 -0500)]
ENGR00154436-1 - MACH-MX6: MXC HDMI updates to support full feature set

- Corrected logic bug in how GPR registers are set
- Add support for configurable ipu-to-hdmi mappings
- Add aspect ratio to EDID mode data
- Expanded HDMI register field defines
- Removed HDMI platform data now handled by HDMI core in MFD

Signed-off-by: Danny Nold <dannynold@freescale.com>
11 years agoENGR00155958: MX6: Fix bug in setting parent of periph_clk
Ranjani Vaidyanathan [Fri, 2 Sep 2011 17:18:42 +0000 (12:18 -0500)]
ENGR00155958: MX6: Fix bug in setting parent of periph_clk

periph_clk mux should be set only after the periph_clk2 mux is set.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00155912 [mx6q]clock: correct pll disable function
Tony Lin [Fri, 2 Sep 2011 09:22:26 +0000 (17:22 +0800)]
ENGR00155912 [mx6q]clock: correct pll disable function

pll3 and pll7 have opposite power down bit definition comparing
with other plls.
so reverse the bit when setting these two plls

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00155893 [mx6q]clock: correct set parent function
Tony Lin [Fri, 2 Sep 2011 06:36:11 +0000 (14:36 +0800)]
ENGR00155893 [mx6q]clock: correct set parent function

set periph_clk_sel to derive clock from periph_clk2_clk

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00155890 [mx6q] code clean up
Tony Lin [Fri, 2 Sep 2011 05:30:34 +0000 (13:30 +0800)]
ENGR00155890 [mx6q] code clean up

remove unnecessary '\'

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00155845-2 mfd for hdmi
Alan Tull [Thu, 1 Sep 2011 16:51:09 +0000 (11:51 -0500)]
ENGR00155845-2 mfd for hdmi

This is a mfd for the internal HDMI Transmitter on i.Mx.  It handles
resources that are shared by the seperate video and audio drivers.

Signed-off-by: Alan Tull <alan.tull@freescale.com>
11 years agoENGR00155845-1 mfd for hdmi
Alan Tull [Thu, 1 Sep 2011 16:51:09 +0000 (11:51 -0500)]
ENGR00155845-1 mfd for hdmi

This is a mfd for the internal HDMI Transmitter on i.Mx.  It handles
resources that are shared by the seperate video and audio drivers.

Signed-off-by: Alan Tull <alan.tull@freescale.com>
11 years agoENGR00155715: MX6: Fix warnings is clock and cpufreq code.
Ranjani Vaidyanathan [Tue, 30 Aug 2011 21:23:52 +0000 (16:23 -0500)]
ENGR00155715: MX6: Fix warnings is clock and cpufreq code.

Fixed warnings in clocks and cpufreq code.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00155761 usb-host: fix the buiild warning with upstream reviewing patch
Peter Chen [Thu, 1 Sep 2011 08:45:21 +0000 (16:45 +0800)]
ENGR00155761 usb-host: fix the buiild warning with upstream reviewing patch

Warning message:
/home/b29397/work/projects/linux-2.6-imx/drivers/usb/host/ehci.h:
748: warning: function declaration isn't a prototype

Signed-off-by: Peter Chen <peter.chen@freescale.com>
11 years agoENGR00155764 usb-host: fix the system hang when access register with clocks OFF
Peter Chen [Thu, 1 Sep 2011 09:33:25 +0000 (17:33 +0800)]
ENGR00155764 usb-host: fix the system hang when access register with clocks OFF

Fix the system hang when access usb registers with usb's clocks are OFF,
open the usb clock before visiting the usb registers resolves this problem

Signed-off-by: Peter Chen <peter.chen@freescale.com>
11 years agoENGR00155759 [MX6]MMDC clock should be always on
Anson Huang [Thu, 1 Sep 2011 09:07:46 +0000 (17:07 +0800)]
ENGR00155759 [MX6]MMDC clock should be always on

1. We should enable mmdc_ch0 clock in init to make
  its usecount > 0, or ipu's parent is mmdc_ch0,
  when ipu enable/disable clock, mmdc_ch0 will be
  also enable/disable, cause system hang when disable.
2. Remove build warning of unuse variable.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00155731 [MX6]clock disable should function
Anson Huang [Thu, 1 Sep 2011 05:15:14 +0000 (13:15 +0800)]
ENGR00155731 [MX6]clock disable should function

un-comment __clk_disable function and
__clk_disable_inwait function.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00155612-4 [mx6q]change the delay after clock frequence change to 1ms
Tony Lin [Wed, 31 Aug 2011 05:28:37 +0000 (13:28 +0800)]
ENGR00155612-4 [mx6q]change the delay after clock frequence change to 1ms

100ms is too long delay, thus it impact other tasks scheduling.
for example, nfs reports timeout if two sd card is inserted because the
100ms delay occupies cpu too long.
1ms value is evaluated by IC engineer.

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00155612-3 [mx6q]add delay after cmd6 for eMMC compatibility
Tony Lin [Wed, 31 Aug 2011 05:28:37 +0000 (13:28 +0800)]
ENGR00155612-3 [mx6q]add delay after cmd6 for eMMC compatibility

sandisk eMMC4.4 cards need a 1ms delay after cmd6 (switch cmd)
which is confirm by sandisk errata.
add 1ms delay after cmd6 to provide more robustness and compatiblity
of our driver supporting eMMC4.4 cards.

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00155612-2 [mx6q]dynamically sd pad setting change
Tony Lin [Wed, 31 Aug 2011 05:28:37 +0000 (13:28 +0800)]
ENGR00155612-2 [mx6q]dynamically sd pad setting change

call platform callback funtion, if exists, when clock frequency
is changed.

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00155612-1 [mx6q]dynamically sd pad setting change
Tony Lin [Wed, 31 Aug 2011 05:28:37 +0000 (13:28 +0800)]
ENGR00155612-1 [mx6q]dynamically sd pad setting change

on mx6q, it supports sd3.0 card with DDR 50MHz, SDR 100Mhz and SDR 200MHz.
sd pads have to be changed dynamically for these large scale of clock
frequencies.
add different pad setting definitions for these clock frequencies under
board file, since these settings are really board dependent.
add callback funtion in sdhc platform data to give driver approach to
change pad setting according to current clock frequency.

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agousb: ehci: make HC see up-to-date qh/qtd descriptor ASAP
Ming Lei [Tue, 30 Aug 2011 16:03:13 +0000 (00:03 +0800)]
usb: ehci: make HC see up-to-date qh/qtd descriptor ASAP

This patch introduces the helper of ehci_sync_mem to flush
qtd/qh into memory immediately on some ARM, so that HC can
see the up-to-date qtd/qh descriptor asap.

This patch fixs one performance bug on ARM Cortex A9 dual core
platform, which has been reported on quite a few ARM machines
(OMAP4, Tegra 2, snowball...), see details from link of
https://bugs.launchpad.net/bugs/709245.

The patch has been tested ok on OMAP4 panda A1 board, and the
performance of 'dd' over usb mass storage can be increased from
4~5MB/sec to 14~16MB/sec after applying this patch.

Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
11 years agoENGR00155627 [MX6]Add thermal cooling device
Anson Huang [Thu, 1 Sep 2011 02:00:58 +0000 (10:00 +0800)]
ENGR00155627 [MX6]Add thermal cooling device

Add anatop thermal cooling device,currently only
support secondary CPUs hotplug when temperature is
too hot,binding the processor cooling device with
anatop thermal zone.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00155627-1 [MX6]Add thermal cooling devie
Anson Huang [Thu, 1 Sep 2011 01:57:55 +0000 (09:57 +0800)]
ENGR00155627-1 [MX6]Add thermal cooling devie

1.Common code of thermal_sys has some bug,could
  not set the mode via sysfs using echo enable/disabled
  command;
2.Since the anatop thermal formula still not accurate,
  in order to help test and adjust the trip point of
  anatop thermal zone, we add the set trip point temp
  value into the sysfs interface.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00155718 [MX6]CPUs hotplug sometimes fail
Anson Huang [Thu, 1 Sep 2011 01:55:11 +0000 (09:55 +0800)]
ENGR00155718 [MX6]CPUs hotplug sometimes fail

Sometimes when system very busy,hotplug may fail
because CPU0 has no chance to kill secondary CPUs
from hardware,secondary CPUs keep enter/exit wfi
,and we have a printk after wfi,that makes CPU0
has no chance to kill secondary CPUs,we should
remove this printk.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00155611 [mx6q]correct eMMC DDR mode clock setting
Tony Lin [Wed, 31 Aug 2011 05:22:51 +0000 (13:22 +0800)]
ENGR00155611 [mx6q]correct eMMC DDR mode clock setting

in uSDHC controller, SDCLKFS field in SYS_CTRL register
is defined differently from eSDHC

In Single Data Rate mode(DDR_EN bit of MIXERCTRL is '0')
Only the following settings are allowed:
80h) Base clock divided by 256
40h) Base clock divided by 128
20h) Base clock divided by 64
10h) Base clock divided by 32
08h) Base clock divided by 16
04h) Base clock divided by 8
02h) Base clock divided by 4
01h) Base clock divided by 2
00h) Base clock divided by 1
While in Dual Data Rate mode(DDR_EN bit of MIXERCTRL is '1')
Only the following settings are allowed:
80h) Base clock divided by 512
40h) Base clock divided by 256
20h) Base clock divided by 128
10h) Base clock divided by 64
08h) Base clock divided by 32
04h) Base clock divided by 16
02h) Base clock divided by 8
01h) Base clock divided by 4
00h) Base clock divided by 2

so the clock setting function should be changed to fit the definition

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00139280: MX6: Add CPUFREQ support
Ranjani Vaidyanathan [Fri, 29 Jul 2011 19:30:19 +0000 (14:30 -0500)]
ENGR00139280: MX6: Add CPUFREQ support

Add support for CPUFREQ for SMP system.
Added support for 1GHz, 800MHz, 400MHz and 160MHz.
Added support for scaling the voltage along with frequency.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00153925 MX6Q: Fix EGA touch failure on lvds2 port
Frank Li [Mon, 29 Aug 2011 05:58:48 +0000 (13:58 +0800)]
ENGR00153925 MX6Q: Fix EGA touch failure on lvds2 port

lvds2 port use i2c3 port.
Add EGA i2c register data to i2c port3.
but two touch can't work at the same time because irq conflict.

Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00139255 MX6Q_BSP ESAI: Add esai recording support
Lionel Xu [Mon, 29 Aug 2011 06:01:16 +0000 (14:01 +0800)]
ENGR00139255 MX6Q_BSP ESAI: Add esai recording support

Add ESAI recording to mx6q platform.
To differentiate mx6q and mx53 in codec machine layer code.

Signed-off-by: Lionel Xu <R63889@freescale.com>
11 years agoENGR00155396 usb-host: fix below build warning
Peter Chen [Fri, 26 Aug 2011 06:38:08 +0000 (14:38 +0800)]
ENGR00155396 usb-host: fix below build warning

drivers/usb/host/ehci-hub.c:109:
warning: 'ehci_adjust_port_wakeup_flags' defined but not used

Signed-off-by: Peter Chen <peter.chen@freescale.com>
11 years agoENGR00139255-2 MX6Q_BSP ESAI: Add esai recording support
Lionel Xu [Fri, 26 Aug 2011 10:26:45 +0000 (18:26 +0800)]
ENGR00139255-2 MX6Q_BSP ESAI: Add esai recording support

Add ESAI recording to mx6q platform.
Note: since there is pad conflict between esai record and fec, add a boot
argument esai_record to deal with it. This argument is required to enable
the record functionality.

Signed-off-by: Lionel Xu <R63889@freescale.com>
11 years agoENGR00139255-1 MX6Q_BSP ESAI: Add esai recording support
Lionel Xu [Fri, 26 Aug 2011 10:20:14 +0000 (18:20 +0800)]
ENGR00139255-1 MX6Q_BSP ESAI: Add esai recording support

Add ESAI recording to mx6q platform.
Note: since there is pad conflict between esai record and fec, add a boot
argument esai_record to deal with it. This argument is required to enable
the record functionality.

Signed-off-by: Lionel Xu <R63889@freescale.com>
11 years agoENGR00155151 imx6q clock: fix ldb and ipu-di clock enable register
Jason Chen [Mon, 22 Aug 2011 05:56:41 +0000 (13:56 +0800)]
ENGR00155151 imx6q clock: fix ldb and ipu-di clock enable register

ipu2-di should use CCGR3 4&5, ldb_di should use 6&7.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00154080 ipuv3: fix clear buffer function
Jason Chen [Mon, 22 Aug 2011 03:44:51 +0000 (11:44 +0800)]
ENGR00154080 ipuv3: fix clear buffer function

fix clear buffer function.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00155145 ipuv3 disp pos: restore pos setting after channel disable.
Jason Chen [Mon, 22 Aug 2011 03:42:25 +0000 (11:42 +0800)]
ENGR00155145 ipuv3 disp pos: restore pos setting after channel disable.

FG pos need be reset to 0 when channel disable, but it will lost old setting.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00153474 ipuv3 split mode: vf and enc task display with error
Jason Chen [Mon, 22 Aug 2011 03:24:23 +0000 (11:24 +0800)]
ENGR00153474 ipuv3 split mode: vf and enc task display with error

For split mode, if using vf/enc task, the display is not correct.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00155141 ipuv3 split mode: adjust split calculate function
Jason Chen [Mon, 22 Aug 2011 03:21:59 +0000 (11:21 +0800)]
ENGR00155141 ipuv3 split mode: adjust split calculate function

One issue was found in split mode: For input 1024x600, output 1360x768,
after stripe calculation, input width and input column are not right.
This patch fix this issue.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00155464 mx6q: Change default DMA size to 184M
Sammy He [Mon, 29 Aug 2011 10:28:53 +0000 (18:28 +0800)]
ENGR00155464 mx6q: Change default DMA size to 184M

Change default DMA size to 184M for mx6q. Current 96M size
isn't enough for 1080P encoder + decoder, and HDMI output.

Signed-off-by: Sammy He <r62914@freescale.com>
11 years agoENGR00155400 [ath6kl]build warning
Tony Lin [Fri, 26 Aug 2011 08:22:25 +0000 (16:22 +0800)]
ENGR00155400 [ath6kl]build warning

fix following build warning:
drivers/staging/ath6kl/os/linux/ioctl.c:4673:
warning: the frame size of 1976 bytes is larger than 1024 bytes

Signed-off-by: Tony Lin <tony.lin@freescale.com>