Commit Graph

158191 Commits

Author SHA1 Message Date
Liu Ying
12c8a0fa58 ENGR00117835-6 MX31:Change defconfig for 2.6.31 kernel
Change default configuration file for 2.6.31 kernel including
enable V4l2 feature.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:45:14 -05:00
Liu Ying
5eb05d4d24 ENGR00117835-5 MX35:Change defconfig for 2.6.31 kernel
Change default configuration file for 2.6.31 kernel including
enable V4l2 feature.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:45:13 -05:00
Liu Ying
cef6967ecc ENGR00117835-4 MX37:Change defconfig for 2.6.31 kernel
Change default configuration file for 2.6.31 kernel including
enable V4l2 feature.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:45:13 -05:00
Liu Ying
7c55991d53 ENGR00117835-3 MX51:Change defconfig for 2.6.31 kernel
Change default configuration file for 2.6.31 kernel including
enable V4l2 feature.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:45:12 -05:00
Liu Ying
9d742caff6 ENGR00117835-2 V4L2 capture:Update MXC V4L2 capture for 2.6.31 kernel
1)Update MXC V4L2 capture driver for 2.6.31 kernel.
2)Update ov3640 camera and ov2640 camera driver for 2.6.31 kernel.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:45:11 -05:00
Liu Ying
4c30e990b2 ENGR00117835-1 V4L2 output:Update MXC V4L2 output for 2.6.31 kernel
Update MXC V4L2 output driver for 2.6.31 kernel.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:45:11 -05:00
Lily Zhang
2442956258 ENGR00117843 Missing i.MX headers for kernel headers_install
Add i.MX specific files into include/linux/Kbuild

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:45:10 -05:00
Lily Zhang
fc279b5771 ENGR00117920 MX51 3DS: Add SMSC911X platform data
Add SMSC911X platform data for MX51 3DS to make it work.

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:45:10 -05:00
Jason Chen
6476b1ad92 ENGR00117872 FB ipuv3: pan display fail after switch DP to TVOUT
irq handler should be re-register to the correct FB's ipu channel.

Signed-off-by: Jason Chen <b02280@freescale.com>
(cherry picked from commit 37140ac9a62a382a6d206aa0754eedac90a151c0)
2010-08-10 11:45:09 -05:00
Richard Zhu
39cdfdd0a5 ENGR00117630 [MX51 BBG] Can not boot up system from MMC plus card
This issue is caused by the improper PAD configuration.
Modify the PAD configurations and this issue disappeared.

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:45:08 -05:00
Patrick Turley
1cafce73e5 ENGR00115074: [MX233_BSP] Comment, clarify and characterize the NAND Flash
New comments and some variable renaming to improve the understandability of
the code.

Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
2010-08-10 11:45:08 -05:00
Wu Guoxing
913cb128bd ENGR00117760 GPU: use axi_a clock for GPU 2D and 3D
GPU: use axi_a clock for GPU 2D and 3D

Signed-off-by: Wu Guoxing <b02248@freescale.com>
2010-08-10 11:45:07 -05:00
Robert Lee
1646bc39e4 ENGR00117791 stmp37xx specific battery charger code causing problems
The battery charger driver contains 37xx specific battery charger
driver code that is incompatible with 378x/iMX23 and needs removal

