Commit Graph

158259 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
508bad5d12 ENGR00118888-2 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
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
Anish Trivedi
4f239af29f ENGR00118729 MX51 SCC: Change SMN_STATUS_SMN_ERROR offset to 0x4000
Changed bit definition from 0x8000 to 0x4000

Signed-off-by: Anish Trivedi <anish@freescale.com>
2010-08-10 11:45:52 -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
Wallace Wang
a22aa66c9c ENGR00114902 MX35: Enable SD clock before reboot
MX35 ROM code will not configre SD clock, while linux
kernel will disable SD clock when there is no data
transfer, so need to enable SD clock before reboot for
SD boot mode

Signed-off-by: Wallace Wang <r59996@freescale.com>
2010-08-10 11:45:51 -05:00
Wallace Wang
96cb1f226d ENGR00118790 ASoC AC97 codec driver
Add ac97 mode support for SSI module

Signed-off-by: Wallace Wang <r59996@freescale.com>
2010-08-10 11:45:51 -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
Alan Tull
d02a710fce ENGR00117456: fix dac_get_volsw
Fix shift direction.
Don't return left channel value for both channels.

Signed-off-by: Alan Tull <r80115@freescale.com>
2010-08-10 11:45:48 -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
Guoqing Jiang
05c22fb06c ENGR00118701 MX25:Fix headphone plug-in caused system hang
To keep system runs well after plugin headphone, replace disable_irq with
disable_irq_nosync.

Signed-off-by: Guoqing Jiang <b22156@freescale.com>
2010-08-10 11:45:47 -05:00
William Lai
0069614e9f ENGR00118736 Mx35 ASoc: Trying to free already-free IRQ 240
Trying to free already-free IRQ 240 causes the warning dumped out
when boot up the kernel.
Return the error code in the probe function, which indicats the
failure of the platform driver probing. Then the platform driver remove
function will not be called, avoiding of freeing an already-free IRQ again.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:45:47 -05:00
Lily Zhang
d08452d68d ENGR00118376 MX35: Fix FEC build error
Use "MXC_FEC_BASE_ADDR" instead of FEC_BASE_ADDR

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:45:46 -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
William Lai
88c526b4cb ENGR00118399 MX35 RNG: Cann't insert module rng_test_driver.ko
In the rng_test_driver.ko and rng_test, RNG_REGISTER_PEEK_POKE flag
should be defined, otherwise, the rng_read_register() and rng_write_register()
functions will not be defined. And the flag RNG_REGISTER_PEEK_POKE depends on
CONFIG_RNG_TEST_DRIVER, which is not set in the default config file.
Resolve the problem by setting the CONFIG_RNG_TEST_DRIVER.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:45:42 -05:00
Nancy Chen
29fae032c1 ENGR00118672 Fix build break in imx233_updater_defconfig
Fix build break in imx233_updater_defconfig.

Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-08-10 11:45:42 -05:00
Lily Zhang
6b59849f29 ENGR00118645 MX51:Change configurations for ubuntu 9.10
1. Disable CONFIG_SYSFS_DEPRECATED for udev
2. Enable CONFIG_RFKILL for USB dongle
3. Enable CONFIG_USB_VIDEO_CLASS for cheese
4. Enable ext4 file system

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:45:41 -05:00
Guoqing Jiang
1ef2dfe56b ENGR00118562 MX25: Fix audio cannot work with sgtl5000 revision 16.
Delete VDDD setting for sgtl5000 chip, make sure it's correspondence
with schematic.

