Commit Graph

158540 Commits

Author SHA1 Message Date
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
Anish Trivedi
d21aba7472 ENGR00121694 SRTC: Running unit test script results in a hang
Replaced disable_irq() call with disable_irq_no_sync()

Signed-off-by: Anish Trivedi <anish@freescale.com>
2010-08-10 11:48:24 -05:00
Rob Herring
7c7a815511 ENGR00121700: ipu: add support for ipuv3M memory mapping
The memory map on IPUv3M is compressed into a smaller region, so
support this as revision 3 of the h/w.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:48:24 -05:00
Zhou Jingyu
06eb1f7ded ENGR00121722 mxs battery driver, add defconfig
mxs battery driver, add defconfig

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:48:23 -05:00
Robby Cai
4b60ff6d32 ENGR00119644-2 [MXS] Change name to eliminate the confusion
change rgbbuf to outbuf, etc. to eliminate confusion for MX28

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:22 -05:00
Robby Cai
36679e0b0f ENGR00119644-1 [MXS] PXP/v4l: 90/270 degree rotation output is not correct.
correct the setting of HW_PXP_OLnSIZE and HW_PXP_RGBSIZE(or HW_PXP_OUTSIZE)

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:22 -05:00
Nancy Chen
a31ad3d2a7 ENGR00117758 MX28: Add cpufreq support
Add cpufreq support

Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-08-10 11:48:21 -05:00
Richard Zhu
b22eaff9b2 ENGR00121661 [MX28] Fix the CD isn't functional issue on SSP ports
There are IOMUX conflictions between SSP1 and GPMI device,
when the GPMI is enabled, and the SSP1 device is not
enabled properly. The Card Detect func would be failed.
Solution: Just register the functional device into system
can solve this problem

Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-08-10 11:48:21 -05:00
Jeremy.Yao
328fb4f9a3 ENGR00121604: iMX23 Support Audio
Add Support for ADC/DAC Audio

Signed-off-by: Jeremy Yao <r65161@freescale.com>
(cherry picked from commit 172fc1bb738b2c83979ced6e918635d055529b43)
2010-08-10 11:48:20 -05:00
Sam Yang
8bab169f6d ENGR00121615 Remove duplicate definition of fec_platform_data in header file
new definition ready in include/linux/fec.h.
remove old mxc definition from  arch/arm/plat-mxc/include/mach/mxc.h

Signed-off-by: Sam Yang <r52096@freescale.com>
2010-08-10 11:48:19 -05:00
Frank Li
5f6f685d6a ENGR00121581 MX23 and iMX28 add iram alloc support
Add iram allocate support

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:48:19 -05:00
Frank Li
8dc89c66f8 ENGR00121313-1 MX23 Enable USB host base new MSL
Enable MX23 usb host at new msl, use gpio to control vbus on/off

Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-08-10 11:48:18 -05:00
Robby Cai
842d13fff3 ENGR00121574-4 rename filename for pxp to mxs_pxp
Copied back the pxp.[ch] from branch 2.6.31

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:18 -05:00
Robby Cai
43d4ddc983 ENGR00121574-3 rename filename for pxp to mxs_pxp
update default config

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:17 -05:00
Robby Cai
14ed59c3b1 ENGR00121574-2 rename filename for pxp to mxs_pxp
pxp.[ch] to mxs_pxp.[ch]

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:16 -05:00
Robby Cai
237d6bee1e ENGR00121574-1 rename filename for pxp to mxs_pxp
rename filename to avoid polluting original stmp codes
this patch contains MSL-related code changes

Signed-off-by: Robby Cai <R63905@freescale.com>
2010-08-10 11:48:16 -05:00
Zhou Jingyu
cc638881c6 ENGR00121496: mx23 battery driver restructure
mx23 battery driver restructure

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2010-08-10 11:48:15 -05:00
Nancy Chen
df815ca416 ENGR00121571 MX28 CLOCK: Fix build break
Fix build break

Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-08-10 11:48:15 -05:00
Nancy Chen
f1d0bfc46e ENGR00121553 MX28: Fix some clock rates not setting correctly
Fix some clock rates not setting correctly.

Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-08-10 11:48:14 -05:00