Signed-off-by: Robert Lee <robert.lee@freescale.com>
2010-08-10 11:45:07 -05:00
William Lai
4d185192bf ENGR00116284 MX35: ASRC can not work when SPDIF_TX provides clock
ASRC can not work correctly when SPDIF_TX provides clock for asrc input
or output. The root cause is, the clock divider should be set as 6 if
SPDIF_TX provides the bit clock for ASRC, and be set as 7 if SPDIF_RX
provides the bit clock.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:45:06 -05:00
Zhou Jingyu
d1ebb9b6fc ENGR00117417 imx233: remove 24000 HZ cpu profile for ddr
remove 24000 HZ cpu profile for ddr

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:45:05 -05:00
Rob Herring
ccfcfc7a9c ENGR00117540 z160: add memory region for scratch buffers
The z160 needs 88KB memory for temp buffers.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:45:05 -05:00
Jason Chen
fd0019f884 ENGR00117388 ipuv3: Futher fix for diable IPU channel
IPU channel disable should wait all channels finish busy state, should
wait for input dma interrupt first then output dma interrupt as the
correct sequence for all channels. This patch fix the DQ_BUF fail issue
in VPU unit test.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:45:04 -05:00
Jason Chen
47b0bb91b0 ENGR00117373 ipuv3: disable IPU channel not correct
IPU channel disable should wait all channels finish busy state, should
wait for input dma interrupt as the correct finish signal for all
channels. This patch fix the DQ_BUF fail issue in VPU unit test.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:45:04 -05:00
Robby Cai
425c23d1f5 ENGR00117324 Turn on MTD_NAND_GPMI and MTD_CONCAT options
It's convenient to use NAND if they are turned on by default.

Signed-off-by: Robby Cai <r63905@freescale.com>
2010-08-10 11:45:03 -05:00
Robert Lee
dea20ce49d ENGR00117297 cpufreq clock/voltage table needs to be updated
Previous values being used were for STMP378x which has lower temperature
requirements.  The updated values work with 105C temperatures but require
higher digital core voltages and lower maximum EMI clock speeds.:$lower
maximum EMI clock speeds.:

Signed-off-by: Robert Lee <robert.lee@freescale.com>
2010-08-10 11:45:03 -05:00
Ranjani Vaidyanathan-RA5478
9b5e5b73c9 ENGR00117202: System cannot resume when suspended at lower CPU frequency.
Change the code such that suspend and resume always set the CPU frequency
and voltage to the highest level.

Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
2010-08-10 11:45:02 -05:00
Frank Li
1992994612 ENGR00117307 iMX23 reduce LCD driver strength to 8mA
Changing the LCD pin drive strengths to 8mA reduces
the amount of overshoot in half (15% and 50%) and
does not significantly change the rise and fall time
characteristics of the digital LCD signals

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:45:01 -05:00
Frank Li
43a06f54b9 ENGR00117252 Fix iMX23 dotclk is double as expected value
Dotclk is double as expected value. This fix actually is workaround.

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:45:01 -05:00
Lily Zhang
97c9898a28 ENGR00117168-2 Support to build SRTC driver as module
Remove system timer restore codes in suspend and resume operations
since rtc class driver has done it. After removing these codes, srtc
driver can be built as module

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:45:00 -05:00
Lily Zhang
bc8b64d889 ENGR00117168-1 SRTC: Alarm interrupt can not be issued if closing device
When executing the below operations (Open device -> Call
RTC_AIE_ON -> Close device), alarm interrupt can be received
when alarm time expires. This is because all interrupts are
cleared wrongly when the device is closed.

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:45:00 -05:00
Robby Cai
7f949977b8 ENGR00117203 MX23 Fix the wrong operations on chromakey in PXP/V4L2 driver
Separate chromakey setting for s1 and s0.
Set chromakey for S1 via S_FMT
set chromakey for S0 via S_CTRL (with private CID)

Current V4l2 framework can not support this case with only S_FMT.

Signed-off-by: Robby Cai <r63905@freescale.com>
2010-08-10 11:44:59 -05:00
Xinyu Chen
a3fb73c8be ENGR00116921 Keypad will not respond if pressing during boot
The keypad interrupt registering must be put at the end of probe,
behind the timer init. Otherwise, interrupt will occur during keypad initial.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-08-10 11:44:58 -05:00
Frank Li
655e612017 ENGR00117558 iMX233 Updater defconfig need updated to define onchip usb phy
Updater defconfig need updated to define onchip usb phy to fix build error

