linux.git
11 years agoInitial changes to support mcc and i2c semaphore for ping pong demo PD13.0.2
Russell Robinson Jr [Thu, 21 Feb 2013 23:14:59 +0000 (15:14 -0800)]
Initial changes to support mcc and i2c semaphore for ping pong demo

Signed-off-by: Russell Robinson Jr <rrobinson@phytec.com>
11 years agopcm052: audio: audio playback and record support added
Russell Robinson Jr [Thu, 14 Mar 2013 20:25:05 +0000 (13:25 -0700)]
pcm052: audio: audio playback and record support added

Signed-off-by: Russell Robinson Jr <rrobinson@phytec.com>
11 years agopcm052: usb: enable both USB0 and USB1 as ehci-host
Russell Robinson Jr [Mon, 11 Feb 2013 21:34:12 +0000 (13:34 -0800)]
pcm052: usb: enable both USB0 and USB1 as ehci-host

note: there are still intermittent detection errors with USB0

Signed-off-by: Russell Robinson Jr <rrobinson@phytec.com>
11 years agomvf: usb: create modular defines for ehci and some hardware address changes.
Russell Robinson Jr [Mon, 11 Feb 2013 23:33:19 +0000 (15:33 -0800)]
mvf: usb: create modular defines for ehci and some hardware address changes.

ehci changes are currently only used with phyCORE-Vybrid (pcm052)

Signed-off-by: Russell Robinson Jr <rrobinson@phytec.com>
11 years agopcm052: usb: fix VBUS enable mux settings and assert GPIO to enable VBUS
Russell Robinson Jr [Mon, 4 Feb 2013 22:12:45 +0000 (14:12 -0800)]
pcm052: usb: fix VBUS enable mux settings and assert GPIO to enable VBUS

Signed-off-by: Russell Robinson Jr <rrobinson@phytec.com>
11 years agopcm052: sdhc: fix drive strength and use only hardware pull-ups
Russell Robinson Jr [Wed, 23 Jan 2013 18:37:10 +0000 (10:37 -0800)]
pcm052: sdhc: fix drive strength and use only hardware pull-ups

Signed-off-by: Russell Robinson Jr <rrobinson@phytec.com>
11 years agopcm052: enable EEPROM driver in config, fix TSC IRQs
Russell Robinson Jr [Mon, 17 Dec 2012 19:38:33 +0000 (11:38 -0800)]
pcm052: enable EEPROM driver in config, fix TSC IRQs

Signed-off-by: Russell Robinson Jr <rrobinson@phytec.com>
11 years agoInitial phyCORE-Vybrid changes
Russell Robinson Jr [Tue, 27 Nov 2012 18:52:37 +0000 (10:52 -0800)]
Initial phyCORE-Vybrid changes

Signed-off-by: Russell Robinson Jr <rrobinson@phytec.com>
11 years agofsl_nfc: Add default partitioning
Justin Waters [Wed, 19 Sep 2012 18:11:53 +0000 (14:11 -0400)]
fsl_nfc: Add default partitioning

Allows the NAND to properly probe if cmdline partitioning
is not specified. Otherwise, it will fail silently.

11 years agoDefault configuration update for CAAM driver
Jason Jin [Tue, 11 Dec 2012 10:43:15 +0000 (18:43 +0800)]
Default configuration update for CAAM driver

manually integrate from the CAAM part by Jason

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoVybrid CAAM driver
Jason Jin [Tue, 11 Dec 2012 10:25:40 +0000 (18:25 +0800)]
Vybrid CAAM driver

From Singh Pradip-B09147. Integrate by Jason Jin

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agomvf: update default kernel config for Faraday
Alison Wang [Tue, 11 Dec 2012 08:34:25 +0000 (16:34 +0800)]
mvf: update default kernel config for Faraday

Signed-off-by: Alison Wang <b18965@freescale.com>
11 years agoENGR00181365-2: ADC: Add driver support for ADC Vybrid
Wang Xiaojun [Mon, 10 Dec 2012 10:05:18 +0000 (18:05 +0800)]
ENGR00181365-2: ADC: Add driver support for ADC Vybrid

Add driver support for ADC Vybrid.

Signed-off-by: Wang Xiaojun <b41435@freescale.com>
11 years agoENGR00181365-1: ADC: Add platform support for ADC driver
Wang Xiaojun [Mon, 10 Dec 2012 10:35:41 +0000 (18:35 +0800)]
ENGR00181365-1: ADC: Add platform support for ADC driver

Add platform support for ADC driver.

Signed-off-by: Wang Xiaojun <b41435@freescale.com>
11 years agoENGR00216081-2:Errata workaround for usb suspend and resume
Jingchang Lu [Mon, 10 Dec 2012 05:55:03 +0000 (13:55 +0800)]
ENGR00216081-2:Errata workaround for usb suspend and resume

