Re: [U-Boot] net, cpsw: disable gigabit support through plattform data

2013-06-04 Thread Mugunthan V N
have to check, if this patch is necessary, as Tom noted ... bye, Heiko As Tom mentioned this patch is applicable only for initial samples as there was a issue with Gig mode packet transfer. Now there is no issue with having Gig enabled by default. Regards Mugunthan V N

[U-Boot] [U-Boot PATCH 1/1] am335x: cpsw: optimize cpsw_send to increase network performance

2013-02-20 Thread Mugunthan V N
. With this the performance is increased from 208KiB/s to 375KiB/s on EVMsk Signed-off-by: Mugunthan V N mugunthan...@ti.com --- This patch is applicable for u-boot-ti git repo drivers/net/cpsw.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/drivers/net/cpsw.c b/drivers/net

[U-Boot] [PATCH 1/7] drivers: net: cpsw: remove hard coding bd ram for cpsw

2013-07-08 Thread Mugunthan V N
BD ram address may vary in various SOC, so removing the hardcoding and passing the same information through platform data Signed-off-by: Mugunthan V N mugunthan...@ti.com --- board/ti/am335x/board.c |1 + board/ti/ti814x/evm.c |1 + drivers/net/cpsw.c |4 +--- include/cpsw.h

[U-Boot] [PATCH 5/7] ARM: DRA7xx: Add CPSW support to DRA7xx EVM

2013-07-08 Thread Mugunthan V N
Adding support for CPSW Ethernet support found in DRA7xx EVM Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/cpu/armv7/omap5/prcm-regs.c |4 + arch/arm/include/asm/arch-omap5/cpu.h |6 ++ arch/arm/include/asm/arch-omap5/omap.h | 26 ++ arch/arm/include/asm

[U-Boot] [PATCH 0/7] Ethernet bringup patchset for DRA7xx EVM

2013-07-08 Thread Mugunthan V N
This patch series brings up the CPSW ethernet in DRA7xx EVM and it is based on the master branch on git://git.denx.de/u-boot.git This patch is also tested with basic boot of Omap 5 and tftp download test with AM335x EVM. Lokesh Vutla (1): ARM: DRA7xx: Lock DPLL_GMAC Mugunthan V N (6

[U-Boot] [PATCH 2/7] drivers: net: cpsw: Enable statistics for all port

2013-07-08 Thread Mugunthan V N
Enable hardware statistics for all ports, enabling only to host port is useless Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/cpsw.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c index dc0a2be..f1e9f72 100644 --- a/drivers/net

[U-Boot] [PATCH 3/7] ARM: DRA7xx: Lock DPLL_GMAC

2013-07-08 Thread Mugunthan V N
From: Lokesh Vutla lokeshvu...@ti.com Locking DPLL_GMAC [mugunthan...@ti.com:Configure only if CPSW is selected] Signed-off-by: Lokesh Vutla lokeshvu...@ti.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/cpu/armv7/omap-common/clocks-common.c | 18 ++ arch

[U-Boot] [PATCH 4/7] ARM: DRA7xx: Enable GMAC clock control

2013-07-08 Thread Mugunthan V N
Enabling CPSW module by enabling GMAC clock control Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/cpu/armv7/omap5/hw_data.c |7 ++- arch/arm/cpu/armv7/omap5/prcm-regs.c |2 ++ arch/arm/include/asm/omap_common.h |4 3 files changed, 12 insertions(+), 1

[U-Boot] [PATCH 6/7] ARM: DRA7xx: Add CPSW and MDIO pinmux support

2013-07-08 Thread Mugunthan V N
Adding CPSW Slave 0 and MDIO pinmux support for DRA7xx EVM Signed-off-by: Mugunthan V N mugunthan...@ti.com --- board/ti/dra7xx/mux_data.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/board/ti/dra7xx/mux_data.h b/board/ti/dra7xx/mux_data.h index 338a241..b63fc36 100644

[U-Boot] [PATCH 7/7] ARM: DRA7xx: Enable CPSW Ethernet support

2013-07-08 Thread Mugunthan V N
Enabling CPSW Ethernet support in DRA7xx EVM. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- include/configs/dra7xx_evm.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h index c11f005..ed3aa43 100644

Re: [U-Boot] [PATCH] net, phy, cpsw: fix gigabit register access

2013-07-24 Thread Mugunthan V N
, if a phy_read() fails ... fix this. Signed-off-by: Heiko Schocher h...@denx.de Cc: Joe Hershberger joe.hershber...@gmail.com Looks correct Acked-by: Mugunthan V N mugunthan...@ti.com Regards Mugunthan V N ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v3 1/4] arm, am33xx: add defines for gmii_sel_register bits

