Commit Graph

158558 Commits

Author SHA1 Message Date
Lionel Xu
edd686fc2f ENGR00122136 MX28 ALSA: Fail to playback wavfiles with sample rate over 48 khz
To resolve the problem of playing back wavfile with sample rate over 48khz.

Signed-off-by: Lionel Xu <r63889@freescale.com>
(cherry picked from commit f1af83a27357d7da1a89d79f8ed2d74fbfb7dc34)
2010-08-10 11:48:54 -05:00
Frank Li
0c13648cb8 ENGR00122124 iMX23 enable USB otg pin detect
iMX23 evk RevC using gpio as usb id.
usb_id pin is conflict with mmcsd detection pin

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:48:53 -05:00
Zhou Jingyu
c6dd7e027a ENGR00122161 Add imx23 low power mode
Add imx23 low power mode

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:48:53 -05:00
William Lai
26492884b4 ENGR00122206 MX53-EVK pwm-backlight: PWM backlight enhancement
Don't trun off the pwm backlight when blanking the fore-ground.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:48:52 -05:00
Frank Li
1f1c8202e8 ENGR00121497-2 MX28 USB 100mA current draw
Add USB 100mA limitation feature for mx28 to mach usb 2.0 current requirment

Signed-off-by: Frank Li <Frank.li@freescale.com>
2010-08-10 11:48:51 -05:00
Frank Li
b3d784c5db ENGR00121497-1 MX28 USB 100mA current draw
Add USB 100mA limitation feature for mx28 to mach usb 2.0 current requirment

Signed-off-by: Frank Li <Frank.li@freescale.com>
2010-08-10 11:48:51 -05:00
Wallace Wang
74ef6dc3f9 ENGR00122084 MX35 kernel mfg firmware support
Add the configure file to support mx35 mfg

Signed-off-by: Wallace Wang <r59996@freescale.com>
2010-08-10 11:48:50 -05:00
Xinyu Chen
45a8afd776 ENGR00122137 MX53 Add UART support for EVK APC
Add UART2/3 support for EVK Automotive Port Card.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-08-10 11:48:50 -05:00
Nancy Chen
da165187de ENGR00121903 MX23: Add EMI frequncy scaling
Add EMI frequncy scaling.

Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-08-10 11:48:49 -05:00
Xinyu Chen
a251407e38 ENGR00122074 MX51: refine BBG accessory board keypad mapping
The BBG accessory board only has 4x4, 16 keys.
And the current keypad mapping in BSP is copy from 3stack,
which is not good for UI to use. Correct it more sensible.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-08-10 11:48:48 -05:00
Patrick Turley
95510f65cd ENGR00122062 Interim i.MX28 NAND Flash driver change to support booting
Changed the driver to detect ECC-based writes to the boot area and write a
byte to the OOB that matches the ROM behavior.

Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
2010-08-10 11:48:48 -05:00
Robby Cai
1798310855 ENGR00121974 [MXS] Set the limit for PxP down scaling factor
For MX23, the maximum down scaling factor is 1/2.
For MX28, it's 1/4.

If the scaling factor is below the factor, PxP may not function as expected.

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:47 -05:00
Zhou Jingyu
0d1720e255 ENGR00122040 mxs battery driver: fix lradc conflict
use configurable lraadc channel for tempreture
increase conditioning current
fix build warnings

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:48:47 -05:00
Patrick Turley
1331736c27 ENGR00122007 Kernel panic caused by i.MX28 GPMI NAND Flash driver
Fixed the driver to properly initialize a variable.

Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
2010-08-10 11:48:46 -05:00
Lily Zhang
9b184807b0 ENGR00121963-3 MX53: Remove standby voltage setting
Remove standby voltage settings which was copied from MX51.
Correct print information.

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:48:45 -05:00
Lily Zhang
024325b27a ENGR00121963-2 SDHC: support "no card detection signal" case
SDHC3 slot in ARM2 CPU board doesn't have card detection signal.
For this case, set card state as "PRESENT" always. Please ensure
the card is inserted in ARM2 SDHC3 slot if using it.

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:48:45 -05:00
Lily Zhang
30b28b6e40 ENGR00121963-1 MX53: Add ARM2 CPU board support
1. Add basic support for MX53 ARM2 CPU board.
2. Bit 11-8 in system_rev is used to indicate board version. If
Bit 11-8 is 1, it's ARM2 CPU board. Otherwise, it's EVK board. To
run kernel image on ARM2 CPU board, the user can add command option
"system_rev=0x53110" in launch command line.

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:48:44 -05:00
Shen Yong
bffe867f7a ENGR00121879 MX53 fix i2c error when system is going down
there is no battery on mx53 evk, which cause this issue.
remove PMIC battery driver can fix this

