[U-Boot] [UBOOT PATCH 1/1] gpio: lpc32xx: fix issues with port3 gpio

2015-09-09 Thread slemieux . tyco
From: Sylvain Lemieux The current simplify lpc32xx gpio driver implementation assume a maximum of 32 GPIO per port; there are a total of 22 GPI, 24 GPO and 6 GPIO to managed on port 3. Update the driver to fix the following: 1) When requesting GPI_xx and GPO_xx on port 3

[U-Boot] [PATCH v2 1/1] gpio: lpc32xx: fix issues with port3 gpio

2015-09-09 Thread slemieux . tyco
From: Sylvain Lemieux The current simplify lpc32xx gpio driver implementation assume a maximum of 32 GPIO per port; there are a total of 22 GPI, 24 GPO and 6 GPIO to managed on port 3. Update the driver to fix the following: 1) When requesting GPI_xx and GPO_xx on port 3

[U-Boot] [PATCH 1/1] net: phy: micrel: add support for KSZ8021RNL & KSZ8031RNL

2015-09-09 Thread slemieux . tyco
From: Sylvain Lemieux This patch adds support for Micrel KSZ8021RNL & KSZ8031RNL. Signed-off-by: Sylvain Lemieux --- Note: I am sending the patch using , until I can submit patch using my regular e-mail

[U-Boot] [PATCH v7 3/5] nand: lpc32xx: add ECC layout for small page NAND

2015-08-13 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate ECC layout for small page NAND from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (ECC layout for small page) This layout is matching the lpc32xx NAND SLC Linux Kernel driver. Signed-off-by:

[U-Boot] [PATCH v7 5/5] usb: lpc32xx: add host USB driver

2015-08-13 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate USB driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx USB driver - lpc3250 header file USB registers definition. The legacy driver was updated and clean-up as part of the integration with the latest

[U-Boot] [PATCH v7 2/5] nand: lpc32xx: add hardware ECC support

2015-08-13 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate NAND SLC hardware ECC support from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (hardware ECC support) - lpc3250 header file missing SLC NAND registers definition The legacy driver was updated

[U-Boot] [PATCH v6 3/5] nand: lpc32xx: add ECC layout for small page NAND

2015-08-10 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate ECC layout for small page NAND from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (ECC layout for small page) This layout is matching the lpc32xx NAND SLC Kernel driver:

[U-Boot] [PATCH v6 5/5] usb: lpc32xx: add host USB driver

2015-08-10 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate USB driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx USB driver - lpc3250 header file USB registers definition. The legacy driver was updated and clean-up as part of the integration with the latest

[U-Boot] [PATCH v6 2/5] nand: lpc32xx: add hardware ECC support

2015-08-10 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate NAND SLC hardware ECC support from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (hardware ECC support) - lpc3250 header file missing SLC NAND registers definition The legacy driver code was

[U-Boot] [PATCH v6 1/5] dma: lpc32xx: add DMA driver

2015-08-10 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate DMA driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx DMA driver - lpc3250 header file DMA registers definition. The legacy driver was updated and clean-up as part of the integration with the latest

[U-Boot] [PATCH v5 1/5] dma: lpc32xx: add DMA driver

2015-08-05 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate DMA driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx DMA driver - lpc3250 header file DMA registers definition. The legacy driver was updated and clean-up as part of the integration with the latest

[U-Boot] [PATCH v5 2/5] nand: lpc32xx: add hardware ECC support

2015-08-05 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate NAND SLC hardware ECC support from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (hardware ECC support) - lpc3250 header file missing SLC NAND registers definition The legacy driver code was

[U-Boot] [PATCH v5 5/5] usb: lpc32xx: add host USB driver

2015-08-05 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate USB driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx USB driver - lpc3250 header file USB registers definition. The legacy driver was updated and clean-up as part of the integration with the latest

[U-Boot] [PATCH v5 3/5] nand: lpc32xx: add ECC layout for small page NAND

2015-08-05 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate ECC layout for small page NAND from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (ECC layout for small page) This layout is matching the lpc32xx NAND SLC Kernel driver:

[U-Boot] [PATCH v4 1/5] dma: lpc32xx: add DMA driver

2015-08-04 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate DMA driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx DMA driver - lpc3250 header file DMA registers definition. The legacy driver was updated and clean-up as part of the integration with the latest

[U-Boot] [PATCH v4 2/5] nand: lpc32xx: add hardware ECC support

