Commit Graph

158572 Commits

Author SHA1 Message Date
Anish Trivedi
7bf98ffa3a ENGR00122290-1 MX5x Enable SCC2 and SAHARA drivers
Machine layer changes for MX51 and MX53 for SCC driver in order
to pass base address for registers and ram as resources

Signed-off-by: Anish Trivedi <anish@freescale.com>
2010-08-10 11:49:02 -05:00
Alan Tull
bbbe3eb09e ENGR00117344 fix mono record during stereo playback
Starting a mono record stream and doing stereo playback resulted in
wrong sample rate.  Also starting stereo playback then doing mono
record.

Signed-off-by: Alan Tull <r80115@freescale.com>
2010-08-10 11:49:01 -05:00
Nancy Chen
71f73495fd ENGR00122370 MX28 EMI: Fix build break
Fix build break

Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-08-10 11:49:01 -05:00
Xinyu Chen
3a788e8232 ENGR00121291 System can not suspend after RTC alarm wakeup
The set irq type routing of GPIO irqchip did not set the correct handler
when user want to set it's trigger mode to level.
The PMIC irq request as level trigger, but actually, handle_edge_irq is set.
PMIC irq handler disables the irq, and re-enable it after all event
callbacks complete in thread.
Therefore edge irq handle can not handle this pending irq case correctly,
left the IRQ_PENDING flag always on.
This made the kernel refuse to enter suspend mode.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-08-10 11:49:00 -05:00
Alan Tull
7296ab84b5 ENGR00122274 mx23: spdif playback
Support S/PDIF playback on the mx23evk.

Signed-off-by: Alan Tull <r80115@freescale.com>
2010-08-10 11:49:00 -05:00
Frank Li
3827461e7c ENGR00122309 iMX23 fix usb function break by 100mA patch
Miss "break" at set configuration

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:48:59 -05:00
Frank Li
82689bbd16 ENGR00122281 Fix MX23 build fail when disable usb
Fix build fail when not chosen usb at config

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:48:59 -05:00
Frank Li
ba56973bd1 ENGR00122127 iMX28 trun off usb0 vbus power defaultly.
Turn on usb0 vbus only usb host module inserted

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:48:58 -05:00
Yan Wang
98ba015a2d ENGR00122030 Mfg Firmware support for imx25
add mfg firmware support for imx25 kernel build

Signed-off-by:Yan Wang<r65094@freescale.com>
2010-08-10 11:48:57 -05:00
Alan Tull
ee7cca6f7c ENGR00122231 mxs: support read in mxs_pcm_copy to fix record
Record was broken by the patch that fixed 24 bit S/PDIF.

Signed-off-by: Alan Tull <r80115@freescale.com>
2010-08-10 11:48:57 -05:00
Nancy Chen
c60981ff8b ENGR00121904 MX23: Add set_rate implementation for some clocks
Add set_rate implementation for some clocks.

Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-08-10 11:48:56 -05:00
Richard Zhu
7b5154189a ENGR00122018 [MX53] SDIO wifi use result in error msg flooding
Disable the ACMD12 error status INT when SDIO wifi
used the multi-blk transfer mode

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:48:56 -05:00
Zhou Jingyu
7ca2494030 ENGR00122126 mxs battery driver: change detection method
change detection method &set some print info to debug level

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:48:55 -05:00
Nancy Chen
d1132ae7bb ENGR00122194 MX23: Fix system hang when EMI freq is changed
Fix system hang when EMI frequency is changed.

Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-08-10 11:48:55 -05:00
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