Toggle PHYPWD.PWD after set PORTSC.SUSP with 8ms to trigger
the LS_SE0/LS_EOP append flag after resume within UTM block.

Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoENGR00216081-1:Add USB host and gadget PM support
Jingchang Lu [Fri, 7 Dec 2012 09:28:16 +0000 (17:28 +0800)]
ENGR00216081-1:Add USB host and gadget PM support

Handle usb suspend/resume, currently the BSP doesn't
support usb plug/unplug wakeup.

Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoENGR00216087-2:Add Vybrid ASRC platform device
Jingchang Lu [Mon, 10 Dec 2012 05:09:42 +0000 (13:09 +0800)]
ENGR00216087-2:Add Vybrid ASRC platform device

Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoENGR00216087-1: ASRC support for Vybrid
Jingchang Lu [Wed, 5 Dec 2012 05:19:53 +0000 (13:19 +0800)]
ENGR00216087-1: ASRC support for Vybrid

The ASRC driver supports stereo audio streams resample,
the ASRCK1 serial clock using audio external clock source
can not support 44.1K sample rate due to divider and
prescaler restriction.

Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoENGR00216076-3: DSPI: Update DSPI driver for PM
Alison Wang [Tue, 11 Dec 2012 07:38:00 +0000 (15:38 +0800)]
ENGR00216076-3: DSPI: Update DSPI driver for PM

Update power management part for DSPI driver.

Signed-off-by: Alison Wang <b18965@freescale.com>
11 years agoENGR00216076-2: DCU: Update DCU driver for PM and blending issue
Alison Wang [Tue, 11 Dec 2012 07:36:08 +0000 (15:36 +0800)]
ENGR00216076-2: DCU: Update DCU driver for PM and blending issue

Fix layers blending and reinitialization issue for DCU driver.
Update power management part for DCU driver.

Signed-off-by: Alison Wang <b18965@freescale.com>
11 years agoENGR00216076-1: PM: Add Power Management driver for Vybrid
Alison Wang [Tue, 11 Dec 2012 07:32:19 +0000 (15:32 +0800)]
ENGR00216076-1: PM: Add Power Management driver for Vybrid

System could run into STOP and LPRun modes. When system was working in STOP mode,
pressing SW1 button or inserting or removing SD card could wake up it.

Signed-off-by: Alison Wang <b18965@freescale.com>
11 years agoENGR00216078-2: switch: add L2 switch driver for Vybrid 3.0-mvf-201210121659
Jason Jin [Fri, 12 Oct 2012 08:59:47 +0000 (16:59 +0800)]
ENGR00216078-2: switch: add L2 switch driver for Vybrid

Port the L2 switch driver from CF platform for Vybridi plaform.

This driver usually should work together with the RSTP demo
applications provided by fsl.

Signed-off-by: Alison Wang <b18965@freescale.com>
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00216078-1: switch: add platform support for L2 switch
Jason Jin [Fri, 12 Oct 2012 06:31:57 +0000 (14:31 +0800)]
ENGR00216078-1: switch: add platform support for L2 switch

Add platform support for Vybrid L2 switch driver.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00181358-3: fec: add second FEC support for Vybrid
Alison Wang [Tue, 9 Oct 2012 04:36:45 +0000 (12:36 +0800)]
ENGR00181358-3: fec: add second FEC support for Vybrid

Add second FEC support for Vybrid.

Signed-off-by: Alison Wang <b18965@freescale.com>
11 years agoENGR00212250-2: watchdog: Add watchdog driver support for Vybrid
Alison Wang [Mon, 8 Oct 2012 05:41:20 +0000 (13:41 +0800)]
ENGR00212250-2: watchdog: Add watchdog driver support for Vybrid

Add watchdog driver support for Vybrid.

Signed-off-by: Wang Xiaojun <b41435@freescale.com>
11 years agoENGR00212250-1: watchdog: Add platform support for watchdog driver
Alison Wang [Mon, 8 Oct 2012 05:45:50 +0000 (13:45 +0800)]
ENGR00212250-1: watchdog: Add platform support for watchdog driver

Add platform support for watchdog driver.

Signed-off-by: Wang Xiaojun <b41435@freescale.com>
11 years agoENGR00181395-1: Add UART MISC functions support for Faraday
Jingchang Lu [Wed, 12 Sep 2012 05:56:45 +0000 (13:56 +0800)]
ENGR00181395-1: Add UART MISC functions support for Faraday

Add hardware flow control support,
Add transmit DMA support,
Add FIFO operation support,
Add MSB/LSB on data support,
Add 9-bits MARK/SPACE support.

Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoENGR00181390-2: qspi: Add Quad SPI driver support for Vybrid
Alison Wang [Fri, 28 Sep 2012 05:21:42 +0000 (13:21 +0800)]
ENGR00181390-2: qspi: Add Quad SPI driver support for Vybrid