2013-07-30 Thread Mugunthan V N
On 7/30/2013 1:23 PM, Heiko Schocher wrote: Signed-off-by: Heiko Schocher h...@denx.de --- - changes for v2: defined all bits used in the gmii_sel register as Tom Rini suggested - changes for v3: rebased against u-boot-ti commit bb2a5d8f87fffb4fadfb205837decbd1b3e75f88 ---

Re: [U-Boot] [PATCH v3 1/4] arm, am33xx: add defines for gmii_sel_register bits

2013-08-12 Thread Mugunthan V N
decision to have this change or not. Other than this the patch looks good to me. Acked-by: Mugunthan V N mugunthan...@ti.com Regards Mugunthan V N ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 1/4] arm, am33xx: add defines for gmii_sel_register bits

2013-08-14 Thread Mugunthan V N
On Monday 12 August 2013 11:06 PM, Mugunthan V N wrote: On Monday 12 August 2013 07:52 PM, Tom Rini wrote: +#define GMII2_SEL_MII0x0 +#define GMII2_SEL_RMII0x4 +#define GMII2_SEL_RGMII 0x8 +#define GMII2_SEL_NOTUSED 0xc NOTUSED not needed

Re: [U-Boot] [PATCH v2] net, phy, cpsw: fix NULL pointer deference

2013-09-05 Thread Mugunthan V N
On Thursday 05 September 2013 11:35 AM, Heiko Schocher wrote: if phy_connect() did not find a phy, phydev is NULL and following code in cpsw_phy_init() crashes. Fix this. Signed-off-by: Heiko Schocher h...@denx.de Cc: Joe Hershberger joe.hershber...@gmail.com Cc: Mugunthan V N mugunthan

Re: [U-Boot] [PATCH v3] net, phy, cpsw: fix NULL pointer deference

2013-09-05 Thread Mugunthan V N
On Thursday 05 September 2013 03:20 PM, Heiko Schocher wrote: if phy_connect() did not find a phy, phydev is NULL and following code in cpsw_phy_init() crashes. Fix this. Signed-off-by: Heiko Schocher h...@denx.de Cc: Joe Hershberger joe.hershber...@gmail.com Cc: Mugunthan V N mugunthan

Re: [U-Boot] [PATCH 0/1] Fix ethernet regression on pcm051

2013-09-26 Thread Mugunthan V N
Poeschel (1): pcm051: Supply a bd_ram_ofs for the cpsw driver board/phytec/pcm051/board.c | 1 + 1 file changed, 1 insertion(+) Acked-by: Mugunthan V N mugunthan...@ti.com Regards Mugunthan V N ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [[PATCH 7/7] keystone2: net: add keystone ethernet driver

2014-02-11 Thread Mugunthan V N
support in SoC/board files. Which will make it easier for reviewing and bisecting. Regards Mugunthan V N ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/3] drivers: net: cpsw: add support for using second port as ethernet

2014-05-22 Thread Mugunthan V N
Add support for using the second slave port of cpsw to be used as primary ethernet. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/cpsw.c | 8 +--- include/cpsw.h | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/net/cpsw.c b/drivers/net

[U-Boot] [PATCH 0/3] ARM: DRA72x: Add CPSW Ethernet support for DRA72x SoC

2014-05-22 Thread Mugunthan V N
CPSW Ethernet second port is pinned out as default Ethernet, so adding support for CPSW ethernet for downloading images via Ethernet. Mugunthan V N (3): drivers: net: cpsw: add support for using second port as ethernet ARM: DRA7xx: Add cpsw second port pinmux ARM: dra7_evm: Add Ethernet

[U-Boot] [PATCH 2/3] ARM: DRA7xx: Add cpsw second port pinmux

2014-05-22 Thread Mugunthan V N
Add cpsw second slave port pinmux to use it as primary ethernet port Signed-off-by: Mugunthan V N mugunthan...@ti.com --- board/ti/dra7xx/mux_data.h | 12 1 file changed, 12 insertions(+) diff --git a/board/ti/dra7xx/mux_data.h b/board/ti/dra7xx/mux_data.h index 38de9d5..56cda07

[U-Boot] [PATCH 3/3] ARM: dra7_evm: Add Ethernet support for dra72x platform

2014-05-22 Thread Mugunthan V N
Set the active_slave to 1 as slave 1 is pinned out in dra72x base board Signed-off-by: Mugunthan V N mugunthan...@ti.com --- board/ti/dra7xx/evm.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index 073d151..955c16f 100644

Re: [U-Boot] [PATCH 0/3] ARM: DRA72x: Add CPSW Ethernet support for DRA72x SoC

2014-05-22 Thread Mugunthan V N
On Thursday 22 May 2014 02:37 PM, Mugunthan V N wrote: CPSW Ethernet second port is pinned out as default Ethernet, so adding support for CPSW ethernet for downloading images via Ethernet. Mugunthan V N (3): drivers: net: cpsw: add support for using second port as ethernet ARM: DRA7xx

Re: [U-Boot] [U-Boot PATCH 0/5] ARM: DRA72x: Add support for DRA72x SoC