Signed-off-by: Frank Li <Frank.Li@freescale.com>
(cherry picked from commit 6c729447d71efc157443bcc077e0543d71ed17b8)
2010-08-10 11:44:58 -05:00
Miao Yu
f0dd765dcd ENGR00116759 iMX51: Fix compile error when using gcc4.3.3
Enable armv7-a instruction when using gcc4.3.3 (code sourcery,
version 2009q1, glibc2.8)

Signed-off-by: Miao Yu <r65093@freescale.com>
2010-08-10 11:44:57 -05:00
Lily Zhang
f3f325d344 ENGR00116779 OneWire: Clear the information when removing the module
1.When inserting OneWire module at the second time, the error is reported.
This is because irq information isnot cleaned when removing the module.
2. Correct error handling in probe function.

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:44:57 -05:00
Jason
f0a38df344 ENGR00117212 BLS register is not set correcly on MX51 platform
BLS register is not set correcly on MX51 platform

Signed-off-by:Jason Liu <r64343@freescale.com>
2010-08-10 11:44:56 -05:00
Raj Rajasekaran
d7c01ef724 ENGR00116798:MX51: Add support to handle potential hang on SCC HW failute.
-Added kernel error message to handle hang due to SCC HW failure.
-Eliminated unwanted sleeps.
-Kernel error message to handle the case when SCC key fuses are not blown.

Signed-off-by: Raj Rajasekaran <b10872@freescale.com>
2010-08-10 11:44:56 -05:00
Ranjani Vaidyanathan-RA5478
cf982c8f39 ENGR00117205: Enable M4IF power savings only for MX51 TO3 parts.
Disable M4IF auto clock gating for EMI_FAST on MX51 TO2.

Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
2010-08-10 11:44:55 -05:00
Ranjani Vaidyanathan-RA5478
e717ff90e8 ENGR00117111: Added EMPGC0 fixes for MX37.
Set ALP bits to 0.
Set the SRPG powerup and powerdown values.
Set the WM8350 to be in normal mode (PWM) rather in Pulse Skipping mode.

Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
2010-08-10 11:44:54 -05:00
Mark Gutman
732aceb787 ENGR00115576 ipuv3: support for 720P upsizing
A new feature is added to support to upsizing by horizontal stripes
via IC PP channels double using.

Signed-off-by: Mark Gutman <r58412@freescale.com>
2010-08-10 11:44:54 -05:00
Liu Ying
e18a399aec ENGR00116882 OV3640 camera: Refine the initialization process
1) Set camera iomux when initializing camera device, and reset camera iomux
   when camera driver disconnects with v4l2 capture master.
2) Remove the forcing debug messages.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:44:53 -05:00
Jason Chen
436ed89d96 ENGR00079396 mx37: enable clock event for oprofile
Only clock event be enabled.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:44:52 -05:00
Rob Herring
df6a3db108 ENGR00116558: MX233: USB pin detect
MX233: Restructure the STMP378xxx USB Host and Gadget device structures
to be similar to MXC structures. Enable fsl_otg_arc driver to work on
MX233 platform. Remove FSL_USB2_DONT_REMAP requirement.

Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>

Conflicts:

	arch/arm/mach-stmp3xxx/Kconfig
	arch/arm/mach-stmp3xxx/Makefile
	arch/arm/mach-stmp3xxx/devices.c
	arch/arm/mach-stmp3xxx/include/mach/stmp3xxx.h
	arch/arm/mach-stmp3xxx/stmp378x_devb.c
2010-08-10 11:44:52 -05:00
Lionel.Xu
11339167fb ENGR00113483 MX37: Resolve occasional kernel panic during system reboot
Mask WM8350 GPIO and RTC interrupt, to avoid heavy data traffic on I2C
bus, which may incur kernel panic when system reboot.

