Commit Graph

158838 Commits

Author SHA1 Message Date
Richard Zhao
063544faec ENGR00125010-3 MX35: add gpu to imx35_3stack_defconfig
Build as module by default.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
2010-08-10 11:51:47 -05:00
Richard Zhao
d28a6d6b8d ENGR00125010-2 MX5: add gpu to imx5_defconfig
Build as module by default.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
2010-08-10 11:51:47 -05:00
Gene Chouiniere
da25d30bfa ENGR00125010-1 gpu: add gpu driver support
Migrate from RC14 with freescale changes.

Signed-off-by: Gene Chouiniere <Gene.Chouiniere@amd.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Acked-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:51:46 -05:00
Jason Chen
5587d66a12 ENGR00125173 ipuv3: remove stat check wait in _ipu_dp_dc_disable()
The stat check wait will add ipu operation time which degrade the ipu
performance.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:44 -05:00
Jason Chen
76a5dbd276 ENGR00125172 ipuv3 fb: add sync for DP swap
During DP swap, other fb operation should not happen.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:44 -05:00
Jason Chen
743a8eed30 ENGR00125171 ipu dev: add sync method
The memory mmap by ipu device is write-back, so user space need sync
method.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:43 -05:00
Lily Zhang
0c28025916 ENGR00125045 MX53: Adjust VDDGP voltage setting
1. Adjust VDDGP for 1GHZ as 1.15v
2. Adjust VDDGP for 800MHZ as 1.05v
3. Not all current MX53 boards can run up to 1GHZ. So one limitation is
added into clock.c to limit 1GHZ working point. To enable 1GHZ
working point in kernel, please increase the GP voltage and type the
command "clk core 1000" in uboot console to switch CPU core to 1GHZ.
This limitation will be removed after all boards support 1GHZ.

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:51:42 -05:00
Richard Zhao
0886df99c7 ENGR00125169 MX5: only reset nfc in arch_reset when we have it
it fix mx50 reboot wdog reg write failed issue.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
2010-08-10 11:51:42 -05:00
Robby Cai
8208b24706 ENGR00125175 Add pxp_dma.h into include/linux/KBuild
Add pxp_dma.h into KBuild

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:51:41 -05:00
Danny Nold
1d580cb07e ENGR00125120 - EPDC fb: Hangs when display pmic regulators not found
EPDC driver updated to fail gracefully when the display pmic cannot
be acquired.  No longer hanging.

Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-08-10 11:51:40 -05:00
Danny Nold
f549421d20 ENGR00125119 - Maxim 17135 display pmic: VCOM configured incorrectly
The initial VCOM voltage should be configured once.  Previously it was
left unconfigured.  Now, the VCOM value is checked the first time
through, and if it is not set correctly, it will be fixed.

Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-08-10 11:51:40 -05:00
Danny Nold
7a8faaa8a5 ENGR00125118 - Maxim 17135 display pmic: increase PWR_GOOD wait timeout
A number of Maxim 17135 parts were found to require longer than the
computed max wait time to assert the PWR_GOOD signal, indicating that
display power is up and valid.  This fix increases the timeout,
preventing regulator_enable calls from prematurely bailing out
and reporting errors.

Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-08-10 11:51:39 -05:00
Danny Nold
9094f00c97 ENGR00125113 - imx5_defconfig update - Add PxP, Max17135, and EPDC
MX50 requires inclusion of PxP, Maxim 17135, and EPDC drivers as defaults
in order to have proper E-Ink display support.

Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-08-10 11:51:39 -05:00
Zhou Jingyu
fa9167503b ENGR00125077: pmic battery: disable battery for MX50 Arm2 board
pmic battery: disable battery for MX50 Arm2 board

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:51:38 -05:00
Richard Zhu
656eb1788e ENGR00124255 Reconfigure MX5x's eSDHC iomux PAD's configurations
Reconfigure the PAD's configurations to level up the HW
timing compatibility.