2014-05-22 Thread Mugunthan V N
|1 + arch/arm/include/asm/omap_common.h |1 + 7 files changed, 71 insertions(+), 7 deletions(-) Tested-by: Mugunthan V N mugunthan...@ti.com Regards Mugunthan V N ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [PATCH] am335x: cpsw: optimize cpsw_recv to increase network performance

2013-11-28 Thread Mugunthan V N
-off-by: Vladimir Koutny vladimir.kou...@streamunlimited.com Cc: Mugunthan V N mugunthan...@ti.com Cc: Joe Hershberger joe.hershber...@gmail.com Cc: Tom Rini tr...@ti.com Acked-by: Mugunthan V N mugunthan...@ti.com Regards Mugunthan V N ___ U-Boot

[U-Boot] [PATCH 1/1] ARM: dra7_evm: read mac address properly from e-fuse

2014-01-07 Thread Mugunthan V N
Byte offset of Ethernet mac address read from e-fuse are wrong so DHCP is not working on some boards, modifying the offset to read properly. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- board/ti/dra7xx/evm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [U-Boot] AM335x Ethernet pin mux confusion

2014-11-24 Thread Mugunthan V N
(mdio_clk), MODE(0) | PULLUP_EN},/* MDIO_CLK */ {-1}, }; Any help would be much appreciated? There is no relation between pinmux and phy attached to the slave. Is your cpsw slave structures are populated with proper phy ids? Regards Mugunthan V N

Re: [U-Boot] [PATCH 7/8] pmic: add tps62362 simple wrapper code

2015-01-06 Thread Mugunthan V N
/pmic_tps62362.c | 47 ++ 2 files changed, 48 insertions(+) create mode 100644 drivers/power/pmic/pmic_tps62362.c There is a build error with this patch because tps62362.h is missing in the commit. Regards Mugunthan V N

Re: [U-Boot] [PATCH 1/8] arm: am437x: PLL values for all input frequencies

2015-01-07 Thread Mugunthan V N
-by: James Doublesin double...@ti.com Signed-off-by: Felipe Balbi ba...@ti.com --- Tested the full series. Tested-by: Mugunthan V N mugunthan...@ti.com Regards Mugunthan V N ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u

[U-Boot] [PATCH 1/3] am43xx: Update CONFIG_SPL_TEXT_BASE

2015-06-10 Thread Mugunthan V N
-off-by: Mugunthan V N mugunthan...@ti.com --- include/configs/am43xx_evm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index d4f4c23..e5b10ad 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs

[U-Boot] [PATCH 2/3] am43xx_evm: add usb host boot support

2015-06-10 Thread Mugunthan V N
While booting via usb host mode, ROM uses DMA to copy MLO over USB so ARM internal RAM cannot be used. Adding USB host boot support by introducing new config target which sets SPL_TEXT_BASE to OCMC ram. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- configs

[U-Boot] [PATCH 0/3] Add usb host and ethernet boot support

2015-06-10 Thread Mugunthan V N
This patch set adds support for usb host boot and ethernet boot support Mugunthan V N (2): am43xx_evm: add usb host boot support am43xx_evm: add eth boot support Tom Rini (1): am43xx: Update CONFIG_SPL_TEXT_BASE configs/am43xx_evm_ethboot_defconfig | 5 + configs

[U-Boot] [PATCH 3/3] am43xx_evm: add eth boot support

2015-06-10 Thread Mugunthan V N
add cpsw ethernet boot mode support to download spl and u-boot.img via tftp protocol. Also adding a seperate config for ethernet boot mode as the default build falcon mode and environment on MMC is defined for ethernet boot mode environment should be set to nowhere. Signed-off-by: Mugunthan V N

[U-Boot] [PATCH v2 1/1] ARM: DRA72x: fix io delay calibration for ethernet

2015-06-22 Thread Mugunthan V N
to choose custom values for DRA72x-evm specifically designed for the PHY and routing on the platform for ethernet to function. Cc: Nishanth Menon n...@ti.com Cc: Lokesh Vutla lokeshvu...@ti.com Tested-by: Lokesh Vutla lokeshvu...@ti.com Reviewed-by: Nishanth Menon n...@ti.com Signed-off-by: Mugunthan V

[U-Boot] [PATCH 1/1] ARM: DRA72x: fix io delay calibration for ethernet

2015-06-19 Thread Mugunthan V N
Ethernet on DRA72x EVM is not working as the io delay calibration value is not correct. Fixing this with the correct values and verified this on DRA72x EVM with tftp file transfer Cc: Nishanth Menon n...@ti.com Cc: Lokesh Vutla lokeshvu...@ti.com Signed-off-by: Mugunthan V N mugunthan...@ti.com

[U-Boot] [PATCH v2 3/3] am43xx_evm: add eth boot support