Signed-off-by: Lionel Xu <r63889@freescale.com>
2010-08-10 11:44:51 -05:00
Sammy He
dad233d1e5 ENGR00107749 Fix vpu suspend/resume failure issue
Fix vpu cannot go into suspend or vpu hang after resume issue.

Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:44:50 -05:00
Robby Cai
1d21687b41 ENGR00116416-2 Gate off clocks to LCDIF when it's inactive
Gate off clocks to LCDIF when it's inactive, Gate on otherwise.

Signed-off-by: Robby Cai <r63905@freescale.com>
2010-08-10 11:44:50 -05:00
Robby Cai
707ca593fc ENGR00116416-1 reset PXP module when it's inactive
Putting PXP in reset state gains the lowest power.
Restrore the PXP regs once PXP comes out of reset state.

Signed-off-by: Robby Cai <r63905@freescale.com>
2010-08-10 11:44:49 -05:00
Albert Chen
94af0e7844 ENGR00115875 add USB gadget low power mode feature.
USB will enter low power mode if no vbus power supply.
	Only finished this feature in Mx37.
	1. When enter low power mode, driver will close usb related clocks
		as possible as could.
		set usb IP to stop.
		Set PHY to low power suspend by setting PHCD bit of portsc.
	2. This patch doesn't support low power mode in OTG mode yet.

Signed-off-by: Albert Chen <r65187@freescale.com>
2010-08-10 11:44:49 -05:00
Ranjani Vaidyanathan-RA5478
e7591acd94 ENGR00117112 : MX51: Add support for automatic clock gating of EMI_FAST clock.
Enable automatic power saving of the EMI_FAST path in M4IF (TO3 only).

Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
2010-08-10 11:44:48 -05:00
Ranjani Vaidyanathan-RA5478
72f2abbd53 ENGR00117090: MX51: Added support for TO3 fixes
Changed the LP and GP voltages based on TO3 datasheet.

Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
2010-08-10 11:44:47 -05:00
Ranjani Vaidyanathan-RA5478
58543fe1df ENGR00117091: Fixed MX37 build break due to missing global variable.
Added dvfs_core_is_active define to mach/mx37_3stack/devices.c

Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
2010-08-10 11:44:47 -05:00
Ranjani Vaidyanathan-RA5478
9051cad471 ENGR00116947: MX51: Fix the audio-pop/channel swapping issue in lp-apm mode.
In LPAPM mode, peripheral domain is clocked from the 24MHz clock.
There is a brief period of time when IPG clock drops close to 2.4MHz,
which violates the SSI to IPG clock ratio. And this causes incorrect data
to be clocked out of SSI.
Fix the code such that IPG clock does not go below 10MHz when
entering/exiting LPAPM mode.

Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
2010-08-10 11:44:46 -05:00
Liu Ying
ea1c378151 ENGR00116661 V4L2 output: Support input cropping when no resizing is needed
Use IC channel to do input cropping even when other conditions make the
V4L2 output driver to bypass IC channel.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:44:46 -05:00
Zhou Jingyu
ab8c603307 ENGR00115040 imx233: reduce stanby power below 2mA@3.7v
reduce stanby power to 2mA@3.7v

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:44:45 -05:00
Jason
9dc721a7f1 ENGR00116717 Nand status is not correct on MX51 TO2 and TO3
Nand status does not correct on MX51 TO2 and TO3.
1. Should use RBB_MODE 1 instead of 0 due to NFC bug(ENGcm09970)
   For RBB_MODE 0,NFC has a bug,it doesn't sample correctly the
   returned data on the I/O and therefore the INT is
   asserted earlier than expected (i.e during the busy period)

2. Should use atomic status read instead of auto mode.
   Auto mode status is not correct, the WP bit (IO7)
   is not correct randomly, it wrongly report nand in write-protect
   mode, which result in program/erase fail.

Signed-off-by:Jason Liu <r64343@freescale.com>
2010-08-10 11:44:44 -05:00