Signed-off-by: Guoqing Jiang <b22156@freescale.com>
2010-08-10 11:45:40 -05:00
Nancy Chen
75b4930093 ENGR00117528 MX23: Restructure CPUFREQ driver
Restructure CPUFREQ driver.
Add conservative governor support.
Add CPUFREQ trigger implementation.
Add H_CLK auto slow mode support

Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-08-10 11:45:40 -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
b02241
2a558b9f06 ENGR00118029 i.mx233: fix resume issue
fix system can not resume on 2.6.31 branch

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@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
Zhou Jingyu
bc2dd62906 ENGR00118228 i.mx35: fix SD/MMC card detection
fix mcu driver irq handler for SD/MMC card detection

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:45:37 -05:00
Frank.Li
17ecb8ecad ENGR00118522 iMX23 correct CATLAT value of 2.5 cycles
Since the true CAS latency can only be changed subsequently
if WRITEMODEREG is set, and since WRITEMODEREG is not currently
used in the BSP, these 2.5 settings in emi.inc don't really matter.
However, they may give a lot of confusion for whoever is debugging
the EMI driver, since the HW_EMI register will read one thing,
while the controller is doing another thing

remove all frequency settings for DDR1 below 96MHz.
These are not supported and not useful.

Signed-off-by: Frank.Li <Frank.Li@freescale.com>
2010-08-10 11:45:36 -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
William Lai
1a156d0a01 ENGR00118226 MX35 PM: System crashes when try to wake up from standby
The ak4647_codec is not initialized as there is no ak4647 codec existing
on MX35 board. In the 31 kernel, the card and codec drivers are
registered separately, and there is no check whether the codec is probed
successfully or not. On MX35 board, the card is sucessfully registered,
but there is no ak4647 codec. In this case, the system will crash if the
system try to invoke the codec's resume function.
To resolve the problem, add a check in registering the card. If the
codec does not exist, give up registering the card either.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:45:35 -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
Frank.Li
babfa53508 ENGR00116050 iMX233 correct EMI clock change
The BSP uses the deprecated DCC_RESYNC logic for changing clocks.
This was ok for 37xx, but it is not recommended for 378x

Use DLL_RESET and DLL_SHIFT_RESET for changing clocks

Signed-off-by: Frank.Li <Frank.Li@freescale.com>
2010-08-10 11:45:33 -05:00
Frank.Li
4faa9128d2 ENGR00118393-2 update imx23 register header file
Update imx register header file with these created from xml

Signed-off-by: Frank.Li <Frank.Li@freescale.com>
2010-08-10 11:45:33 -05:00
Frank.Li
eeef37fb0a ENGR00118393-1 update imx23 register header file
Update imx register header file with these created from xml

Signed-off-by: Frank.Li <Frank.Li@freescale.com>
2010-08-10 11:45:32 -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
5bb9c60b9d ENGR00118079-3 Add missed SPI platform_data for enternet
include GPIO pin for ethernet interrupt, etc.

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:45:29 -05:00
Robby Cai
ae2a69305c ENGR00118079-2 fix bug in gpio irq driver
In virtual gpio irq init func, fix miscalculation for all GPIO pins.
In gpio chained irq handler, need mask, ack, umask

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:45:28 -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
Frank.Li
d81ea62f18 ENGR00118047 iMX23 Fix DVFS Can't change frequency and voltage
Policy min and max is set to current frequency.
emi.S use wrong register address
Some line miss at clock.c when port from 28 kernel.

Signed-off-by: Frank.Li <Frank.Li@freescale.com>
2010-08-10 11:45:27 -05:00
Frank.Li
a4115bfc89 ENGR00118204 Update power related register header file
register header file is created from xml file.
some register use related address but some one not.

Signed-off-by: Frank.Li <Frank.Li@freescale.com>
2010-08-10 11:45:26 -05:00
Alan Tull
bf57f21ba4 ENGR00118016-3 wm8580: update to 2.6.31
wm8580 is using regulators that can't change state.  The
regulator driver doesn't handle this case well so it crashes
during regulator_bulk_enable.  Eventually this will be fixed in the
regulator driver.  For now, remove regulators from list in
wm8580 driver.

Fix spi_rw err. hw_write needs to return transferred data length.

Signed-off-by: Alan Tull <r80115@freescale.com>
Signed-off-by: Wallace Wang <r59996@freescale.com>
2010-08-10 11:45:26 -05:00