2015-06-16 Thread Mugunthan V N
add cpsw ethernet boot mode support to download spl and u-boot.img via tftp protocol. Also adding a seperate config for ethernet boot mode as the default build falcon mode and environment on MMC is defined for ethernet boot mode environment should be set to nowhere. Signed-off-by: Mugunthan V N

[U-Boot] [PATCH v2 1/3] am43xx: Update CONFIG_SPL_TEXT_BASE

2015-06-16 Thread Mugunthan V N
-off-by: Mugunthan V N mugunthan...@ti.com --- include/configs/am43xx_evm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index 9d65111..ade7151 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs

[U-Boot] [PATCH v2 0/3] Add usb host and ethernet boot support

2015-06-16 Thread Mugunthan V N
This patch set adds support for usb host boot and ethernet boot support Changes from initial version: * Used standard defines like CONFIG_SPL_USB_HOST_SUPPORT instead of introducing new defines as commented by Tom Rini. Mugunthan V N (2): am43xx_evm: add usb host boot support am43xx_evm

[U-Boot] [PATCH v2 2/3] am43xx_evm: add usb host boot support

2015-06-16 Thread Mugunthan V N
While booting via usb host mode, ROM uses DMA to copy MLO over USB so ARM internal RAM cannot be used. Adding USB host boot support by introducing new config target which sets SPL_TEXT_BASE to OCMC ram. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- configs

Re: [U-Boot] [PATCH 2/3] am43xx_evm: add usb host boot support

2015-06-16 Thread Mugunthan V N
On Thursday 11 June 2015 12:26 AM, Tom Rini wrote: On Wed, Jun 10, 2015 at 03:04:16PM +0530, Mugunthan V N wrote: While booting via usb host mode, ROM uses DMA to copy MLO over USB so ARM internal RAM cannot be used. Adding USB host boot support by introducing new config target which sets

Re: [U-Boot] cpsw not working with slave2 port defined only

2015-06-01 Thread Mugunthan V N
to add mac address to ALE, which will fail when you remove slaves from the salve structures. Regards Mugunthan V N ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/1] driver: net: keystone_net: fix phy mode configuration

2015-07-23 Thread Mugunthan V N
the same IP with RGMII phy connected. So the IP is capable of supporting multiple phy modes. Regards Mugunthan V N ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/1] driver: net: keystone_net: fix phy mode configuration

2015-07-23 Thread Mugunthan V N
On Thursday 23 July 2015 07:08 PM, Ivan Khoronzhuk wrote: On 23.07.15 15:43, Mugunthan V N wrote: On Thursday 23 July 2015 04:46 PM, Ivan Khoronzhuk wrote: Hi, Mugunthan You are right, phy mode is a board property. But just for clarifying, does Ethernet SS, which contains SGMII on board

[U-Boot] [PATCH 1/1] driver: net: keystone_net: fix phy mode configuration

2015-07-23 Thread Mugunthan V N
Cc: Vitaly Andrianov vita...@ti.com Cc: Joe Hershberger joe.hershber...@ni.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/include/asm/ti-common/keystone_net.h | 2 ++ board/ti/ks2_evm/board_k2e.c | 8 board/ti/ks2_evm/board_k2hk.c | 4

[U-Boot] [PATCH 09/13] defconfig: dra72_evm: enable spi driver model

2015-10-27 Thread Mugunthan V N
enable mmc driver model for dra72_evm as ti_qspi supports driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/dra72_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/dra72_evm_defconfig b/configs/dra72_evm_defconfig index cce3255..d88b2b7

[U-Boot] [PATCH 07/13] drivers: spi: ti_qspi: convert driver to adopt device driver model

2015-10-27 Thread Mugunthan V N
adopt ti_qspi driver to device driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/spi/ti_qspi.c | 126 ++ 1 file changed, 126 insertions(+) diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c index 4893472..4

[U-Boot] [PATCH 11/13] am43xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl

2015-10-27 Thread Mugunthan V N
Since spl doesn't support DM currently, do not define DM_SPI and DM_SPI_FLASH for spl build. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- include/configs/am43xx_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h

[U-Boot] [PATCH 12/13] arm: dts: am4372: add qspi register maps for memory map

2015-10-27 Thread Mugunthan V N
Add qspi memory map address to device tree. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/dts/am4372.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/am4372.dtsi b/arch/arm/dts/am4372.dtsi index ade28c7..1b30d53 100644 --- a/arch/a

[U-Boot] [PATCH 10/13] defconfig: dra74_evm: enable spi driver model

2015-10-27 Thread Mugunthan V N
enable mmc driver model for dra74_evm as ti_qspi supports driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/dra74_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/dra74_evm_defconfig b/configs/dra74_evm_defconfig index a57cd7f..b7c541b

[U-Boot] [PATCH 08/13] arm: dts: dra7: add qspi register maps for memory map and control module

