linux-2.6.39.2-lpc.git
7 years agousb: gadget: lpc32xx_udc: Fix compatibility with STOTG04 master linux-2.6.39.2-lpc32x0_v1.01
Bangaragiri G [Fri, 12 Apr 2013 04:00:13 +0000]
usb: gadget: lpc32xx_udc: Fix compatibility with STOTG04

The STOTG04 is an replacement for ISP1301.

Most of the registers on STOTG04 are the same as on ISP1301, but the
register ISP1301_I2C_OTG_CONTROL_2 (address 0x10) doesn't exist on the
ST part.

This is a work around for this by using the interrupt source register
that
should behave the same on both parts and has the needed information.

Tested-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>

8 years agoarm:lpc32xx: Ea3250 LCD and MMC updates
Anders Lindvall [Tue, 26 Jun 2012 12:28:22 +0000]
arm:lpc32xx: Ea3250 LCD and MMC updates

The patch is submitted by Anders Lindvall.
The patch provides support to any mounted LCD displays.
The patch also includes MMC card detect functionality.

Signed-off-by: Bangaragiri G <bangaragiri.g@nxp.com>

8 years agoarm:lpc32xx:Fix for Edge triggered IRQs
Bangaragiri G [Tue, 26 Jun 2012 10:20:02 +0000]
arm:lpc32xx:Fix for Edge triggered IRQs

We need to fix our IRQ handling to have handle_edge_irq
flow handlers for edge triggered interrupts

Signed-off-by: Bangaragiri G <bangaragiri.g@nxp.com>

8 years agoarm:lpc32xx:fdi3250 - config with mmc, no frame buffer
DaveSKok [Wed, 16 May 2012 10:41:00 +0000]
arm:lpc32xx:fdi3250 - config with mmc, no frame buffer

When support for frame buffer is disabled and MMC enabled, fdi3250.c
will not compile because MMC conditional compile construct mistakenly
placed inside of frame buffer conditional compile construct. This patch
moves MMC code out.

Signed-off-by: Bangaragiri G <bangaragiri.g@nxp.com>

8 years agoethernet:lpc32xx: Ethernet PHY timeout fix
MattRedfearn [Mon, 9 Apr 2012 22:31:21 +0000]
ethernet:lpc32xx: Ethernet PHY timeout fix

The lpc_mdio_read() function returns an EIO before the final
lpc_net_hard_start_xmit() is called. It turns out that this is because
jiffies rolls over 5 minutes after boot. On a build with my gcc-4.6.1
toolchain, the phy just happens to get polled at a point when jiffies is
0xFFFFFFF8. Timeout therefore becomes +2 and the timeout comparison
fails immediately. The function returns an error and does not set
LPC_ENET_MCMD back to 0. I guess this means that the phy can no longer
receive packets, hence the crc errors. The atached patch fixes the
issue.

Signed-off-by: Bangaragiri G <bangaragiri.g@nxp.com>

8 years agolpc32x0: nand: Workaround for NAND data loss issue
Kevin Wells [Mon, 30 Jan 2012 10:17:00 +0000]
lpc32x0: nand: Workaround for NAND data loss issue

Temporary workaround for DMA/NAND support. There seems to be an issue
when using dma_map_single for NAND buffers in very rare cases. When this
issue happens, the NAND data will be corrupted. This tends to happen only when
under heavy NAND load. For now, keep this define enabled.

Signed-off-by: Bangaragiri G <bangaragiri.g@nxp.com>

8 years agousbgadget:lpc32xx:Fix write to USB protocol engine
Bangaragiri G [Wed, 25 Jan 2012 10:20:54 +0000]
usbgadget:lpc32xx:Fix write to USB protocol engine

The command/data write to USB HW protocol engine will
fail sometimes. The fix for the same is committed

Signed-off-by: Bangaragiri G <bangaragiri.g@nxp.com>

8 years agowdt:lpc32xx:Fix no-wayout on close
Sundar Andithevar [Thu, 19 Jan 2012 16:27:43 +0000]
wdt:lpc32xx:Fix no-wayout on close

The PNX4008/LPC32XX WDT driver should not disable
the watchdog on close when nowayout has been set
for the module

Signed-off-by: Bangaragiri G <bangaragiri.g@nxp.com>

8 years agoUpdate kernel build configs to 2.6.39.2 kernel
Kevin Wells [Fri, 26 Aug 2011 22:04:50 +0000]
Update kernel build configs to 2.6.39.2 kernel

8 years agoarm:lpc32x0:LPC32XX support changes linux-2.6.39.2-lpc32x0_v1.00
Bangaragiri G [Wed, 24 Aug 2011 09:51:57 +0000]
arm:lpc32x0:LPC32XX support changes

Including support for LPC32XX MCUs

Signed-off-by: Bangaragiri G <bangaragiri.g@nxp.com>

8 years agoMainline 2.6.39.2 kernel from kernel.org baseline
Kevin Wells [Mon, 22 Aug 2011 22:26:46 +0000]
Mainline 2.6.39.2 kernel from kernel.org