Signed-off-by: Shen Yong <b00984@freescale.com>
2010-08-10 11:48:44 -05:00
Xinyu Chen
f4a735b4bc ENGR00121913 Add sched_clock support to i.mx platform
Add sched_clock() implement for i.mx platform to support nanosecond
resolution time for sched clock used by scheduler.
This case is found by running Android's CTS case: android.os.cts.DebugTest,
which tests the clock_gettime with CLOCK_THREAD_CPUTIME_ID clock,
and needs nanosecond resolution sched clock.
It returns 0 before timer initialize, return GPT counter after that.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-08-10 11:48:43 -05:00
Alan Tull
2875d0d86f ENGR00122025 mx28: support 24, 32 bit spdif
The data in memory is 24 bit little endian in a 32 bit word.
We need to shift the data in memory out one byte to get the proper
alignment.

Signed-off-by: Alan Tull <r80115@freescale.com>
2010-08-10 11:48:43 -05:00
Ranjani Vaidyanathan-RA5478
63825d8dd9 ENGR00122021: MX51: Unable to connect using JTAG
Fix the clock code so that ARM_DEBUG clocks are ON when jtag=on is passed in
the command line.

Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
2010-08-10 11:48:42 -05:00
Jeremy.Yao
f66f730957 ENGR00121977: iMX28 Fix Keypad Driver
Stop using btn irq

Signed-off-by: Jeremy Yao <r65161@freescale.com>
2010-08-10 11:48:41 -05:00
Jason Chen
b25661ddaa ENGR00121922 ipuv3: move ipu reset function to MSL
move ipu reset function to MSL.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-08-10 11:48:41 -05:00
Ranjani Vaidyanathan-RA5478
677a0c7d0e ENGR00121951: MX51: Fix system crash when DVFS-PER is enabled
Enabling DVFS-PER during video playback caused system to crash.
Also fixed warnings associated with dvfs_core resources.

Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
2010-08-10 11:48:40 -05:00
Lionel Xu
024336a3b4 ENGR00117751 MX28 ALSA: Support audio record through saif
Support audio record through saif, support playback/record simultaneously

Signed-off-by: Lionel Xu <r63889@freescale.com>
(cherry picked from commit 18627873f6332e03ebd03691f51937559bbdf03d)
2010-08-10 11:48:40 -05:00
Frank Li
c85831719f ENGR00121885 Fix power source switch issue on Mx23 and Mx28
Add protection when set ENABLE_DCDC bit.

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:48:39 -05:00
Richard Zhao
505127432e ENGR00121869 net: register_netdevice call netdev_register_kobject at end
fix connman can not detect wlan device dynamically.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
2010-08-10 11:48:38 -05:00
Lily Zhang
8565de0f69 ENGR00121204 MX51 EVK: Fix SPDIF hang issue
This change is used to pass SPDIF clock information to
the driver so that the driver can enable clock

Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:48:38 -05:00
Robby Cai
b689209414 ENGR00121886 Port VIIM driver to new MSL
Port VIIM driver to new MSL

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:37 -05:00
Sam Yang
7a16a02865 ENGR00121876 enable mtd block device and jffs2 support in mx28 kernel config
enable mtd block device and jffs2 support in mx28 kernel config

Signed-off-by: Sam Yang <r52096@freescale.com>
2010-08-10 11:48:37 -05:00
Jeremy.Yao
c6ece916d6 ENGR00121831:iMX23 ALSA Fix Audio Driver Quality
To fix 'pop' sound for playback and noise for mic record

Signed-off-by: Jeremy Yao <r65161@freescale.com>
2010-08-10 11:48:36 -05:00
Frank Li
15f22b63ec ENGR00121873 MX28 enable usb otg
USB ID pin have not config.
module arcotg_udc.ko should insert after echi_hcd.ko

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:48:36 -05:00
Frank Li
287df862fb ENGR00121867 Fix mx23 crash when insert usb host module
Fix mx23 crash when insert usb host module
Add ethernet support to support usb gadget rndis

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:48:35 -05:00
Sam Yang
2ddd8ba1d0 ENGR00121861 Remove mx28 keywork in description of CRYPTO_DEV_CP driver
it's reused by other platforms.