2015-10-27 Thread Mugunthan V N
Add qspi memory map and control module register maps to device tree. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/dts/dra7.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/dra7.dtsi b/arch/arm/dts/dra7.dtsi index 7357b0e..b72c1fa

[U-Boot] [PATCH 06/13] dts: dra7: add spi alias for qspi

2015-10-27 Thread Mugunthan V N
add spi alias for qspi so that spi probes the device and driver successfully. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/dts/dra7.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/dra7.dtsi b/arch/arm/dts/dra7.dtsi index 8f1e25b..7357b0e

[U-Boot] [PATCH 13/13] defconfig: am437x_sk_evm: enable spi driver model

2015-10-27 Thread Mugunthan V N
enable mmc driver model for am437x_sk_evm as ti_qspi supports driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/am437x_sk_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am437x_sk_evm_defconfig b/configs/am437x_sk_evm_defconfig index 0

[U-Boot] [PATCH 03/13] spi: Add support for dual and quad mode

2015-10-27 Thread Mugunthan V N
spi bus can support dual and quad wire data transfers for tx and rx. So defining dual and quad modes for both tx and rx. Also add support to parse bus width used for spi tx and rx transfers. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/spi/spi-uclass.

[U-Boot] [PATCH 01/13] drivers: spi: ti_qspi: prepare driver for DM conversion

2015-10-27 Thread Mugunthan V N
Prepare driver for DM conversion. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/spi/ti_qspi.c | 341 -- 1 file changed, 188 insertions(+), 153 deletions(-) diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c index b

[U-Boot] [PATCH 04/13] drivers: spi: spi-uclass: fix spi slave device register

2015-10-27 Thread Mugunthan V N
red with of_offset and its fdt is parsed properly. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/spi/spi-uclass.c | 38 -- 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/drivers/spi/spi-uclass.c b/drivers/spi/spi-uclass.c inde

[U-Boot] [PATCH 05/13] dra7xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl

2015-10-27 Thread Mugunthan V N
Since spl doesn't support DM currently, do not define DM_SPI and DM_SPI_FLASH for spl build. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- include/configs/dra7xx_evm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx

[U-Boot] [PATCH 02/13] dm: core: Add a new api to get indexed device address

2015-10-27 Thread Mugunthan V N
Add new api to get device address based on index. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/core/device.c | 20 include/dm/device.h | 9 + 2 files changed, 29 insertions(+) diff --git a/drivers/core/device.c b/drivers/core/device.c

[U-Boot] [PATCH 00/13] device model bringup of ti-qspi on dra72, dra74 and am437x-sk evm

2015-10-27 Thread Mugunthan V N
This patch series enables ti_qspi to adopt driver model. This has been tested on dra72, dra74 and am437x-sk evms (logs [1]). Also pushed a branch for testing [2] [1]: http://pastebin.ubuntu.com/12978685/ [2]: git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dm-qspi Mugunthan V N

[U-Boot] [PATCH] spi: sf: add support for throughput mesurement of sf read/write

2015-10-27 Thread Mugunthan V N
This patch adds time measurement and throughput calculation for sf read/write commands. The output of sf read changes from ---8<--- SF: 4096 bytes @ 0x0 Read: OK --->8--- to ---8<--- SF: 4096 bytes @ 0x0 Read: OK in 6 ms (666 KiB/s) --->8--- Signed-off-by: Mugunthan V N <mugu

Re: [U-Boot] [PATCH v2 15/16] arm: dts: am4372: add qspi register maps for memory map

2015-11-12 Thread Mugunthan V N
On Sunday 08 November 2015 07:02 PM, Tom Rini wrote: > On Wed, Nov 04, 2015 at 01:46:23PM +0530, Mugunthan V N wrote: >> Add qspi memory map address to device tree. >> >> Signed-off-by: Mugunthan V N <mugunthan...@ti.com> >> Reviewed-by: Simon Glass <s...@c

Re: [U-Boot] [PATCH] dm: core: Kconfig: set OF_TRANSLATE default value to n

2015-11-12 Thread Mugunthan V N
On Friday 06 November 2015 09:11 PM, Stephen Warren wrote: > On 11/06/2015 05:19 AM, Stefan Roese wrote: >> +Stephan Warren & Thomas Chou >> >> On 06.11.2015 13:08, Simon Glass wrote: >>> +Stefan >>> >>> Hi Mugunthan, >>> >>>

Re: [U-Boot] [PATCH 2/2] ARM: am43xx: Enable QUAD read and EDMA support for ti_qspi

2015-11-12 Thread Mugunthan V N
On Tuesday 10 November 2015 11:52 AM, Vignesh R wrote: > Enable TI_EDMA3 and QUAD read support for ti_qspi on am43xx, this > increases read performance to 4 MB/s. > > Signed-off-by: Vignesh R <vigne...@ti.com> > --- Reviewed-by: Mugunthan V N <mugunthan...@ti.com