MX51:Some MMC cards such as transcend mmc plus cards can't
be recognized and initialized correctly on the second
esdhc slot of the BBG boards that populated the new DDR chips.
MX53:Same Kingstone SDHC card can work well on EVK REVA board, but
failed in initialization on EVK REVB board without
any sw modifications.
After adjust the slot pin's pad configurations,
fix the HW compatible issues listed above.

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:51:37 -05:00
Danny Nold
908d6fcc02 ENGR00124814-2 firmware: add e-ink panel waveform
Added default E-Ink panel waveform.

Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-08-10 11:51:37 -05:00
Danny Nold
ff97ec543b ENGR00124814-1 fb: Add i.MX EPDC fb driver
Added basic EPDC driver, including support for PXP conversions (rotation,
auto-waveform selection, CSC).  Self-clock gating also supported.

Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-08-10 11:51:36 -05:00
Robby Cai
9c91622d90 ENGR00125034 [MX50] Add PxP DMA-Engine and PxP client driver
Use Common DMA-Engine framework to implement ePXP driver
Use a dma client driver to access ePxP staff.

Signed-off-by: Danny Nold <dannynold@freescale.com>
Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:51:35 -05:00
Danny Nold
fcb535c325 ENGR00124812-2: MX50 add Max17135 Display pmic init to MSL
Maxim 17135 PMIC init added to MSL in conjunction with addition
of Maxim 17135 regulator driver and I2C client.

Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-08-10 11:51:35 -05:00
Danny Nold
2ac9e0c059 ENGR00124812-1: Support Maxim E-Ink PMIC
Added new regulator driver to control voltage supplies for
E-Ink panel.

Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-08-10 11:51:34 -05:00
mark gutman
0fbba7a43f ENGR00124942 MX51: YUV422 output for 720P data
Ignore UGDE using for non YUYV output formats

Signed-off-by: Mark Gutman <r58412@freescale.com>
2010-08-10 11:51:33 -05:00
Hu hui
8917d92d1a ENGR00124963 USB: add vbus enable/disable
support imx53 evk board OTG and Host1 vbus active
and inactive to low the power consume, fix fsl_otg.c
build failt, add vbus power control function pointer
in struct fsl_usb2_platform_data.

Signed-off-by: Hu hui <b29976@freescale.com>
2010-08-10 11:51:32 -05:00
Dinh Nguyen
609a873cba ENGR00125007: MX50: Correct PAD settings for over-current detection
The pad settings for the over-current detection pins on MX50 ARM2
CPU board needs to have a pull-up.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
2010-08-10 11:51:32 -05:00
Rob Herring
f743db423b ENGR00124986 mx5: add gpu refcounting and increase command buffer
Add reference counting of driver opens for multi-context support.
Increase command buffer to 64KB.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:51:31 -05:00
Zhou Jingyu
fd0b8982f3 ENGR00125012: fix cspi mater driver clock polarity for cpsi v7
fix cspi mater driver clock polarity for cpsi v7

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:51:31 -05:00
Sammy He
96c83b496b ENGR00124956 Increase vpu iram size to 80K
Increase vpu iram size to 80K on mx51 and mx53 to
use more iram for video decoding and encoding.
It can cover 720P encoder and 1080P decoder except VC-1 AP.

Signed-off-by: Sammy He <r62914@freescale.com>w
2010-08-10 11:51:30 -05:00
Anish Trivedi
5b89964ad4 ENGR00124905 rtc: remove MX51 1.0 work-around
Since some chips don't have IIM, remove work-around

Signed-off-by: Anish Trivedi <anish@freescale.com>
2010-08-10 11:51:30 -05:00
Rob Herring
4eb3881046 ENGR00124849-3 mx5: add mx50 support
Add support for i.MX50 and arm2 board with lpddr/mddr.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:51:29 -05:00
Rob Herring
ee073106c8 ENGR00124849-2: mx5: clean-up serial configuration code
The serial device setup code includes board configuration header,
but is common for all boards. So make the configuration common for
all boards and remove the board headers as nothing else is used.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:51:28 -05:00
Rob Herring
bf505aeb11 ENGR00124849-1 mx5: clean-up some includes of crm_regs.h
CCM is different on various MX5x chips, so limit its include.
SRPG is only initialized on MX51 3DS, but should be done on all
MX5x chips.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:51:28 -05:00
William Lai
7ee939a4e2 ENGR00124740-4 MX25/35 ALSA: Changes due to ESAI as platform device
Make ESAI as a platform device, and pass the audio data to use
the external memory by default.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:51:27 -05:00
William Lai
8a6fb9a964 ENGR00124740-3 MX53 : Multi-channel audio support
CS4288 is built in as default for MX53, but with a command parameter
of apc in the commandline to enable.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:51:26 -05:00
William Lai
092c607bab ENGR00124740-2 ALSA: CS42888 codec driver support
Support CS42888 playback and recording.
ESAI_HCKT is used to drive CS42888 when recording, due to
hardware layout.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:51:26 -05:00
William Lai
777a330e23 ENGR00124740-1 MX53 ALSA: Make ESAI as a platform device
Make ESAI a platform device and pass the register base address
by resource and then use ioremap.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:51:25 -05:00
Alan Tull
01554a40cc ENGR00124955 sgtl5000: fix audio power down pop
Some boards need a longer delay after powering off VAG.