Add Quad SPI driver support for Vybrid.

Signed-off-by: Alison Wang <b18965@freescale.com>
               Xiaochun Li <b41219@freescale.com>

11 years agoENGR00181390-1: qspi: Add platform support for Quad SPI driver
Alison Wang [Fri, 28 Sep 2012 05:19:09 +0000 (13:19 +0800)]
ENGR00181390-1: qspi: Add platform support for Quad SPI driver

Add platform support for Quad SPI driver.

Signed-off-by: Alison Wang <b18965@freescale.com>
               Xiaochun Li <b41219@freescale.com>

11 years agoENGR00181407-3: Add Compaq touch screen interface for nano-x
Alison Wang [Mon, 8 Oct 2012 06:19:40 +0000 (14:19 +0800)]
ENGR00181407-3: Add Compaq touch screen interface for nano-x

Add Compaq touch screen interface for nano-x.

Nano-x work with touch screen driver via Compaq touch
screen event format, this patch could add the support
above mouse device.

Signed-off-by: Alison Wang <b18965@freescale.com>
11 years agoENGR00181407-2: ts: add touch screen driver support for Vybird
Alison Wang [Thu, 11 Oct 2012 00:29:04 +0000 (08:29 +0800)]
ENGR00181407-2: ts: add touch screen driver support for Vybird

Add touch screen driver support for Vybird.

Signed-off-by: Alison Wang <b18965@freescale.com>
11 years agoENGR00181407-1: ts: add platform support for touch screen driver
Alison Wang [Wed, 12 Sep 2012 07:17:45 +0000 (15:17 +0800)]
ENGR00181407-1: ts: add platform support for touch screen driver

Add platform support for touch screen driver.

Signed-off-by: Alison Wang <b18965@freescale.com>
11 years agoENGR00180953-2: dspi: update dspi driver support for Vybrid
Alison Wang [Wed, 12 Sep 2012 07:13:01 +0000 (15:13 +0800)]
ENGR00180953-2: dspi: update dspi driver support for Vybrid

Update dspi driver support for Vybrid after debugging on board.

Signed-off-by: Jason Jin <jason.jin@freescale.com>
               Alison Wang <b18965@freescale.com>

11 years agoENGR00180953-1: dspi: update platform support for dspi driver
Alison Wang [Wed, 12 Sep 2012 07:10:48 +0000 (15:10 +0800)]
ENGR00180953-1: dspi: update platform support for dspi driver

Update platform support for dspi driver after debugging on board.

Signed-off-by: Jason Jin <jason.jin@freescale.com>
               Alison Wang <b18965@freescale.com>

11 years agoENGR00180956-3: Add PWM LED device support on MVF600
Jingchang Lu [Wed, 12 Sep 2012 05:50:15 +0000 (13:50 +0800)]
ENGR00180956-3: Add PWM LED device support on MVF600

  Four LEDS are connected to FTM0 ch0~3 on TWR-MVF600 board,
the PWM signal can use control these LEDS on/off or demo.

Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoENGR00180956-2: Add FlexTimer PWM support on Faraday
Alison Wang [Wed, 10 Oct 2012 01:31:08 +0000 (09:31 +0800)]
ENGR00180956-2: Add FlexTimer PWM support on Faraday

The FlexTimer work on PWM mode with EPWM and CPWM supported.
The API configures each FTM channels the same due to pwm subsystem
interface restriction.

Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoENGR00180956-1: Add FlexTimer PWM device clock for Faraday
Jingchang Lu [Wed, 12 Sep 2012 05:30:52 +0000 (13:30 +0800)]
ENGR00180956-1: Add FlexTimer PWM device clock for Faraday

Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoENGR00220352: Fix reboot hung after set uart baudrate 3.0-mvf-201208141602
Jingchang Lu [Tue, 14 Aug 2012 08:02:02 +0000 (16:02 +0800)]
ENGR00220352: Fix reboot hung after set uart baudrate

Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoEnable the FEC as modules
Jason Jin [Mon, 13 Aug 2012 09:44:24 +0000 (17:44 +0800)]
Enable the FEC as modules

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00212262-3: Faraday:Enable the ADMA2 function for SDHC
Jason Jin [Fri, 10 Aug 2012 10:23:10 +0000 (18:23 +0800)]
ENGR00212262-3: Faraday:Enable the ADMA2 function for SDHC

This patch enable the ADMA2 function for the SDHC module used
on Faraday board. Please note that the ADMA address should be 16
bytes aligned other than 4 byte in the spec.

This patch also increased the SDHC module frequency to 200MHz.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00219771: Fix high-speed usb hub connection detection failure for Faraday
Jingchang Lu [Wed, 8 Aug 2012 08:37:18 +0000 (16:37 +0800)]
ENGR00219771: Fix high-speed usb hub connection detection failure for Faraday

  Only disable the high-speed device disconnection detction for