Re: [U-Boot] [PATCH v2 10/16] drivers: mtd: spi: sf_probe: add compatible for spansion spi flash

2015-11-12 Thread Mugunthan V N
On Friday 06 November 2015 05:37 PM, Simon Glass wrote: > Hi Mugunthan, > > On 4 November 2015 at 01:16, Mugunthan V N <mugunthan...@ti.com> wrote: >> Add compatible for spansion 32MiB spi flash s25fl256s1. >> >> Signed-off-by: Mugunthan V N <mugunthan..

Re: [U-Boot] [PATCH v2 14/16] am43xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl

2015-11-12 Thread Mugunthan V N
On Friday 06 November 2015 05:37 PM, Simon Glass wrote: > Hi Mugunthan, > > On 4 November 2015 at 01:16, Mugunthan V N <mugunthan...@ti.com> wrote: >> > Since spl doesn't support DM currently, do not define DM_SPI and >> > DM_SPI_FLASH for spl build. > Si

Re: [U-Boot] [PATCH v2 06/16] dra7xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl

2015-11-12 Thread Mugunthan V N
On Friday 06 November 2015 05:37 PM, Simon Glass wrote: > Hi Mugunthan, > > On 4 November 2015 at 01:16, Mugunthan V N <mugunthan...@ti.com> wrote: >> > Since spl doesn't support DM currently, do not define DM_SPI and >> > DM_SPI_FLASH for spl build. > D

Re: [U-Boot] [PATCH 1/2] spi: ti_qspi: Add dummy readl for bus sync

2015-11-12 Thread Mugunthan V N
lash present on am437x-sk and am437x-idk evms. > > Signed-off-by: Vignesh R <vigne...@ti.com> > --- Reviewed-by: Mugunthan V N <mugunthan...@ti.com> Regards Mugunthan V N ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 09/16] arm: dts: dra7: add qspi register maps for memory map and control module

2015-11-12 Thread Mugunthan V N
On Sunday 08 November 2015 07:01 PM, Tom Rini wrote: > On Wed, Nov 04, 2015 at 01:46:17PM +0530, Mugunthan V N wrote: > >> Add qspi memory map and control module register maps to device tree. >> >> Signed-off-by: Mugunthan V N <mugunthan...@ti.com> >> Reviewe

Re: [U-Boot] [PATCH v2 09/16] arm: dts: dra7: add qspi register maps for memory map and control module

2015-11-13 Thread Mugunthan V N
On Thursday 12 November 2015 06:17 PM, Tom Rini wrote: > On Thu, Nov 12, 2015 at 02:33:48PM +0530, Mugunthan V N wrote: >> On Sunday 08 November 2015 07:01 PM, Tom Rini wrote: >>> On Wed, Nov 04, 2015 at 01:46:17PM +0530, Mugunthan V N wrote: >>> >>>>

Re: [U-Boot] [PATCH 02/13] dm: core: Add a new api to get indexed device address

2015-10-31 Thread Mugunthan V N
On Thursday 29 October 2015 10:47 PM, Simon Glass wrote: > Hi Mugunthan, > > On 27 October 2015 at 05:12, Mugunthan V N <mugunthan...@ti.com> wrote: >> Add new api to get device address based on index. >> >> Signed-off-by: Mugunthan V N <mugunthan...@ti.com>

Re: [U-Boot] [PATCH 05/13] dra7xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl

2015-10-31 Thread Mugunthan V N
On Thursday 29 October 2015 10:47 PM, Simon Glass wrote: > Hi Mugunthan, > > On 27 October 2015 at 05:13, Mugunthan V N <mugunthan...@ti.com> wrote: >> > Since spl doesn't support DM currently, do not define DM_SPI and >> > DM_SPI_FLASH for spl build. > SPL doe

Re: [U-Boot] [PATCH 06/13] dts: dra7: add spi alias for qspi

2015-10-31 Thread Mugunthan V N
On Thursday 29 October 2015 10:48 PM, Simon Glass wrote: > On 27 October 2015 at 05:13, Mugunthan V N <mugunthan...@ti.com> wrote: >> > add spi alias for qspi so that spi probes the device and driver >> > successfully. >> > >> > Sign

Re: [U-Boot] [PATCH 04/13] drivers: spi: spi-uclass: fix spi slave device register

2015-10-31 Thread Mugunthan V N
the correct driver. > */ > > This code is used when there is no device attached. It should not > happen that you have a device tree node which is ignored when the SPI > bus is bound. spi_post_bind() should pick up these node and create > drivers for them. Hmmmm, will dro

Re: [U-Boot] [PATCH 07/13] drivers: spi: ti_qspi: convert driver to adopt device driver model

2015-10-31 Thread Mugunthan V N
message. Why not > just drop this? The driver should not be scanning the device tree - it > should be able to look at the number of child devices instead. > Hmmm, will fix in v2 Regards Mugunthan V N ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] dm-spi: Convert to driver model

