Commit Graph

158218 Commits

Author SHA1 Message Date
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
Alan Tull
966f477642 ENGR00118016-2 wm8350: update to 2.6.31
In WM8350_FLL_CONTROL_1, keep FLL_RATE at default.
Don't mute outputs by default.

Signed-off-by: Alan Tull <r80115@freescale.com>
2010-08-10 11:45:25 -05:00
Alan Tull
52bf586bac ENGR00118016-1 ASoC : upgrade audio support to 2.6.31
Move regulator control into codec drivers.
Move codec platform data to machine layer.
Remove unused fields from mxc_audio_platform_data.
soc multiple audio cards support:
  dai_list is a list for all registered codec/cpu dais.
  One codec/cpu dais can't be registered twice, so move the
  cpu dai registering into imx-ssi.c/imx-esai.c
Fix ak4647_read_reg error.
Put ssi/esai mode in the cpu_dai private_data.
sgtl5000: Fix the power for MX35
  1. MX35 vddio and vddd are directly connected to
  external 3V3. It has no regulator control.
  2. sgtl5000 needs some time to be ready after vdda
  is switched on so msleep(1) is added before regiter
  read/write.
  3. On MX35 platform, vdda is from VCAM.

Signed-off-by: Alan Tull <r80115@freescale.com>
Signed-off-by: Wallace Wang <r59996@freescale.com>
2010-08-10 11:45:24 -05:00
Robby Cai
e231e603d9 ENGR00118046-3 Add the mxs_viim device
IIM device node does not exist due to missing of mxs_viim registered.

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:45:24 -05:00
Robby Cai
c1e4917a8b ENGR00118046-2 add device release function to avoid kernels complaint
add nop release function

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:45:23 -05:00
Robby Cai
5494c7a564 ENGR00118046-1 fix the resource .end assignment
IIM resource has overlap with PXP resource
Fix all potential conflict by this patch

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:45:22 -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
8959e7e93d ENGR00117951-2 MX25: Change default config to enable V4L2 capture feature
Change default configuration file for 2.6.31 kernel to enable
V4l2 capture feature

Signed-off-by: Sammy He <r62914@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
Mark Brown
42627bb095 ASoC: Regulator support for WM8580
Add basic support for integration with the regulator API to WM8580.
Since the core cannot yet disable biases when the CODEC is idle we
simply request and enable the regulators for the entire time the
driver is active.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-08-10 11:45:16 -05:00
Mark Brown
444b8403a2 ASoC: Automatically manage WM8350 sloping stopband filter
For best performance the DAC sloping stopband filter should be enabled
below 24kHz and not enabled above that so remove the user visible
control for this and do it autonomously in the driver.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-08-10 11:45:15 -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
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