level-1 device, or the connection detecting would fail.

Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoENGR00219354: Fix USB host driver compiled as module fail problem
Jingchang Lu [Wed, 8 Aug 2012 01:55:46 +0000 (09:55 +0800)]
ENGR00219354: Fix USB host driver compiled as module fail problem

Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoENGR00219461:Fix high resolution timer support Faraday
Jingchang Lu [Tue, 7 Aug 2012 07:14:15 +0000 (15:14 +0800)]
ENGR00219461:Fix high resolution timer support Faraday

Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoENGR00219787:Fix UART baud rate and console setting for MVF platform
Jingchang Lu [Wed, 1 Aug 2012 05:07:31 +0000 (13:07 +0800)]
ENGR00219787:Fix UART baud rate and console setting for MVF platform

Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoENGR219758:There is CRC error when JFFS2 used as filesystem
Jason Jin [Fri, 10 Aug 2012 03:35:10 +0000 (11:35 +0800)]
ENGR219758:There is CRC error when JFFS2 used as filesystem

Enable the softecc in the config to make the NFC use softecc.
also include the defconfig update for:
ENGR220009:The LCD panel goes blank after a long time

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00220009: dcu: Add the option to enable or disable blanking support
Alison Wang [Fri, 10 Aug 2012 02:49:07 +0000 (10:49 +0800)]
ENGR00220009: dcu: Add the option to enable or disable blanking support

If framebuffer console support is enabled, blanking the screen will
occur after a long time. To avoid it, the option for disabling blanking
is added.

Signed-off-by: Alison Wang <b18965@freescale.com>
11 years agoENGR00219495: dcu: Fix module reinsert error for DCU driver
Alison Wang [Fri, 10 Aug 2012 01:37:21 +0000 (09:37 +0800)]
ENGR00219495: dcu: Fix module reinsert error for DCU driver

Signed-off-by: Alison Wang <b18965@freescale.com>
11 years agoENGR00219342: edma: Updated edma driver and edma test driver
Xiaochun Li [Tue, 7 Aug 2012 10:11:02 +0000 (18:11 +0800)]
ENGR00219342: edma: Updated edma driver and edma test driver

This patch is to update Edma driver after debugging on board.
mainly, fixed the bug that resulting the request source of DMA1 overflow

Signed-off-by: Xiaochun Li <b41219@freescale.com>
11 years agoENGR219460:There is call trace when the SD card removed and then pluged-into
Jason Jin [Tue, 7 Aug 2012 10:13:17 +0000 (18:13 +0800)]
ENGR219460:There is call trace when the SD card removed and then pluged-into

The call trace introduced by the card interrupt. This patch try to fix
this by disabling the card interrupt.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00219629 Farday:There is call trace for FEC pll clock sometimes.
Jason Jin [Tue, 7 Aug 2012 07:25:47 +0000 (15:25 +0800)]
ENGR00219629 Farday:There is call trace for FEC pll clock sometimes.

This patch increase the delay time for the pll clock to lock. otherwise
the kernel will panic for the locking failure.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00219616 One Micro-SD card remove will generate a lot of interrupts
Jason Jin [Tue, 7 Aug 2012 07:12:38 +0000 (15:12 +0800)]
ENGR00219616 One Micro-SD card remove will generate a lot of interrupts

The PKE and PUE should be declared for the GPIO pull up, otherwise the pin
will not be pulled up for the SDHC card detect input.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00180931-4 mvf: add default kernel config for Faraday
Alison Wang [Thu, 26 Jul 2012 10:03:04 +0000 (18:03 +0800)]
ENGR00180931-4 mvf: add default kernel config for Faraday

Add default kernel config for Faraday.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00180936-3: add the module for test eDMA driver
Xiaochun Li [Mon, 30 Jul 2012 09:58:20 +0000 (17:58 +0800)]
ENGR00180936-3: add the module for test eDMA driver

This patch is to tests eDMA driver.
a simple memory to memory transfer with a 32 bit
source and destination transfer size that generates
an interrupt when the transfer is complete.

Signed-off-by: Xiaochun Li <b41219@freescale.com>
11 years agoENGR00181396-2: high-speed USB device disconnection management
Jingchang Lu [Thu, 26 Jul 2012 08:37:38 +0000 (16:37 +0800)]
ENGR00181396-2: high-speed USB device disconnection management

Detection of high-speed USB device disconnection should be enable
on connection and disable on disconnection.

Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoENGR00181401,ENGR00181396-1: Add USB OTG controller support for MVF platform
Jingchang Lu [Thu, 28 Jun 2012 02:15:11 +0000 (10:15 +0800)]
ENGR00181401,ENGR00181396-1: Add USB OTG controller support for MVF platform