2015-11-01 Thread Mugunthan V N
On Saturday 31 October 2015 02:17 AM, Jagan Teki wrote: > > ti_qspi.c I had already converted this driver and posted [1] Last week. Will be submitting a v2 shortly. [1]: http://lists.denx.de/pipermail/u-boot/2015-October/231800.html Regards Mugunth

[U-Boot] [PATCH] dm: core: Kconfig: set OF_TRANSLATE default value to n

2015-11-04 Thread Mugunthan V N
t;n" and enable OF_TRANSLATE only on required platform. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- Tested this patch on TI DRA72 platform. --- drivers/core/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/core/Kconfig b/drivers/core/Kcon

[U-Boot] [PATCH v2 10/16] drivers: mtd: spi: sf_probe: add compatible for spansion spi flash

2015-11-04 Thread Mugunthan V N
Add compatible for spansion 32MiB spi flash s25fl256s1. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/mtd/spi/sf_probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c index c000c53..9cfa9b6 100644 --- a/drive

[U-Boot] [PATCH v2 11/16] drivers: mtd: spi: sf_probe: add compatible for Macronix spi flash

2015-11-04 Thread Mugunthan V N
Add compatible for Macronix 64MiB spi flash mx66l51235l. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/mtd/spi/sf_probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c index 9cfa9b6..b16a392 100644 --- a/drive

[U-Boot] [PATCH v2 05/16] spi: Add support for dual and quad mode

2015-11-04 Thread Mugunthan V N
spi bus can support dual and quad wire data transfers for tx and rx. So defining dual and quad modes for both tx and rx. Also add support to parse bus width used for spi tx and rx transfers. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chr

[U-Boot] [PATCH v2 06/16] dra7xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl

2015-11-04 Thread Mugunthan V N
Since spl doesn't support DM currently, do not define DM_SPI and DM_SPI_FLASH for spl build. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- include/configs/dra7xx_evm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx

[U-Boot] [PATCH v2 13/16] defconfig: dra74_evm: enable spi driver model

2015-11-04 Thread Mugunthan V N
enable mmc driver model for dra74_evm as ti_qspi supports driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- configs/dra74_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/dra74_evm_defconf

[U-Boot] [PATCH v2 12/16] defconfig: dra72_evm: enable spi driver model

2015-11-04 Thread Mugunthan V N
enable mmc driver model for dra72_evm as ti_qspi supports driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- configs/dra72_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/dra72_evm_defconf

[U-Boot] [PATCH v2 09/16] arm: dts: dra7: add qspi register maps for memory map and control module

2015-11-04 Thread Mugunthan V N
Add qspi memory map and control module register maps to device tree. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- arch/arm/dts/dra7.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/dra7

[U-Boot] [PATCH v2 08/16] drivers: spi: ti_qspi: convert driver to adopt device driver model

2015-11-04 Thread Mugunthan V N
adopt ti_qspi driver to device driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/spi/ti_qspi.c | 172 ++ 1 file changed, 172 insertions(+) diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c index 003df80..f

[U-Boot] [PATCH v2 02/16] drivers: spi:ti_qspi: change ti_qspi_slave to ti_qspi_priv for driver model conversion

2015-11-04 Thread Mugunthan V N
Changing the ti_qspi_priv structure and its instance names from to priv for driver mode conversion. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/spi/ti_qspi.c | 118 +- 1 file changed, 59 insertions(+), 59 deletions(-) diff

[U-Boot] [PATCH v2 01/16] drivers: spi: ti_qspi: do not hard code chip select for memory map configuration

2015-11-04 Thread Mugunthan V N
To enable memory map in dra7xx, specific chip select must be written to control module register. But this hard coded to chip select 1, fixing it by writing the specific chip select value to control module register. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/spi/ti_qspi

[U-Boot] [PATCH v2 03/16] drivers: spi: ti_qspi: prepare driver for DM conversion

2015-11-04 Thread Mugunthan V N
Prepare driver for DM conversion. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/spi/ti_qspi.c | 287 -- 1 file changed, 161 insertions(+), 126 deletions(-) diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c index 4

[U-Boot] [PATCH v2 07/16] dts: dra7: add spi alias for qspi

2015-11-04 Thread Mugunthan V N
add spi alias for qspi so that spi probes the device and driver successfully. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- arch/arm/dts/dra7.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/dra7.dtsi b/arch/

[U-Boot] [PATCH v2 04/16] dm: core: Add a new api to get indexed device address

2015-11-04 Thread Mugunthan V N
Add new api to get device address based on index. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/core/device.c | 16 include/dm/device.h | 10 ++ 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/drivers/core/device.c b/driver

[U-Boot] [PATCH v2 00/16] device model bring-up of ti-qspi on dra72, dra74 and am437x-sk evm

