Commit Graph

68889 Commits

Author SHA1 Message Date
mark gutman
a190829bde ENGR00118832 TVout: error color displays
Fixing IC bypass behavoir for cropping

Signed-off-by: Mark Gutman <r58412@freescale.com>
2010-08-10 11:45:55 -05:00
Frank Li
34d71b41a9 ENGR00118888-1 Fix iMX23 mfg firmware usb segment fault
Miss some configuration and wrong use put_unaligned_be32

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:45:54 -05:00
Patrick Turley
32656e1ec6 ENGR00115003 [mx233_BSP] Cannot run fdisk on FTL over an UBI volume.
Added FTL support for UBI.

Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
2010-08-10 11:45:53 -05:00
Sammy He
8ff71d9299 ENGR00118695 Fix touch screen cannot work sometimes
Fix touch screen cannot work sometimes issue:
Use PD_IRQ mask to control irq to system, not PD_EN.

Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:45:52 -05:00
Zhou Jingyu
b795219b9c ENGR00118525 imx233 fix pswitch irq issue
use shared mode for pswitch and 5v dectection

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:45:50 -05:00
William Lai
dc2c30b481 ENGR00118425 Mx35 ASRC: Cann't work as the SPDIF RX as input
The ASRC cann't work when the SPDIF RX is employed to drive the input
part of the ASRC.
The root cause is miswritting "reg |= 7 << AICPA;" as "reg | 7 <<
AICPA;".

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:45:49 -05:00
Albert Chen
1be00f9323 ENGR00109408 mx25 usb remote wakeup
Add remote wakeup feature for host mode.

Signed-off-by: Albert Chen <r65187@freescale.com>
2010-08-10 11:45:49 -05:00
mark gutman
654bf8e2a2 ENGR00116028 CROP for TVE 720P
Crop support for outgoing picture to TVE in 720P format

    Signed-off-by: Mark.Gutman@freescale.com>
2010-08-10 11:45:48 -05:00
Jason
5ebb0f1b19 ENGR00118706 Update NAND suspend-resume driver mechanism on 2.6.31 kernel
Suspend then resume, kernel will print one warning message.
This is due to mtd suspend/resume framework change on 2.6.31 kernel.
Please refer to the follwing commit for detailed information
commit 15bce40cb3
[MTD] Restore suspend/resume support for mtd devices

Signed-off-by: Jason Liu <r64343@freescale.com>
2010-08-10 11:45:45 -05:00
Lily Zhang
dd3541d01b ENGR00118714 Disable FEC clock when it's not used
Disable FEC clock when it's not used in 31 kernel

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:45:45 -05:00
Lily Zhang
f6939b6d05 ENGR00118698 Fix FEC resume issue
FEC driver is stopped in suspend state. So FEC driver should restart
instead of initialization in resume state

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:45:44 -05:00
Jason Chen
b5f8385ac7 ENGR00116313 ipuv3: DP gamma support
Support DP gamma by setting piecewise linear approximation,
application need set coefficient const[k] and slope[k]. The algorithm to
calculate these coefficient pls refer to unit test.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:45:43 -05:00
Jason Chen
7eabf6fb87 ENGR00118252 ipuv3: change dp csc coeff for rgb2yuv
After switch DP(2 layer) from lcd to tvout, fb1 use RGBP format, the
output of fb1's color was not exactly correct.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:45:43 -05:00
mark gutman
8ded87cad8 ENGR00118401 CROP for TVE PAL/NTSC
Crop support for outgoing picture to TVE in PAL and NTSC formats

    Signed-off-by: Mark.Gutman@freescale.com>
2010-08-10 11:45:39 -05:00
Robby Cai
e15fa8ed84 ENGR00118509 Update the defconfig to include V4L2
Fix PXP compiling problem after V4L2 option turned on as well

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:45:38 -05:00
Jason
b619854611 ENGR00115039 iMX233 NAND MTD Support BCH
iMX233 NAND MTD Support BCH

Signed-off-by:Jason Liu <r64343@freescale.com>
2010-08-10 11:45:38 -05:00
Patrick Turley
6416aff019 ENGR00116517 [MX233_BSP] Port ThreadX SDK NAND Flash device identification
Added the device identification and timing database. Adjusted the GPMI
NAND Flash driver to use this information.

Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
2010-08-10 11:45:36 -05:00
Frank.Li
93b125fa24 ENGR00118444 iMX23 Change die temperature measure change to LRADC1
LRADC7 for measurements other than battery voltage will cause the wrong
value to be copied over to the power supply.

Connecting 5V and then disconnecting to run from battery will
be unstable.

This fix change LRADC7 to LRADC1 to measure die temparature

Signed-off-by: Frank.Li <Frank.Li@freescale.com>
2010-08-10 11:45:34 -05:00
Frank.Li
2beeed711a ENGR00117241 modification to iMX23 power source driver for stability
Fixes problems with incorrect DCDC settings.  Adds support for 4p2 power
supply necessary for meeting supply requirement during 5V connections.