OTG1 acts as gadget and OTG2 acts as host on TWR-MVF600 board.

Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoENGR00180953-2: dspi: add dspi driver support for Faraday
Alison Wang [Fri, 27 Jul 2012 03:31:06 +0000 (11:31 +0800)]
ENGR00180953-2: dspi: add dspi driver support for Faraday

Add dspi driver support for Faraday.

Signed-off-by: Alison Wang <b18965@freescale.com>
11 years agoENGR00180953-1: dspi: add platform support for dspi driver
Alison Wang [Fri, 27 Jul 2012 03:29:40 +0000 (11:29 +0800)]
ENGR00180953-1: dspi: add platform support for dspi driver

Add platform support for dspi driver.

Signed-off-by: Alison Wang <b18965@freescale.com>
11 years agoENGR00212251-2: sai: add SAI driver support for Faraday
Alison Wang [Fri, 27 Jul 2012 03:10:54 +0000 (11:10 +0800)]
ENGR00212251-2: sai: add SAI driver support for Faraday

Add SAI driver support for Faraday.

Signed-off-by: Alison Wang <b18965@freescale.com>
Signed-off-by: Xiaochun Li <b41219@freescale.com>
11 years agoENGR00212251-1: sai: add platform support for SAI driver
Alison Wang [Fri, 27 Jul 2012 03:06:36 +0000 (11:06 +0800)]
ENGR00212251-1: sai: add platform support for SAI driver

Add platform support for SAI driver.

Signed-off-by: Alison Wang <b18965@freescale.com>
11 years agoENGR00180947-2: dcu: add dcu driver support for Faraday
Alison Wang [Fri, 27 Jul 2012 03:04:46 +0000 (11:04 +0800)]
ENGR00180947-2: dcu: add dcu driver support for Faraday

Add dcu driver support for Faraday.

The penguin logo could be shown correctly and the microwindows
application was also tested.

Signed-off-by: Alison Wang <b18965@freescale.com>
11 years agoENGR00180947-1: dcu: add platform support for dcu driver
Alison Wang [Fri, 27 Jul 2012 03:00:44 +0000 (11:00 +0800)]
ENGR00180947-1: dcu: add platform support for dcu driver

Add platform support for dcu driver.

Signed-off-by: Alison Wang <b18965@freescale.com>
11 years agoENGR00181374-2: nfc: add NFC driver support for Faraday
Alison Wang [Thu, 26 Jul 2012 08:25:33 +0000 (16:25 +0800)]
ENGR00181374-2: nfc: add NFC driver support for Faraday

Add NFC driver support for Faraday.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00181374-1: nfc: add platform support for NFC driver
Alison Wang [Thu, 26 Jul 2012 08:24:07 +0000 (16:24 +0800)]
ENGR00181374-1: nfc: add platform support for NFC driver

Add platform support for NFC driver.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00180958: rtc: add platform support for RTC driver
Alison Wang [Thu, 26 Jul 2012 08:21:47 +0000 (16:21 +0800)]
ENGR00180958: rtc: add platform support for RTC driver

Add platform support for RTC driver.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00181363-2: add I2C controller support for Faraday
Alison Wang [Thu, 26 Jul 2012 08:20:24 +0000 (16:20 +0800)]
ENGR00181363-2: add I2C controller support for Faraday

Add the I2C controller support for Faraday.

Enable the I2C0 for Faraday. There are some different with I.MX
for I2C controller, The i2c enable bit is invert with i.mx and the
interrupt clear is w1c on Faraday but w0c on i.mx

As there are more than one devices on the bus, the drive strength
is set to 50ohm, otherwise, some device can not be found.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00181363-1: add platform support for I2C controller
Alison Wang [Thu, 26 Jul 2012 08:19:16 +0000 (16:19 +0800)]
ENGR00181363-1: add platform support for I2C controller

Add platform support for I2C controller.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00180936-2: edma: add edma driver support for MVF
Alison Wang [Thu, 26 Jul 2012 08:04:12 +0000 (16:04 +0800)]
ENGR00180936-2: edma: add edma driver support for MVF

Add EDMA driver support for MVF.

can use the "Always enable" model and DMA request sources
from DMA1.

Signed-off-by: Jingchang Lu <b35083@freescale.com>
Signed-off-by: Xiaochun Li <b41219@freescale.com
11 years agoENGR00180936-1: edma: add platform support for edma driver
Alison Wang [Thu, 26 Jul 2012 08:02:29 +0000 (16:02 +0800)]
ENGR00180936-1: edma: add platform support for edma driver

Add platform support for edma driver.

Signed-off-by: Jingchang Lu <b35083@freescale.com>
Signed-off-by: Xiaochun Li <b41219@freescale.com>
11 years agoENGR00212262-2: esdhc: add esdhc controller support for MVF
Alison Wang [Thu, 26 Jul 2012 07:57:13 +0000 (15:57 +0800)]
ENGR00212262-2: esdhc: add esdhc controller support for MVF