2015-08-04 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate NAND SLC hardware ECC support from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (hardware ECC support) - lpc3250 header file missing SLC NAND registers definition The legacy driver code was

[U-Boot] [PATCH v4 3/5] nand: lpc32xx: add ECC layout for small page NAND

2015-08-04 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate ECC layout for small page NAND from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (ECC layout for small page) This layout is matching the lpc32xx NAND SLC Kernel driver:

[U-Boot] [PATCH v4 5/5] usb: lpc32xx: add host USB driver

2015-08-04 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate USB driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx USB driver - lpc3250 header file USB registers definition. The legacy driver was updated and clean-up as part of the integration with the latest

[U-Boot] [PATCH v4 0/5] lpc32xx: add legacy NXP BSP drivers

2015-08-04 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com This series of patches bring the legacy NXP LPC32xx BSP drivers SLC NAND (hardware ECC), DMA USB into the latest u-boot. Refer to each individual patches for details on the change done to integrate the driver into the latest u-boot. The legacy BSP

[U-Boot] [PATCH v4 4/5] i2c: lpc32xx: add support for OTG I2C

2015-08-04 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Updated the LPC32xx I2C driver to support the OTG I2C that is part of the USB module. Signed-off-by: Sylvain Lemieux slemi...@tycoint.com --- Changes from v3 to v4: * No changes. Changes from v2 to v3: * New patch added in v3.

[U-Boot] [PATCH v3 5/5] usb: lpc32xx: add host USB driver

2015-08-03 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate USB driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx USB driver - lpc3250 header file USB registers definition. The legacy driver was updated and clean-up as part of the integration with the latest

[U-Boot] [PATCH v3 3/5] nand: lpc32xx: add ECC layout for small page NAND

2015-08-03 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate ECC layout for small page NAND from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (ECC layout for small page) This layout is matching the lpc32xx NAND SLC Kernel driver:

[U-Boot] [PATCH v3 2/5] nand: lpc32xx: add hardware ECC support

2015-08-03 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate NAND SLC hardware ECC support from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (hardware ECC support) - lpc3250 header file missing SLC NAND registers definition The legacy driver code was

[U-Boot] [PATCH v3 1/5] dma: lpc32xx: add DMA driver

2015-08-03 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate DMA driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx DMA driver - lpc3250 header file DMA registers definition. The legacy driver was updated and clean-up as part of the integration with the latest

[U-Boot] [PATCH v3 0/5] lpc32xx: add legacy NXP BSP drivers

2015-08-03 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com This series of patches bring the legacy NXP LPC32xx BSP drivers SLC NAND (hardware ECC), DMA USB into the latest u-boot. Refer to each individual patches for details on the change done to integrate the driver into the latest u-boot. The legacy BSP

[U-Boot] [PATCH v3 4/5] i2c: lpc32xx: add support for OTG I2C

2015-08-03 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Updated the LPC32xx I2C driver to support the OTG I2C that is part of the USB module. Signed-off-by: Sylvain Lemieux slemi...@tycoint.com --- Changes from v2 to v3: * New patch added in v3. drivers/i2c/lpc32xx_i2c.c | 20 +--- 1 file

[U-Boot] [PATCH v2 4/4] usb: lpc32xx: add host USB driver

2015-07-29 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate USB driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx USB driver - lpc3250 header file USB registers definition. The legacy driver was updated to integrate with the latest u-boot. Signed-off-by:

[U-Boot] [PATCH v2 2/4] nand: lpc32xx: add hardware ECC support

2015-07-29 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate NAND SLC hardware ECC support from legacy LPCLinux NXP BSP. The code taken from the legacy patch are: - lpc32xx SLC NAND driver (hardware ECC support) - lpc3250 header file missing SLC NAND registers definition The legacy driver code was

[U-Boot] [PATCH v2 3/4] nand: lpc32xx: add ECC layout for small page NAND

2015-07-29 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate ECC layout for small page NAND from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (ECC layout for small page) This layout is matching the lpc32xx NAND SLC Kernel driver:

[U-Boot] [PATCH v2 0/4] lpc32xx: add legacy NXP BSP drivers

2015-07-29 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com This series of patches bring the legacy NXP LPC32xx BSP drivers SLC NAND (hardware ECC), DMA USB into the latest u-boot. Refer to each individual patches for details on the change done to integrate the driver into the latest u-boot. The legacy BSP