Clean up stmp3xxxx_setl and stmp3xxx_clearl because some register have
not _SCT register

Signed-off-by: Robert Lee <robert.lee@freescale.com>
Signed-off-by: Frank.Li <Frank.Li@freescale.com>
2010-08-10 11:45:34 -05:00
Miao Yu
7202b43541 ENGR00118374 MX35 TVIN: Fail to build kernel 31 for TVIN module
Miss one header file which includes the definition of mxc_tvin_platform_data

Signed-off-by: Miao Yu <r65093@freescale.com>
2010-08-10 11:45:31 -05:00
r63889
566b342445 ENGR00113627 MX35 RTC: Make mxc_rtc independent of pmic_rtc
Remove get_ext_rtc_time/set_ext_rtc_time in rtc-mxc.c, making mxc_rtc totally
independent of pmic_rtc.

Signed-off-by: Lionel Xu <r63889@freescale.com>
2010-08-10 11:45:31 -05:00
Liu Ying
6938379d1b ENGR00118147 IPUv3 FB:Synchronize DP local alpha update with sdc FB
Synchronize DP local alpha update with sdc framebuffer in pan display.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:45:30 -05:00
Jun Li
9968237bed ENGR00117937 USB pin detct is broken on 2.6.31 branch
When register platform driver in 2.6.31 kernal, suspend
and resume are not set for device driver.
The patch fix this issue by using platform driver's
suspend/resume rountine directly in otg driver.

Signed-off-by: Li Jun <r65092@freescale.com>
2010-08-10 11:45:30 -05:00
Patrick Turley
d23f133ecb ENGR00118250 [MX23_BSP] GPMI driver crashes when only one chip
Fixed the one-chip branch during GPMI initialization.

Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
2010-08-10 11:45:29 -05:00
Robby Cai
34d7b459f6 ENGR00118079-1 fix mismatch of names of SPI device and driver
change the spi driver's name

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:45:27 -05:00
Robby Cai
75c8fe3884 ENGR00118049 UART: app-uart device node does not exist
No /dev/ttySP0, due to mismatch of app uart driver and device

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:45:22 -05:00
Jason Chen
4689b04eee ENGR00117982 ipuv3: add SRC reset before ipu init
Bootload may do ipu init to display something, add SRC reset here to
make sure ipu working well in BSP.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:45:21 -05:00
Sammy He
d0f2430cd9 ENGR00118035 MX51: Fix the wrong register set for vpu software reset
Fix vpu software reset register setting wrong on MX51.

Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:45:21 -05:00
Guoqing Jiang
e77ccdb9f8 ENGR00117392 MX25: Camera enhancement to support encoder.
Added mx25 new V4L2 ioctls(included VIDIOC_QBUF and VIDIOC_DQBUF etc).

Signed-off-by: Guoqing Jiang <b22156@freescale.com>
(cherry picked from commit f5658a339a5c6a9c2202b0c2bd7c99dd4eb19030)
2010-08-10 11:45:20 -05:00
Patrick Turley
f7cffaf97e ENGR00116542 [MX233_BSP] Simplify the GPMI NAND Flash driver's partitioning
Simplified the partitioning mechanism and, as a side effect, made the
GPMI NAND Flash driver usable (it was always crashing the kernel).

Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
2010-08-10 11:45:19 -05:00
Sammy He
ac3d51cde1 ENGR00117951-1 Update csi v4l2 capture for 2.6.31 kernel
Update CSI V4L2 capture driver for 2.6.31 kernel.

Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:45:18 -05:00
Mark Brown
e99b193fe8 regulator: Fix support for deviceless supply mappings
The patch to add support for looking up consumers by device name
had the side effect of causing us to require a device which is
at best premature since at least cpufreq still operates outside
the device model. Remove that requirement.

Reported-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2010-08-10 11:45:17 -05:00
Mark Brown
2d37bc6144 regulator: Allow consumer supplies to be set up with dev_name()
Follow the approach suggested by Russell King and implemented by him in
the clkdev API and allow consumer device supply mapings to be set up
using the dev_name() for the consumer instead of the struct device.
In order to avoid making existing machines instabuggy and creating merge
issues the use of struct device is still supported for the time being.

This resolves problems working with buses such as I2C which make the
struct device available late providing that the final device name is
known, which is the case for most embedded systems with fixed setups.

Consumers must still use the struct device when calling regulator_get().

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2010-08-10 11:45:17 -05:00
Liu Ying
40afff3150 ENGR00117972 OV3640 camera:Support to send out D1 resolution frames
Make the camera support D1(PAL/NTSC) resolution.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:45:15 -05:00
Liu Ying
fc1695fdec ENGR00117261 V4L2 capture:CSI input cropping improvement
1) When using CSI->MEM to capture frames, the output frame resolution of
   channel CSI->MEM should be the same with that of cropping input frame.
2) Enable to capture frames bigger than the cropped input frames.

Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit eee5a08306df7d9b1f23f463c9e9439e04293b57)
2010-08-10 11:45:14 -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
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
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
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
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
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
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
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