Add esdhc controller support for MVF.
The wp_pin for esdhc should be disabled.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00212262-1: esdhc: add platform support for esdhc driver
Alison Wang [Thu, 26 Jul 2012 07:55:09 +0000 (15:55 +0800)]
ENGR00212262-1: esdhc: add platform support for esdhc driver

Add platform support for esdhc driver.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00181358-2: fec: add FEC driver support for MVF
Alison Wang [Thu, 26 Jul 2012 07:48:17 +0000 (15:48 +0800)]
ENGR00181358-2: fec: add FEC driver support for MVF

Add FEC driver support for MVF.
Update the phyid for micrel ksz8041 phy.

There are several version sz8041 with different phyid. Those id:
0x00221510, 0x00221512, 0x00221513 were found on different version
SER board. So change the mask to 0x00fffff0 to fit the different version.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00181358-1: fec: add platform support for FEC driver
Alison Wang [Thu, 26 Jul 2012 07:46:11 +0000 (15:46 +0800)]
ENGR00181358-1: fec: add platform support for FEC driver

Add platform support for FEC driver.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Signed-off-by: Alison Wang <b18965@freescale.com>
11 years agoENGR00181393-2: uart: add basic UART and console support for MVF
Alison Wang [Thu, 26 Jul 2012 07:51:25 +0000 (15:51 +0800)]
ENGR00181393-2: uart: add basic UART and console support for MVF

Add basic UART and console support for MVF.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoENGR00181393-1: uart: add platform support for UART driver
Alison Wang [Thu, 26 Jul 2012 07:50:33 +0000 (15:50 +0800)]
ENGR00181393-1: uart: add platform support for UART driver

Add platform support for UART driver.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoENGR00180931-3 mvf: add gpio API for MVF platform
Alison Wang [Thu, 26 Jul 2012 07:35:12 +0000 (15:35 +0800)]
ENGR00180931-3 mvf: add gpio API for MVF platform

Add gpio API for MVF platform.
The MVF GPIO framwork is different with i.mx.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00180931-2 mvf: add IOMUX definiation and initialization
Alison Wang [Thu, 26 Jul 2012 07:32:14 +0000 (15:32 +0800)]
ENGR00180931-2 mvf: add IOMUX definiation and initialization

Add IOMUX definiation and initialization.

Add the iomux initialization support for Faraday.
Define the io pad settings for some function modules. Those
pad ctrl settings may need to adjust during the feature tuning
process.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
11 years agoENGR00180931-1 mvf: add MSL support for MVF platform
Alison Wang [Thu, 26 Jul 2012 07:24:38 +0000 (15:24 +0800)]
ENGR00180931-1 mvf: add MSL support for MVF platform

Add MSL support for MVF platform.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Signed-off-by: Alison Wang <b18965@freescale.com>
Signed-off-by: Jingchang Lu <b35083@freescale.com>
11 years agoARM: proc: add Cortex-A5 proc info
Pawel Moll [Fri, 20 May 2011 13:39:29 +0000 (14:39 +0100)]
ARM: proc: add Cortex-A5 proc info

This patch adds processor info for ARM Ltd. Cortex A5,
which has SCU initialisation procedure identical to A9.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit 15eb169bfec291faf25b158cfa9842b72f7803ad)

11 years agoARM: perf: add PMUv2 common event definitions
Will Deacon [Wed, 19 Jan 2011 14:15:34 +0000 (14:15 +0000)]
ARM: perf: add PMUv2 common event definitions

The PMUv2 specification reserves a number of event encodings
for common events.

This patch adds these events to the common event enumeration
in preparation for PMUv2 cores, such as Cortex-A15.

Acked-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit 6d4eaf991c654af54a19c0fa48e0ad62cefbc37c)

11 years agoARM: proc: convert v7 proc infos into a common macro
Pawel Moll [Fri, 20 May 2011 13:39:28 +0000 (14:39 +0100)]
ARM: proc: convert v7 proc infos into a common macro

As most of the proc info content is common across all v7
processors, this patch converts existing A9 and generic v7
descriptions into a macro (allowing extra flags in future).

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit dc939cd835d0e2d3ff4197d6e2c017d269616d20)

11 years agoARM: perf: add support for the Cortex-A5 PMU
Will Deacon [Fri, 3 Jun 2011 16:40:15 +0000 (17:40 +0100)]
ARM: perf: add support for the Cortex-A5 PMU

This patch adds support for the Cortex-A5 PMU to the ARMv7 perf-event
backend.

Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit 0c205cbe20654616e2f8389c0c1ff707d9dccb63)

12 years agoENGR00175090 Update the fsl copyright of gpu kernel driver to 2012
Huang Loren [Wed, 22 Feb 2012 06:41:00 +0000 (14:41 +0800)]
ENGR00175090 Update the fsl copyright of gpu kernel driver to 2012