2015-11-04 Thread Mugunthan V N
shed found in DRA7xx and AM437x SK Mugunthan V N (16): drivers: spi: ti_qspi: do not hard code chip select for memory map configuration drivers: spi:ti_qspi: change ti_qspi_slave to ti_qspi_priv for driver model conversion drivers: spi: ti_qspi: prepare driver for DM conversion dm: core:

[U-Boot] [PATCH v2 16/16] defconfig: am437x_sk_evm: enable spi driver model

2015-11-04 Thread Mugunthan V N
enable mmc driver model for am437x_sk_evm as ti_qspi supports driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- configs/am437x_sk_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am437x_sk_evm

[U-Boot] [PATCH v2 15/16] arm: dts: am4372: add qspi register maps for memory map

2015-11-04 Thread Mugunthan V N
Add qspi memory map address to device tree. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- arch/arm/dts/am4372.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/am4372.dtsi b/arch/arm/dts

[U-Boot] [PATCH v2 14/16] am43xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl

2015-11-04 Thread Mugunthan V N
Since spl doesn't support DM currently, do not define DM_SPI and DM_SPI_FLASH for spl build. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- include/configs/am43xx_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h

[U-Boot] [PATCH] ARM: AM335x: mux: change mmc0 cd pinmux from mmc0_sdcd to gpio

2015-10-13 Thread Mugunthan V N
Currently omap_hsmmc driver doesn't use sdcd pin to detect whether the card is present or not. Instead the same pin is used as GPIO to detect card presence. So change the pin mux mode from mmc0_sdcd to gpio0_6. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- board/ti/am335x/mux

[U-Boot] [PATCH] drivers: gpio: omap: add support for parsing additional gpio parameters

2015-10-13 Thread Mugunthan V N
.xlate ops to omap_gpio. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/gpio/omap_gpio.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/gpio/omap_gpio.c b/drivers/gpio/omap_gpio.c index cd960dc..93d18e4 100644 --- a/drivers/gpio/omap_gpio.c +++ b/driver

Re: [U-Boot] [PATCH v2 1/1] ARM: DRA72x: fix io delay calibration for ethernet

2015-07-07 Thread Mugunthan V N
On Monday 22 June 2015 02:43 PM, Mugunthan V N wrote: we currently use in-development IODelay values for DRA72x which are proposed in the data sheet, however, DRA72x EVM uses DP83865 ethernet Phy over RGMII. The PHY characteristics and routing choices made on the EVM, make the current iodelay

Re: [U-Boot] [PATCH v2 03/16] drivers: spi: ti_qspi: prepare driver for DM conversion

2015-11-18 Thread Mugunthan V N
separately add do the dm > conversion only on existing code. > ctrl_mod_map is used in non DM mode as well. Earlier there was a define, I changed it to a variable while preparing driver for DM conversion. Regards Mugunthan V N ___ U-Boo

Re: [U-Boot] [PATCH v2 03/16] drivers: spi: ti_qspi: prepare driver for DM conversion

2015-11-16 Thread Mugunthan V N
On Friday 06 November 2015 05:37 PM, Simon Glass wrote: > Hi Mugunthan, > > On 4 November 2015 at 01:16, Mugunthan V N <mugunthan...@ti.com> wrote: >> Prepare driver for DM conversion. >> >> Signed-off-by: Mugunthan V N <mugunthan...@ti.com>

Re: [U-Boot] [PATCH v2 03/16] drivers: spi: ti_qspi: prepare driver for DM conversion

2015-11-16 Thread Mugunthan V N
On Tuesday 17 November 2015 11:51 AM, Jagan Teki wrote: > On 4 November 2015 at 13:46, Mugunthan V N <mugunthan...@ti.com> wrote: >> Prepare driver for DM conversion. >> >> Signed-off-by: Mugunthan V N <mugunthan...@ti.com> >&

Re: [U-Boot] [PATCH v2 09/16] arm: dts: dra7: add qspi register maps for memory map and control module

2015-11-17 Thread Mugunthan V N
On Monday 16 November 2015 07:43 AM, Tom Rini wrote: > On Sat, Nov 14, 2015 at 01:01:45PM +0530, Mugunthan V N wrote: >> On Thursday 12 November 2015 06:17 PM, Tom Rini wrote: >>> On Thu, Nov 12, 2015 at 02:33:48PM +0530, Mugunthan V N wrote: >>>> On Sunday 08 No

Re: [U-Boot] [PATCH v2 04/16] dm: core: Add a new api to get indexed device address

2015-11-16 Thread Mugunthan V N
On Friday 06 November 2015 05:37 PM, Simon Glass wrote: > +Stephen > > Hi, > > On 4 November 2015 at 01:16, Mugunthan V N <mugunthan...@ti.com> wrote: >> Add new api to get device address based on index. >> >> Signed-off-by: Mugunthan V N <mugunthan..

  1   2   3   4   5   6   7   >