Signed-off-by: Alan Tull <r80115@freescale.com>
2010-08-10 11:51:25 -05:00
Alan Tull
3774400b5f Revert "ENGR00124852 sgtl5000: support nonstandard sample rates"
This reverts commit 33391f8b0a2ccda3a27d95dfe67846d5c60666f7.

Signed-off-by: Alan Tull <r80115@freescale.com>
2010-08-10 11:51:24 -05:00
Peter Chen
260daf5aa4 ENGR00124831 USB-UDC: Delete the useless code
The probe is called only pdev->name is the same with driver_name,
So the statement for name judgement is useless.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
2010-08-10 11:51:23 -05:00
Liu Ying
a1815ec2e8 ENGR00124761 V4L2 still:Support to capture QXGA still image
1) Add OV3640 camera QXGA configuration at 7.5fps support.
2) Use double buffer to workaround tearing issue when capturing
   still image.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-08-10 11:51:23 -05:00
Richard Zhu
80d50bfa3f ENGR00124256 Linux platform integrated AHCI SATA driver
Sata can work well on EVK boards, and pass the unit-tests.

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:51:22 -05:00
Lily Zhang
57391d659a ENGR00124864 MX5: Fix MSL issue
1. correct mx53 sdma script variable
2. CSPI should not use cspi_main_clk
3. remove duplicated M4IF setting codes in clock.c, which
are already in cpu.c

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:51:21 -05:00
Richard Zhu
1dc8f0e201 ENGR00124736 Remerge the minor modifications to mainline
1 correct the pata platform device resource check codes
2 Change the end statment of the sdhc1 det pin
iomux definition on mx51 board from ',' to ';'.
3 sdhc driver max blk count on MX31, sinc
customer report that the emmc would be failed when
the blk count is more than 32.

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:51:21 -05:00
Jason Chen
359587f268 ENGR00124828 v4l2 output: close overlay for ic bypass mode
After streamoff, ic bypass mode should close overlay like others

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:20 -05:00
Jason Chen
757114831f ENGR00124827 ipuv3 fb: long time jitter issue
Call pan display frequently(for example display through ipu lib),
sometime it will jitter.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:20 -05:00
Lily Zhang
3a8994f9c7 ENGR00124795 SPI NOR: uniform include header file
The default partitions are missing in MX53 SPI NOR MTD.
It's because spi nor driver and mx53 msl include different
header files. It causes struct definitions are different.
For i.MX SPI nor driver, need to use asm/mach/flash.h by
aligning with NAND driver.

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:51:19 -05:00
Alan Tull
40df5dcbcc ENGR00124852 sgtl5000: support nonstandard sample rates
Supporting more sample rates that are not listed in pcm.h
(12KHz and 24KHz).

Signed-off-by: Alan Tull <r80115@freescale.com>
2010-08-10 11:51:18 -05:00
Jason Chen
e33df3d953 ENGR00124760 fec: set mac address correctly
Fix dynamicly set mac address make network hang issue.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:51:18 -05:00
Peter Chen
9a8774c3b9 ENGR00124629 mx5x: Add Watchdog config for mfg defconfig
If not, the board will be reset as no one
serices the watchdog.
At USB recovery mode, the watchdog will be
enabled at rom code.

Signed-off-by: Peter Chen <b29397@freescale.com>
2010-08-10 11:51:17 -05:00
Lily Zhang
b3dcff4217 ENGR00124762 MX5: Fix clock div zero issue
Fix clock div zero issue in mx5 clock file

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:51:17 -05:00
Sammy He
3e0c7cb2ff ENGR00124683-3 Add ADV7180 TV decoder support on mx53
Add ADV7180 TV decoder support on mx53. OV3640 module must be
removed before ADV7180 TVIN test.

Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:51:16 -05:00
Sammy He
163b5ed0ea ENGR00124683-2 Change adv7180_pwdn callback function on mx35
Change adv7180_pwdn callback function on mx35 due to pwdn parameter
defintion update.

Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:51:15 -05:00