Update the fsl copyright of gpu kernel driver to 2012

Signed-off-by: Huang Loren <b02279@freescale.com>
12 years agoENGR00174654-2 Update gpu kernel driver to vivante 4.6.5 release
Loren Huang [Sun, 4 Mar 2012 04:02:32 +0000 (12:02 +0800)]
ENGR00174654-2 Update gpu kernel driver to vivante 4.6.5 release
Merge 4.6.5 p1 kernel part code.

Signed-off-by: Loren Huang <b02279@freescale.com>
Acked-by: Lily Zhang
12 years agoENGR00176160 [MX6]Correct PLL1 freq change flow
Anson Huang [Tue, 6 Mar 2012 04:00:16 +0000 (12:00 +0800)]
ENGR00176160 [MX6]Correct PLL1 freq change flow

Previous PLL1 freq change is done by switching CPU clock
to 400M pfd or 24M OSC, then modifying
PLL1 div directly, and switch back CPU clock immediately,
it will result in CPU clock stop during PLL1 hardware lock
period, thus, DRAM FIFO may blocked by the data CPU
requested before PLL1 clock changed, and it will block other devices
accessing DRAM, such as IPU, VPU etc. It will cause
underrun or hang issue. We should wait PLL1 lock, then switch
back.

Signed-off-by: Anson Huang <b20788@freescale.com>
12 years agoENGR00176147-3: usb: change data types for wakeup_event
Peter Chen [Tue, 6 Mar 2012 02:16:46 +0000 (10:16 +0800)]
ENGR00176147-3: usb: change data types for wakeup_event

In order to know which wakeup event occurs for usb wakeup

Signed-off-by: Peter Chen <peter.chen@freescale.com>
12 years agoENGR00176147-2: usb: pass the wakeup event to pdata
Peter Chen [Tue, 6 Mar 2012 02:10:22 +0000 (10:10 +0800)]
ENGR00176147-2: usb: pass the wakeup event to pdata

The host driver needs to differentiate wakeup event.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
12 years agoENGR00176147-1: usb: fix some wakeup problems
Peter Chen [Wed, 22 Feb 2012 03:14:01 +0000 (11:14 +0800)]
ENGR00176147-1: usb: fix some wakeup problems

- Do not call hcd core adjust wakeup flag code. It may change
wakeup flag, and cause port change detect(PCD) enable setting change.
- For ID wakeup, it should not call host's fsl_usb_recover_hcd at ID interrupt.
The coming ID switch event will resume host.
- Do not need enable wakeup interrupt for host at platform driver resume
routine, it may introduce unnessary wakeup interrupt during bus resume.
The wakeup will be enabled again when usb host goes to controller again
due to autosuspend.
- When there is no gadget enabled, the otg port is still at host mode with
interrupt enabled, so when male Micro-B to female A-type cable with
usb device plugs in, there will be PCD interrupt before hcd core leaves
suspend mode.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
12 years agoENGR00176061-2 usb: otg: add discharge vbus flag
Peter Chen [Tue, 6 Mar 2012 03:11:45 +0000 (11:11 +0800)]
ENGR00176061-2 usb: otg: add discharge vbus flag

Add discharge vbus flag

Signed-off-by: Peter Chen <peter.chen@freescale.com>
12 years agoENGR00176061-1 usb: otg: delete discharge vbus operation at otg driver
Peter Chen [Wed, 22 Feb 2012 05:46:14 +0000 (13:46 +0800)]
ENGR00176061-1 usb: otg: delete discharge vbus operation at otg driver

It may be useless at most of platforms, the user can enable discharge
vbus if he/she wants speed up vbus lower speed during OTG switch.

Besides, disable vbus interrupt during vbus change due
to device <--> host mode switch.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
12 years agoENGR00175864 [MMC]pipeline mmc requests
Tony Lin [Mon, 27 Feb 2012 07:53:02 +0000 (15:53 +0800)]
ENGR00175864 [MMC]pipeline mmc requests

the patch is based on a series of patches by Per Forlin
the patch is sdhci host side implementation.

using a toshiba SDHC3.0 card, the performance increases
from 48.5MB/s to 52.4MB/s.

cmd: dd if=/dev/mmcblk0 of=/dev/null bs=1M count=500

the performance results running@1GHz, 200MHz CPU freq are:
52.4MB/s -> 20.7MB/s

Signed-off-by: Tony Lin <tony.lin@freescale.com>
12 years agoENGR00176068-3 defconfig: enable localtimer in defconfig
Xinyu Chen [Wed, 7 Mar 2012 04:03:33 +0000 (12:03 +0800)]
ENGR00176068-3 defconfig: enable localtimer in defconfig