[U-Boot] [PATCH v2 1/4] dma: lpc32xx: add DMA driver

2015-07-29 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate DMA driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx DMA driver - lpc3250 header file DMA registers definition. The legacy driver was updated to integrate with the latest u-boot. Signed-off-by:

[U-Boot] [PATCH 7/7] net: lpc32xx: eth buffers base config

2015-07-27 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Add support to specify the Ethernet buffer base address; if none are supply by the board, the default value is use (from existing code). Signed-off-by: Sylvain Lemieux slemi...@tycoint.com --- drivers/net/lpc32xx_eth.c | 8 +--- 1 file changed, 5

[U-Boot] [PATCH 4/7] i2c: lpc32xx: use api to get hclk instead of fix value

2015-07-27 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com The HCLK is not constant and can take different value; use the api function to get the value of the HCLK for the I2C clock high and low computation. Signed-off-by: Sylvain Lemieux slemi...@tycoint.com --- drivers/i2c/lpc32xx_i2c.c | 2 +- 1 file

[U-Boot] [PATCH 2/7] lpc32xx: cpu: add support for soft reset

2015-07-27 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Add support for optional soft reset (i.e. RESOUT_N not asserted during reset). To be compatible with the original U-Boot code, when the addr parameter is 0, a hard is performed; for any other values, a soft reset is done. Signed-off-by: Sylvain

[U-Boot] [PATCH 1/7] arm: lpc32xx: mux: add missing registers

2015-07-27 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Add missing registers in struct definition. Update GPIO MUX base register to match GPIO base (refer to LPC32x0 User manual Rev. 3 - 22 July 2011). Signed-off-by: Sylvain Lemieux slemi...@tycoint.com --- arch/arm/include/asm/arch-lpc32xx/cpu.h | 2 +-

[U-Boot] [PATCH 6/7] i2c: lpc32xx: fix write timeout

2015-07-27 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Fix a condition that generate watchdog timeout inside lpc32xx_i2c_write when parameters alen = 0 and len = 0. Signed-off-by: Sylvain Lemieux slemi...@tycoint.com --- drivers/i2c/lpc32xx_i2c.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH 5/7] i2c: lpc32xx: fix read timeout

2015-07-27 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Fix a condition that generate watchdog timeout inside lpc32xx_i2c_read when parameters alen != 0 and len = 0. Signed-off-by: Sylvain Lemieux slemi...@tycoint.com --- drivers/i2c/lpc32xx_i2c.c | 10 +- 1 file changed, 5 insertions(+), 5

[U-Boot] [PATCH 0/7] lpc32xx: enhancement and update

2015-07-27 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com This series of patches bring miscellaneous enhancement and update to the existing lpc32xx support in u-boot. Refer to each individual patches for details on the specific change. The patch adding the LPC32xx MAC and SMSC RMII phy support should be

[U-Boot] [PATCH 3/7] arm: lpc32xx: gpio macro for pin mapping

2015-07-27 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Add LPC32xx GPIO interface macro for pin mapping. Signed-off-by: Sylvain Lemieux slemi...@tycoint.com --- arch/arm/include/asm/arch-lpc32xx/gpio_grp.h | 40 1 file changed, 40 insertions(+) create mode 100644

[U-Boot] [PATCH 3/3] usb: lpc32xx: add host USB driver

2015-07-17 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate DMA driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx USB driver - lpc3250 header file USB registers definition. Updated driver to integrate with the latest u-boot: 1) Fixed checkpatch script output in

[U-Boot] [PATCH 0/3] lpc32xx: add legacy NXP BSP drivers

2015-07-17 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com This series of patches bring the legacy NXP LPC32xx BSP drivers (SLC NAND, DMA USB) into the latest u-boot. Refer to each individual patches for details on the change done to integrate the driver into the latest u-boot. The legacy BSP patch

[U-Boot] [PATCH 1/3] nand: lpc32xx: add SLC NAND driver

2015-07-17 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate NAND SLC drivers from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx SLC NAND driver - lpc3250 header file SLC NAND registers definition. Updated the driver to integrate with the latest u-boot: 1) Fixed

[U-Boot] [PATCH 2/3] dma: lpc32xx: add DMA driver

2015-07-17 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate DMA driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx DMA driver - lpc3250 header file DMA registers definition. Updated driver to integrate with the latest u-boot: 1) Fixed checkpatch script output in