Signed-off-by: Sam Yang <r52096@freescale.com>
2010-08-10 11:48:34 -05:00
Frank Li
142a8e686b ENGR00121823 MX28 add usb gadget serial as module
Add usb gadget serial

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:48:34 -05:00
Lily Zhang
7d80a90f87 ENGR00121658 MX53 Disable ARM SRPG
Currently the system crashes if ARM SRPG is enabled when ARM executes WFI.
Disable it for MX53 until a fix is identified.

Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
Signed-off-by: Lily Zhang <r58066@freescale.com>
2010-08-10 11:48:33 -05:00
Anish Trivedi
ea93ddcd13 ENGR00121798 MX53 RTC: Disable coin cell charging by pmic
Cleared COINCHEN bit in Power Control 0 register of MC13892.
Fixed spelling of #defines.

Signed-off-by: Anish Trivedi <anish@freescale.com>
2010-08-10 11:48:33 -05:00
Dinh Nguyen
0ff87eac93 ENGR00121797 Fix IPU register access for ipuv3m
Fix IPU register access for IPU v2 and v3.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:48:32 -05:00
Dinh Nguyen
1da5182763 ENGR00121654 MX53 Add eSDHC support
1. Add MX53 eSDHC support.
2. Enable the ACMD12 on all eSDHC platforms. If using CMD12 on MX53 now,
the failure to wait for interrupt was observed.

Signed-off-by: Lily Zhang <r58066@freescale.com>
Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:48:31 -05:00
Rob Herring
f9bbbac0e1 ENGR00121762-2: arm: always get phys_offset from stack pointer for MX5
Allow r3 to be unset on MX5x platforms for runtime physoffset

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:48:31 -05:00
Rob Herring
4276aeae2c ENGR00121762-1 mx5: enable run-time physoffset
This enables a single kernel image on MX5x parts using run-time
phys_offset.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:48:30 -05:00
William Lai
b106c85f18 ENGR00121677-2 MX53 PWM: Enabled by default in the config
Backlight based on PWM support on MX53 EVK enabled by default.

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:48:30 -05:00
William Lai
8a7ed48502 ENGR00121677-1 MX53 PWM: PWM backlight support
Backlight based on PWM support on MX53 EVK

Signed-off-by: William Lai <b04597@freescale.com>
2010-08-10 11:48:29 -05:00
Patrick Turley
959817f7e3 ENGR00121689 i.MX28 GPMI driver doesn't compile correctly under some conditions
Changed the driver to ignore CONFIG_MTD_CONCAT, and work correctly with
CONFIG_MTD_PARTITIONS. Also turned on the GPMI driver and UBIFS in the
default config.

Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
2010-08-10 11:48:29 -05:00
Xinyu Chen
e148a45ce4 ENGR00121653 MX53 Add FEC support
Add FEC support for MX53 EVK

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-08-10 11:48:28 -05:00
Uwe Kleine-König
bce56e48c2 Allow PHYS_OFFSET to be runtime determined
This bases on work done earlier by Lennert Buytenhek and Mark A. Greer.
Compared to their approach zreladdr isn't guessed based on the pc
register but the bootloader is expected to pass PHYS_OFFSET in r3.  If
that value doesn't look right (e.g. isn't aligned) it is guessed based
on the value of sp.  This should work for CONFIG_ZBOOT_ROM, too.

To use it for your machine removing the definition of PHYS_OFFSET from
<mach/memory.h> and selecting CONFIG_RUNTIME_PHYS_OFFSET should be
enough.

Cc: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: Steve Chen <schen@mvista.com>
Cc: Mark A. Greer <mgreer@mvista.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
2010-08-10 11:48:27 -05:00
Rob Herring
f9f020b506 ENGR00121761: imx change cpu_is_X_rev from inline to macros.
This avoids linker error in decompress code for multi arch builds.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:48:27 -05:00
Dinh Nguyen
40ec7ade9e ENGR00121651 MX53: Add support for USB
Move USB initialization to be board specific functions and add USB
support for MX53. Renamed USB phy clocks to usb_phy1_clk and
usb_phy2_clk to distinguish between different PHY clocks for USB.

Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Signed-off-by: Jun Li <r65092@freescale.com>
2010-08-10 11:48:26 -05:00
Dinh Nguyen
7e8a9d6101 ENGR00121656 MX53: Add support for VPU
Add support for VPU on MX53 EVK board.

Signed-off-by: Rob Herring <r.herring@freescale.com>
Signed-off-by: Sammy He <r62914@freescale.com>
2010-08-10 11:48:25 -05:00
Dinh Nguyen
b4cc2522b9 ENGR00121109 MX53: Add MSL layer
Added MSL layer for MX53 with changes in MX51 for single kernel boot
support.
Added CCGR clocking changes.
Fixed SDHC clock dependencies.
Fix emi_intr clocks and fix warnings in clock code.

Signed-off-by: Rob Herring <r.herring@freescale.com>
Signed-off-by: Lily Zhang <r58066@freescale.com>
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
2010-08-10 11:48:25 -05:00