Enable local timer by default. If wait mode is on,
local timer will be shutdown automatically on boot.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
12 years agoENGR00176068-2 smp_twd: reconfigure clockevents after cpufreq change
Xinyu Chen [Mon, 5 Mar 2012 08:17:52 +0000 (16:17 +0800)]
ENGR00176068-2 smp_twd: reconfigure clockevents after cpufreq change

After a cpufreq transition, update the clockevent's frequency
by fetching the new clock rate from the clock framework and
reprogram the next clock event.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
Signed-off-by: Colin Cross <ccross@android.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
12 years agoENGR00176068-1 mx6q: add smp_twd clock for localtimer
Xinyu Chen [Mon, 5 Mar 2012 08:15:20 +0000 (16:15 +0800)]
ENGR00176068-1 mx6q: add smp_twd clock for localtimer

Add a smp_twd system clock which is simple clock
from parent of cpu_clk, and it's rate is half
of the cpu_clk.
This is used for reprograming the twd clock event
after cpu freq is changed.
Also disable local timer setup when wait mode enabled.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
12 years agoENGR00176279 [MX6DL] MMC: improve SD3.0 SDR104 mode compatability.
Ryan QIAN [Wed, 7 Mar 2012 02:56:13 +0000 (10:56 +0800)]
ENGR00176279 [MX6DL] MMC: improve SD3.0 SDR104 mode compatability.

remove SION bit for SD3_CMD pad control, it will enlarge clock tuning
window on MX6DL.

Signed-off-by: Ryan QIAN <b32804@freescale.com>
12 years agoENGR00175446 ldb: avoid NULL pointer when ldb driver is probed but not inited.
Wayne Zou [Mon, 27 Feb 2012 01:31:18 +0000 (09:31 +0800)]
ENGR00175446 ldb: avoid NULL pointer when ldb driver is probed but not inited.

ldb: avoid NULL pointer when ldb driver is probed but not inited.
It can lead to kernel crash when framebuffer on LVDS panel is not inited.

Signed-off-by: Wayne Zou <b36644@freescale.com>
12 years agoENGR00174062 CCM: change clock enable_count to usecount
Lin Fuzhen [Fri, 10 Feb 2012 05:26:21 +0000 (13:26 +0800)]
ENGR00174062 CCM: change clock enable_count to usecount

change clock debugfs sys attr 'enable_count' to 'usecount'
to align with some power debug tool used

Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
12 years agoENGR00176136- MX6: Added support for 1.2GHz ARM Frequency
Ranjani Vaidyanathan [Mon, 5 Mar 2012 20:26:45 +0000 (14:26 -0600)]
ENGR00176136- MX6: Added support for 1.2GHz ARM Frequency

Added the new 1.2GHz working point.
Currently 'arm_freq=1200" should be added to commandline
for the core to run at 1.2GHz. Also ensure that the appropriate
HW board mods have been done to set VDDARM_IN at 1.425V.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
12 years agoENGR00176175 MX6Q: fix typo in cpu op voltage setting.
Zhang Jiejing [Tue, 6 Mar 2012 08:09:47 +0000 (16:09 +0800)]
ENGR00176175 MX6Q: fix typo in cpu op voltage setting.

Fix a typo when adding 600M WP, the voltage value is wrong,
it will lead a warnning when change to this WP:

COULD NOT SET GP VOLTAGE!!!!

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
12 years agoENGR00176159 video: ipuv3-fb: change to timeout semaphore to wait on irq.
Zhang Jiejing [Tue, 6 Mar 2012 06:47:57 +0000 (14:47 +0800)]
ENGR00176159 video: ipuv3-fb: change to timeout semaphore to wait on irq.

change to timeout semaphore to wait on irq.

use no timeout semaphore have below issues:
1. since fbmem.c will hold the console_lock() before call PAN_DISPLAY ioictl,
 if have wrong happens on IPU, IRQ not come, any log printk will not ouput,
 it will become like a system hang, and developer don't know what's wrong.

2. semaphore don't have timeout, here we can't know irq not come,
  so hang it infintly.
3. semaphore lock and unlock in different context is a dangous operation.

To fix these issue, use timedout version to wait on irq.
But for better coding stly to align Kernel Coding Style Doc,
better use complete to wait on irq, use semaphre little ugly.

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
12 years agoENGR00170526-4 ESAI: To resolve the playback no sound issue occasionally happen
Lionel Xu [Fri, 2 Mar 2012 05:18:17 +0000 (13:18 +0800)]
ENGR00170526-4 ESAI: To resolve the playback no sound issue occasionally happen

There is no sound output any longer sometimes after several times of playback,
this platch is trying to resolve this issue by:

1)move the global power control bit setting from function hw_params/shutdown to
DAPM, thererfor the PWN bit will not be set/unset each time playback;
2)
Signed-off-by: Lionel Xu <Lionel.Xu@freescale.com>