[U-Boot] [PATCH v2 3/3] drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model

2016-12-14 Thread Mugunthan V N
Adopt usb ether gadget and rndis driver to adopt driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/usb/gadget/ether.c | 152 ++--- drivers/usb/gadget/rndis.c | 13 +++- drivers/usb/gadget/rndis.h | 19 -- include

[U-Boot] [PATCH v2 0/3] DM conversion of usb ether gadget

2016-12-14 Thread Mugunthan V N
://lists.denx.de/pipermail/u-boot/2016-February/246827.html Mugunthan V N (3): drivers: usb: gadget: ether: do not register usb when DM_USB and DM_ETH defined drivers: usb: gadget: ether: remove unused variable tmp drivers: usb: gadget: ether/rndis: convert driver to adopt device

[U-Boot] [PATCH v2 1/3] drivers: usb: gadget: ether: do not register usb when DM_USB and DM_ETH defined

2016-12-14 Thread Mugunthan V N
@4a10 misc[ + ]`-- usb@4740 usb_dev_gen [ + ]|-- usb@47401000 eth [ + ]| `-- usb_ether usb [ ]`-- usb@47401800 Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/usb/gadget/ether.c | 8 ++--

[U-Boot] [PATCH v2 2/3] drivers: usb: gadget: ether: remove unused variable tmp

2016-12-14 Thread Mugunthan V N
tmp variable in eth_bind() is never used any where, so remove it. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/usb/gadget/ether.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index bcc8be86a5..e8d9e4a9c9

Re: [U-Boot] [PATCH resend v3 6/6] drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model

2016-11-29 Thread Mugunthan V N
On Wednesday 30 November 2016 05:24 AM, Joe Hershberger wrote: > On Thu, Nov 17, 2016 at 11:39 PM, Mugunthan V N <mugunthan...@ti.com> wrote: >> Adopt usb ether gadget and rndis driver to adopt driver model >> >> Signed-off-by: Mugunthan V N <mugunthan...@ti.com&

Re: [U-Boot] [PATCH v3 1/6] drivers: usb: gadget: ether: adopt to usb driver model

2016-11-29 Thread Mugunthan V N
On Wednesday 30 November 2016 04:43 AM, Joe Hershberger wrote: > On Sun, Nov 27, 2016 at 11:02 AM, Simon Glass <s...@chromium.org> wrote: >> Hi Mugunthan, >> >> On 24 November 2016 at 01:11, Mugunthan V N <mugunthan...@ti.com> wrote: >>> Hi Simon >

Re: [U-Boot] [PATCH v3 1/6] drivers: usb: gadget: ether: adopt to usb driver model

2016-11-24 Thread Mugunthan V N
Hi Simon On Thursday 24 November 2016 07:51 AM, Simon Glass wrote: > Hi Mugunthan, > > On 20 November 2016 at 22:38, Mugunthan V N <mugunthan...@ti.com> wrote: >> Hi Simon, >> >> On Saturday 19 November 2016 01:04 AM, Simon Glass wrote: >>> Hi Mugun

Re: [U-Boot] [PATCH] defconfig: am43xx_evm: Enable DM_SPI and DM_SPI_FLASH

2016-11-22 Thread Mugunthan V N
-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 v3 1/6] drivers: usb: gadget: ether: adopt to usb driver model

2016-11-20 Thread Mugunthan V N
Hi Simon, On Saturday 19 November 2016 01:04 AM, Simon Glass wrote: > Hi Mugunthan, > > On 17 November 2016 at 01:09, Mugunthan V N <mugunthan...@ti.com> wrote: >> Convert usb ether gadget to adopt usb driver model >> >> Signed-off-by: Mugunthan V N <mugunt

[U-Boot] [PATCH v3 4/6] drivers: usb: gadget: ether: use net device priv to pass usb ether priv

2016-11-20 Thread Mugunthan V N
Use net device priv to pass usb ether priv and use it in net device ops callback. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- drivers/usb/gadget/ether.c | 46 +- 1 file changed, 2

[U-Boot] [PATCH v3 6/6] drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model

2016-11-20 Thread Mugunthan V N
Adopt usb ether gadget and rndis driver to adopt driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/usb/gadget/Kconfig | 4 ++ drivers/usb/gadget/ether.c | 153 ++--- drivers/usb/gadget/rndis.c | 13 +++- drivers/usb/

[U-Boot] [PATCH v3 3/6] drivers: usb: gadget: ether: consolidate global devices to single struct

2016-11-18 Thread Mugunthan V N
Consolidate the net device, usb eth device and gadget device struct to single struct and a single global variable so that the same can be passed as priv of ethernet driver. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- driver

[U-Boot] [PATCH v3 0/6] DM conversion of usb ether gadget

2016-11-18 Thread Mugunthan V N
USLEEP_RANGE patches/usb_gadget/v3.00/0006-drivers-usb-gadget-ether-rndis-convert-driver-to-ado.patch has style problems, please review. Mugunthan V N (6): drivers: usb: gadget: ether: adopt to usb driver model drivers: usb: gadget: ether: access network_started using local variable

[U-Boot] [PATCH v3 2/6] drivers: usb: gadget: ether: access network_started using local variable

2016-11-18 Thread Mugunthan V N
network_started of struct eth_dev can be accessed using local variable dev and no reason to access it with the global struct. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- drivers/usb/gadget/ether.c | 10 +- 1 fil

Re: [U-Boot] [PATCH v3 0/6] DM conversion of usb ether gadget

2016-11-17 Thread Mugunthan V N
On Thursday 17 November 2016 01:39 PM, Mugunthan V N wrote: > This patch series adopts driver model for usb ether gadget > driver. This series is tested with MUSB driver model conversion > on AM335x GP evm and AM335x BBB (logs [1]). Please drop this patch series as not all patches of th

[U-Boot] [PATCH resend v3 6/6] drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model

2016-11-17 Thread Mugunthan V N
Adopt usb ether gadget and rndis driver to adopt driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/usb/gadget/Kconfig | 4 ++ drivers/usb/gadget/ether.c | 153 ++--- drivers/usb/gadget/rndis.c | 13 +++- drivers/usb/

[U-Boot] [PATCH resend v3 5/6] drivers: usb: gadget: ether: prepare driver for driver model migration

2016-11-17 Thread Mugunthan V N
prepare driver for driver model migration Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/usb/gadget/ether.c | 73 +- 1 file changed, 52 insertions(+), 21 deletions(-) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/e

[U-Boot] [PATCH resend v3 4/6] drivers: usb: gadget: ether: use net device priv to pass usb ether priv

2016-11-17 Thread Mugunthan V N
Use net device priv to pass usb ether priv and use it in net device ops callback. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- drivers/usb/gadget/ether.c | 46 +- 1 file changed, 2

[U-Boot] [PATCH resend v3 3/6] drivers: usb: gadget: ether: consolidate global devices to single struct

2016-11-17 Thread Mugunthan V N
Consolidate the net device, usb eth device and gadget device struct to single struct and a single global variable so that the same can be passed as priv of ethernet driver. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- driver

[U-Boot] [PATCH resend v3 2/6] drivers: usb: gadget: ether: access network_started using local variable

2016-11-17 Thread Mugunthan V N
network_started of struct eth_dev can be accessed using local variable dev and no reason to access it with the global struct. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- drivers/usb/gadget/ether.c | 10 +- 1 fil

[U-Boot] [PATCH resend v3 1/6] drivers: usb: gadget: ether: adopt to usb driver model

2016-11-17 Thread Mugunthan V N
Convert usb ether gadget to adopt usb driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- drivers/usb/gadget/ether.c | 36 1 file changed, 36 insertions(+) diff --git a/drivers/usb/gadg

[U-Boot] [PATCH resend v3 0/6] DM conversion of usb ether gadget

2016-11-17 Thread Mugunthan V N
as this has to be fixed all over the file which should be a separate patch. CHECK: Avoid CamelCase: #297: FILE: drivers/usb/gadget/rndis.c:1157: +int rndis_set_param_dev(u8 configNr, struct eth_device *dev, int mtu, Mugunthan V N (6): drivers: usb: gadget: ether: adopt to usb driver model drivers: usb

Re: [U-Boot] [PATCH] drivers: net: keystone_net: add rgmii link type support when parsing dt

2016-11-17 Thread Mugunthan V N
mentation/devicetree/bindings/net/keystone-netcp.txt), still do we need to document the same in u-boot as well? Regards Mugunthan V N ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v3 10/10] defconfig: am335x_evm: enable usb driver model

2016-11-17 Thread Mugunthan V N
enable usb driver model for am335x bbb as musb supports driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/am335x_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig index e5a1696914..7e1c

[U-Boot] [PATCH v3 08/10] am33xx: board: init usb ether gadget for rndis support

2016-11-17 Thread Mugunthan V N
Add usb ether gadget device with usb_ether_init() when CONFIG_DM_ETH and CONFIG_USB_ETHER are defined. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- arch/arm/cpu/armv7/am33xx/board.c | 8 1 file changed, 8 insertions(+)

[U-Boot] [PATCH v3 09/10] am335x_evm: enable usb ether gadget as it supports DM_ETH

2016-11-17 Thread Mugunthan V N
Since usb ether gadget have support for driver model, so enable usb ether gadget. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- include/configs/am335x_evm.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/am

[U-Boot] [PATCH v3 07/10] drivers: usb: musb: add ti musb peripheral driver with driver model support

2016-11-17 Thread Mugunthan V N
Add a TI MUSB peripheral driver with driver model support and the driver will be bound by the MUSB wrapper driver based on the dr_mode device tree entry. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- drivers/usb/musb-new/musb_u

[U-Boot] [PATCH v3 06/10] drivers: usb: musb: add ti musb host driver with driver model support

2016-11-17 Thread Mugunthan V N
Add a TI MUSB host driver with driver model support and the driver will be bound by the MUSB wrapper driver based on the dr_mode device tree entry. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- drivers/usb/musb-new/ti-

[U-Boot] [PATCH v3 05/10] drivers: usb: musb: adopt musb backend driver to driver model

2016-11-17 Thread Mugunthan V N
Currently all backend driver ops uses hard coded physical address, so to adopt the driver to DM, add device pointer to ops call backs so that drivers can get physical addresses from the usb driver priv/plat data. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Ri

[U-Boot] [PATCH v3 04/10] am33xx: board: probe misc drivers to register musb devices

2016-11-17 Thread Mugunthan V N
MUSB wrapper driver is bound as MISC device and underlying usb devices are bind to usb drivers based on dr_mode, so probing the MISC wrapper driver to register musb devices. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- arch/a

[U-Boot] [PATCH v3 02/10] am33xx: board: do not register usb devices when CONFIG_DM_USB is defined

2016-11-17 Thread Mugunthan V N
Do not register usb devices when CONFIG_DM_USB is define. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- arch/arm/cpu/armv7/am33xx/board.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/am

[U-Boot] [PATCH v3 01/10] configs: am335x: usb: do not define CONFIG_DM_USB for spl

2016-11-17 Thread Mugunthan V N
Since OMAP's spl doesn't support DM currently, do not define CONFIG_DM_USB for spl build. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- include/configs/am335x_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/inc

[U-Boot] [PATCH v3 00/10] driver model bring-up of musb on AM335x GP and BBB

2016-11-17 Thread Mugunthan V N
are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 0 warnings, 0 checks, 14 lines checked Mugunthan V N (10): configs: am335x: usb: do not define CONFIG_DM_USB for spl am33xx: board: do not register usb devices when CONFIG_DM_USB is de

[U-Boot] [PATCH v3 03/10] drivers: usb: musb: add ti musb misc driver for wrapper

2016-11-17 Thread Mugunthan V N
Add a misc driver for MUSB wrapper, so that based on dr_mode the USB devices can bind to USB host or USB device drivers. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- drivers/usb/musb-new/Kconfig | 9 ++ drivers/usb/musb-

[U-Boot] [PATCH v3 5/6] drivers: usb: gadget: ether: prepare driver for driver model migration

2016-11-17 Thread Mugunthan V N
prepare driver for driver model migration Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/usb/gadget/ether.c | 73 +- 1 file changed, 52 insertions(+), 21 deletions(-) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/e

[U-Boot] [PATCH v3 1/6] drivers: usb: gadget: ether: adopt to usb driver model

2016-11-17 Thread Mugunthan V N
Convert usb ether gadget to adopt usb driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- drivers/usb/gadget/ether.c | 36 1 file changed, 36 insertions(+) diff --git a/drivers/usb/gadg

[U-Boot] [PATCH] drivers: net: keystone_net: add rgmii link type support when parsing dt

2016-11-14 Thread Mugunthan V N
Add support to detect RGMII link interface from link-interface device tree entry. Also rename the existing link type enums so that it provides meaning full interface like SGMII. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- Without this support there is a crash in K2G EVM tftp b

[U-Boot] [PATCH v2 2/3] include: configs: am335x: add Atheros phy support

2016-10-13 Thread Mugunthan V N
In AM335x GP EVM, Atheros 8031 phy is used, enable the driver as AM335x SoC RGMII delay mode has to be enabled in phy as mentioned in the silicon errata Advisory 1.0.10 Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Acked-by: Joe Hershberger <joe.hershber...@ni.com> --- inc

[U-Boot] [PATCH v2 0/3] Add Atheros phy delay support and CPSW RGMII id support

2016-10-13 Thread Mugunthan V N
u-boot.git cpsw-rgmii-v2 Mugunthan V N (3): drivers: net: phy: atheros: add separate config for AR8031 include: configs: am335x: add Atheros phy support driver: net: cpsw: add support for RGMII id mode support and RMII clock source selection drivers/net/cpsw.c

[U-Boot] [PATCH v2 3/3] driver: net: cpsw: add support for RGMII id mode support and RMII clock source selection

2016-10-13 Thread Mugunthan V N
cpsw driver supports only selection of phy mode in control module but control module has more setting like RGMII ID mode selection, RMII clock source selection. So ported to cpsw-phy-sel driver from kernel to u-boot. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Signed-off-by: Lokesh

[U-Boot] [PATCH v2 1/3] drivers: net: phy: atheros: add separate config for AR8031

2016-10-13 Thread Mugunthan V N
EVMsk second port which uses AR8031 Giga bit RGMII phy. Fixing this by adding separate config for AR8031 phy. Reviewed-by: Sekhar Nori <nsek...@ti.com> Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Acked-by: Joe Hershberger <joe.hershber...@ni.com> --- drivers/net/

Re: [U-Boot] [PATCH 3/3] driver: net: cpsw: add support for RGMII id mode support and RMII clock source selection

2016-10-12 Thread Mugunthan V N
On Thursday 13 October 2016 09:39 AM, Lokesh Vutla wrote: > > > On Monday 10 October 2016 06:27 PM, Mugunthan V N wrote: >> cpsw driver supports only selection of phy mode in control module >> but control module has more setting like RGMII ID mode selection, >> RMII

[U-Boot] [PATCH 2/3] include: configs: am335x: add Atheros phy support

2016-10-10 Thread Mugunthan V N
In AM335x GP EVM, Atheros 8031 phy is used, enable the driver as AM335x SoC RGMII delay mode has to be enabled in phy as mentioned in the silicon errata Advisory 1.0.10 Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2 inse

[U-Boot] [PATCH 1/3] drivers: net: phy: atheros: add separate config for AR8031

2016-10-10 Thread Mugunthan V N
EVMsk second port which uses AR8031 Giga bit RGMII phy. Fixing this by adding separate config for AR8031 phy. Reviewed-by: Sekhar Nori <nsek...@ti.com> Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/net/phy/atheros.c | 37 - 1 file

[U-Boot] [PATCH 3/3] driver: net: cpsw: add support for RGMII id mode support and RMII clock source selection

2016-10-10 Thread Mugunthan V N
cpsw driver supports only selection of phy mode in control module but control module has more setting like RGMII ID mode selection, RMII clock source selection. So ported to cpsw-phy-sel driver from kernel to u-boot. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/net/cpsw.c

[U-Boot] [PATCH 0/3] Add Atheros phy delay support and CPSW RGMII id support

2016-10-10 Thread Mugunthan V N
for testing [2]. * DRA 72 Rev B EVM * DRA 72 Rev C EVM * DRA 74 EVM * AM437x GP EVM * AM335x BBB * AM335x GP EVM [1] - http://pastebin.ubuntu.com/23302895/ [2] - git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git cpsw-rgmii Mugunthan V N (3): drivers: net: phy: atheros: add separate config

[U-Boot] [PATCH 0/2] Add DRA72 Rev C support

2016-09-27 Thread Mugunthan V N
V N (2): ARM: dts: dra72: add rev C evm support board: ti: dra7xx: complex definitions should be protected with parentheses arch/arm/dts/Makefile | 3 +- arch/arm/dts/dra72-evm-common.dtsi | 513 arch/arm/dts/dra72-evm-revc.dts| 70

[U-Boot] [PATCH 2/2] board: ti: dra7xx: complex definitions should be protected with parentheses

2016-09-27 Thread Mugunthan V N
As a standard practice complex definitions should be protected with parentheses, as it might fail when used in a complex if statements. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- board/ti/dra7xx/evm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a

[U-Boot] [PATCH 1/2] ARM: dts: dra72: add rev C evm support

2016-09-27 Thread Mugunthan V N
Add DTS support for dra72 evm Rev C which has the following changes * Two ethernet ports now instead of the single one in rev B. * DP83867 ethernet phy instead of DP838865. Cc: Vignesh R <vigne...@ti.com> Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/

[U-Boot] [PATCH] ARM: dts: dra72-evm: fix broken ethernet

2016-08-31 Thread Mugunthan V N
With commit ceec08f50b6, phy is connected to slave 0, but changing the phy node was missed, fix it by populating the phy node to proper cpsw slave node. Fixes: ceec08f50b6 ("ARM: dts: dra72-evm: Add mode-gpios entry for mac node") Signed-off-by: Mugunthan V N <mugunthan...@ti.com&g

Re: [U-Boot] [PATCH v2 2/2] net: davinci_emac: Invalidate only the received portion of a buffer

2016-08-16 Thread Mugunthan V N
On Monday 15 August 2016 10:53 PM, Karl Beldan wrote: > ATM when receiving a packet the whole buffer is invalidated, this change > optimizes this behaviour. > > Signed-off-by: Karl Beldan <karl.beldan+...@gmail.com> Reviewed-by: Mugunthan V N <mugunthan...@ti.com>

Re: [U-Boot] [PATCH v2 1/2] net: davinci_emac: Round up top tx buffer boundaries for dcache ops

2016-08-16 Thread Mugunthan V N
operation at range > > Signed-off-by: Karl Beldan <karl.beldan+...@gmail.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

[U-Boot] [PATCH] drivers: net: keystone_net: add rgmii link type support when parsing dt

2016-08-11 Thread Mugunthan V N
Add support to detect RGMII link interface from link-interface device tree entry. Also rename the existing link type enums so that it provides meaningful interface like SGMII. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- Tested this patch on Keystone K2G evm, logs [1] [1]

Re: [U-Boot] [PATCH v3] drivers: net: cpsw: always flush cache of size aligned to PKTALIGN

2016-08-11 Thread Mugunthan V N
he of size aligned to PKTALIGN. > > Signed-off-by: Lokesh Vutla <lokeshvu...@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

[U-Boot] [PATCH] defconfig: am43xx_evm: enable eth driver model

2016-08-11 Thread Mugunthan V N
Enable eth driver model for am43xx_evm as cpsw supports driver model. This was already added with the commit bc705ea1cf12 but with commit 4c4e3b37750f to add fit support CONFIG_DM_ETH was missed. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Cc: Lokesh Vutla <lokeshvu.

[U-Boot] [PATCH] configs: dra7xx_evm: enable eth driver model

2016-08-10 Thread Mugunthan V N
Enable eth driver model for dra7xx_evm as cpsw supports driver model. This was already added with the commit 641b936fa5ba but with commit bd7245849f7c to add fit support CONFIG_DM_ETH was missed. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Cc: Lokesh Vutla <lokeshvu.

Re: [U-Boot] [PATCH 3/4] ARM: dts: k2g-evm: enable mmc/sd suppport

2016-08-10 Thread Mugunthan V N
On Wednesday 10 August 2016 07:24 PM, Sekhar Nori wrote: > The K2G EVM from TI has an SD card slot as > well as onboard eMMC for data storage. > > Enable support for these. > > Signed-off-by: Sekhar Nori <nsek...@ti.com> Acked-by: Mugunthan V N <mugunthan...@ti.

Re: [U-Boot] [PATCH 4/4] defconfig: k2g_evm_defconfig: Enable mmc driver model

2016-08-10 Thread Mugunthan V N
On Wednesday 10 August 2016 07:24 PM, Sekhar Nori wrote: > K2G can benefit from driver model support in the > MMC/SD driver it uses: omap_hsmmc > > Enable driver model MMC support for K2G. > > Signed-off-by: Sekhar Nori <nsek...@ti.com> > --- Acked-by: Mugunth

Re: [U-Boot] [PATCH 2/4] ARM: dts: K2G: Add support for MMC controller

2016-08-10 Thread Mugunthan V N
On Wednesday 10 August 2016 07:24 PM, Sekhar Nori wrote: > K2G SoC from TI has two MMC/SD controllers. > Add device tree data for these. > > Signed-off-by: Sekhar Nori <nsek...@ti.com> > --- Acked-by: Mugunthan V N <mugunthan...@ti.com

Re: [U-Boot] [PATCH 1/4] drivers: mmc: omap_hsmmc: fix build breakage

2016-08-10 Thread Mugunthan V N
= fdtdec_get_bool(fdt, node, "cd-inverted"); > ^ > > Fix this by accessing cd_inverted only when > OMAP_HSMMC_USE_GPIO is defined. > > Signed-off-by: Sekhar Nori <nsek...@ti.com> Acked-by: Mugunthan V N <mugunthan...@ti.com> Regards Mugunthan V N ___

Re: [U-Boot] [PATCH v2] drivers: net: cpsw: always flush cache of size PKTSIZE_ALIGN

2016-08-09 Thread Mugunthan V N
hing cache of size PKTSIZE_ALIGN as similar to what is > being done in _cpsw_recv. > > Signed-off-by: Lokesh Vutla <lokeshvu...@ti.com> Tested-by: Mugunthan V N <mugunthan...@ti.com> Regards Mugunthan V N ___ U-Boot mailing list U-Boot@lis

Re: [U-Boot] [PATCH v3 5/5] ARM: dts: dra72-evm: Add mode-gpios entry for mac node

2016-08-02 Thread Mugunthan V N
-off-by: Vignesh R <vigne...@ti.com> > Reviewed-by: Tom Rini <tr...@konsulko.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 v3 3/5] ARM: dts: dra7xx: Add u-boot specific property for PCF8575 nodes

2016-08-02 Thread Mugunthan V N
iewed-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 4/5] net: cpsw: Add support to drive gpios for ethernet to be functional

2016-08-02 Thread Mugunthan V N
f-by: Vignesh R <vigne...@ti.com> > Reviewed-by: Tom Rini <tr...@konsulko.com> > Acked-by: Joe Hershberger <joe.hershber...@ni.com> Reviewed-by: Mugunthan V N <mugunthan...@ti.com> Regards Mugunthan V N ___ U-Boot mailing l

Re: [U-Boot] [PATCH v3 2/5] ARM: dra7xx_evm: Enable support for TI PCF8575

2016-08-02 Thread Mugunthan V N
On Tuesday 02 August 2016 10:14 AM, Vignesh R wrote: > On DRA7, pcf chip present at address 0x21 on i2c1, is used to > switch between cpsw slave0 and slave1. Hence, enable PCF > driver for the same. > > Signed-off-by: Vignesh R <vigne...@ti.com> Reviewed-by: Mugunthan V N

Re: [U-Boot] [PATCH v3 1/5] gpio: Add driver for TI PCF8575 I2C GPIO expander

2016-08-02 Thread Mugunthan V N
> > Signed-off-by: Vignesh R <vigne...@ti.com> > Reviewed-by: Tom Rini <tr...@konsulko.com> > Reviewed-by: Simon Glass <s...@chromium.org> Reviewed-by: Mugunthan V N <mugunthan...@ti.com> Regards Mugunthan V N ___

[U-Boot] [PATCH 4/5] configs: k2e_evm: add random eth address support

2016-08-02 Thread Mugunthan V N
There is only one ethernet mac address in e-fuse, but there are multiple slaves in keystone net, so enable random mac address support. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/k2e_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/k2e_evm_def

[U-Boot] [PATCH 5/5] configs: k2l_evm: add random eth address support

2016-08-02 Thread Mugunthan V N
There is only one ethernet mac address in e-fuse, but there are multiple slaves in keystone net, so enable random mac address support. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/k2l_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/k2l_evm_def

[U-Boot] [PATCH 0/5] Enabling multi port ethernet support for keystone net

2016-08-02 Thread Mugunthan V N
multi-port-support/v1.00/0002-drivers-net-keystone_net-add-support-for-multi-slave.patch has style problems, please review. Mugunthan V N (5): drivers: net: keystone_net: fix line termination with semi-colon drivers: net: keystone_net: add support for multi slave ethernet configs: k2hk_evm:

[U-Boot] [PATCH 2/5] drivers: net: keystone_net: add support for multi slave ethernet

2016-08-02 Thread Mugunthan V N
Keystone net can have multiple ethernet slaves, currently only slave 1 is supported by the driver. Register multiple slaves as individual ethernets to network framework. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/net/keystone_net.c

[U-Boot] [PATCH 1/5] drivers: net: keystone_net: fix line termination with semi-colon

2016-08-02 Thread Mugunthan V N
Each line should be terminated by semi-colon. It was not caught earlier as there is a proper statement. Fix it by changing the comma with semi-colon. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/net/keystone_net.c | 6 +++--- 1 file changed, 3 insertions(+), 3 del

[U-Boot] [PATCH 3/5] configs: k2hk_evm: add random eth address support

2016-08-02 Thread Mugunthan V N
There is only one ethernet mac address in e-fuse, but there are multiple slaves in keystone net, so enable random mac address support. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/k2hk_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/c

Re: [U-Boot] [PATCH v2 2/2] ARM: dts: am57xx-idk-common: Enable support for QSPI

2016-07-29 Thread Mugunthan V N
On Friday 29 July 2016 02:22 PM, Vignesh R wrote: > AM571x and AM572x IDK have a spansion s25fl256s QSPI flash on the board > connected to TI QSPI over CS0. Hence, add QSPI and flash slave > DT nodes. > > Signed-off-by: Vignesh R <vigne...@ti.com> Reviewed-by: Mugunthan V N

Re: [U-Boot] [PATCH v2 1/2] ARM: am57xx_evm: Enable QSPI support

2016-07-29 Thread Mugunthan V N
On Friday 29 July 2016 02:22 PM, Vignesh R wrote: > AM571x IDK and AM572x IDK EVMs have spansion s25fl256s QSPI flash on the > board connected to TI QSPI IP over CS0. Therefore enable QSPI support. > > Signed-off-by: Vignesh R <vigne...@ti.com> Reviewed-by: Mugunthan V N &l

Re: [U-Boot] [PATCH 1/2] ARM: am57xx_evm: Enable QSPI support

2016-07-29 Thread Mugunthan V N
On Friday 29 July 2016 02:27 PM, Vignesh R wrote: > > > On Friday 29 July 2016 02:24 PM, Mugunthan V N wrote: >> On Friday 29 July 2016 12:03 PM, Vignesh R wrote: >>> AM571x IDK and AM572x IDK EVMs have spansion s25fl256s QSPI flash on the >>> board connected

Re: [U-Boot] [PATCH 1/2] ARM: am57xx_evm: Enable QSPI support

2016-07-29 Thread Mugunthan V N
nfigs/am57xx_evm_defconfig > +++ b/configs/am57xx_evm_defconfig > @@ -41,3 +41,8 @@ CONFIG_SPL_OF_LIBFDT=y > CONFIG_SPL_LOAD_FIT=y > CONFIG_OF_LIST="am57xx-beagle-x15 am572x-idk" > CONFIG_DM_I2C=y > +CONFIG_DM_SPI=y > +CONFIG_DM_SPI_FLASH=y > +CONFIG_SPI_FLASH_SPANSION=y > +CONFI

Re: [U-Boot] [PATCH 4/4] ARM: dts: dra7xx: Update spi-max-frequency for QSPI

2016-07-29 Thread Mugunthan V N
lt;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 3/4] configs: dra7xx: Update QSPI speed to 76.8MHz

2016-07-29 Thread Mugunthan V N
On Monday 25 July 2016 03:45 PM, Vignesh R wrote: > Now that QSPI driver can support 76.8MHz, update the > CONFIG_SF_DEFAULT_SPEED to the same value. > > Signed-off-by: Vignesh R <vigne...@ti.com> Reviewed-by: Mugunthan V N <mugunthan...@ti.com>

Re: [U-Boot] [PATCH 1/4] ARM: dra7xx: Change DPLL_PER_HS13 divider value

2016-07-29 Thread Mugunthan V N
the same. > > 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 2/4] spi: ti_qspi: dra7xx: Add support to use 76.8MHz clock

2016-07-29 Thread Mugunthan V N
On Monday 25 July 2016 03:45 PM, Vignesh R wrote: > According to AM572x DM SPRS953A, QSPI bus speed can be 76.8MHz, update > the driver to use the same. > > Signed-off-by: Vignesh R <vigne...@ti.com> Reviewed-by: Mugunthan V N <mugunthan...@ti.com>

Re: [U-Boot] [PATCH] configs: am43xx_evm_defconfig: Enable CONFIG_SPI_FLASH_BAR

2016-07-29 Thread Mugunthan V N
On Thursday 28 July 2016 05:27 PM, Vignesh R wrote: > AM437x SK and AM437x IDK EVMs have 64MB flash, therefore enable > CONFIG_SPI_FLASH_BAR to access flash regions above 16MB. > > Signed-off-by: Vignesh R <vigne...@ti.com> Reviewed-by: Mugunthan V N <mugunthan...@ti.com>

Re: [U-Boot] [PATCH 03/14] drivers: i2c: uclass: parse dt parameters only when CONFIG_OF_CONTROL is enable

2016-07-25 Thread Mugunthan V N
On Friday 22 July 2016 07:46 PM, Simon Glass wrote: > Hi Muganthan, > > On 22 July 2016 at 01:35, Mugunthan V N <mugunthan...@ti.com> wrote: >> On Friday 22 July 2016 08:51 AM, Simon Glass wrote: >>> Hi Mugunthan, >>> >>> On 18 July 2016 at

Re: [U-Boot] [PATCH v2 3/3] spi: ti_qspi: Remove delay in read path for dra7xx

2016-07-22 Thread Mugunthan V N
testing on DRA74/DRA72 evm has shown that > this delay is no longer required. > > 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@list

Re: [U-Boot] [PATCH v2 2/3] spi: ti_qspi: Fix compiler warning when DEBUG macro is set

2016-07-22 Thread Mugunthan V N
ignesh 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 1/3] spi: ti_qspi: Fix failure on multiple READ_ID cmd

2016-07-22 Thread Mugunthan V N
h results in sf probe to fail. > Fix this by not populating priv->cmd with QSPI_RD_SNGL and OR it wih > priv->cmd as required (similar to the convention followed in the > driver). > > Signed-off-by: Vignesh R <vigne...@ti.com> Reviewed-by: Mugunthan V N &l

Re: [U-Boot] [PATCH 03/14] drivers: i2c: uclass: parse dt parameters only when CONFIG_OF_CONTROL is enable

2016-07-22 Thread Mugunthan V N
On Friday 22 July 2016 08:51 AM, Simon Glass wrote: > Hi Mugunthan, > > On 18 July 2016 at 03:40, Mugunthan V N <mugunthan...@ti.com> wrote: >> parse dt parameter of i2c devices only when CONFIG_OF_CONTROL >> is enabled. >> >> Signed-off-by: Mugunthan V N &

[U-Boot] [PATCH 14/14] defconfig: am57xx_hs_evm: enable i2c driver model

2016-07-18 Thread Mugunthan V N
Enable i2c driver model for am57xx_hs_evm as omap i2c supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/am57xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am57xx_hs_evm_defconfig b/configs/am57xx_hs_evm_defconfig index 0

[U-Boot] [PATCH 10/14] defconfig: am43xx_hs_evm: enable i2c driver model

2016-07-18 Thread Mugunthan V N
Enable i2c driver model for am43xx_hs_evm as omap i2c supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/am43xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am43xx_hs_evm_defconfig b/configs/am43xx_hs_evm_defconfig index 6

[U-Boot] [PATCH 13/14] defconfig: am57xx_evm: enable i2c driver model

2016-07-18 Thread Mugunthan V N
Enable i2c driver model for am57xx_evm as omap i2c supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/am57xx_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index c29a05a..8

[U-Boot] [PATCH 12/14] defconfig: dra7xx_hs_evm: enable i2c driver model

2016-07-18 Thread Mugunthan V N
Enable i2c driver model for dra7xx_hs_evm as omap i2c supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/dra7xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/dra7xx_hs_evm_defconfig b/configs/dra7xx_hs_evm_defconfig index e

[U-Boot] [PATCH 11/14] defconfig: dra7xx_evm: enable i2c driver model

2016-07-18 Thread Mugunthan V N
Enable i2c driver model for dra7xx_evm as omap i2c supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/dra7xx_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index 756af63..1

[U-Boot] [PATCH 09/14] defconfig: am43xx_evm: enable i2c driver model

2016-07-18 Thread Mugunthan V N
Enable i2c driver model for am43xx_evm as omap i2c supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/am43xx_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am43xx_evm_defconfig b/configs/am43xx_evm_defconfig index cb3de11..0

[U-Boot] [PATCH 08/14] defconfig: am335x_evm: enable i2c driver model

2016-07-18 Thread Mugunthan V N
Enable i2c driver model for am335x_evm as omap i2c supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/am335x_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig index 696024c..6

[U-Boot] [PATCH 07/14] defconfig: am335x_boneblack_vboot: enable i2c driver model

2016-07-18 Thread Mugunthan V N
Enable i2c driver model for am335x_boneblack_vboot as omap i2c supports driver model. Also enable CONFIG_DM_I2C_COMPAT for legacy drivers of i2c devices. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/am335x_boneblack_vboot_defconfig | 1 + include/configs/ti_armv7_co

[U-Boot] [PATCH 06/14] drivers: i2c: omap24xx_i2c: adopt omap_i2c driver to driver model

2016-07-18 Thread Mugunthan V N
Convert omap i2c driver to adopt i2c driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/i2c/omap24xx_i2c.c | 99 ++ 1 file changed, 99 insertions(+) diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c

[U-Boot] [PATCH 02/14] omap5/dra7: i2c: correct register offset for sync register

2016-07-18 Thread Mugunthan V N
The register offset of i2c_sysc offset is not correct as per omap5[1]/dra7[2] TRM, correct the offsets as per the documentation. [1] - http://www.ti.com/lit/pdf/swpu249 [2] - http://www.ti.com/lit/pdf/spruhz6 Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/include/asm/arch

[U-Boot] [PATCH 03/14] drivers: i2c: uclass: parse dt parameters only when CONFIG_OF_CONTROL is enable

2016-07-18 Thread Mugunthan V N
parse dt parameter of i2c devices only when CONFIG_OF_CONTROL is enabled. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/i2c/i2c-uclass.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/i2c/i2c-uclass.c b/drivers/i2c/i2c-uclass.c index 50b99ea..2

[U-Boot] [PATCH 04/14] ti_armv7_common: i2c: do not define DM_I2C for spl

2016-07-18 Thread Mugunthan V N
Since omap's spl doesn't support DM currently, do not define DM_I2C for spl build. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- include/configs/ti_armv7_common.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/ti_armv7_common.h b/include/c

[U-Boot] [PATCH 05/14] drivers: i2c: omap24xx_i2c: prepare driver for DM conversion

2016-07-18 Thread Mugunthan V N
Prepare the driver for DM conversion. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/i2c/omap24xx_i2c.c | 308 + 1 file changed, 175 insertions(+), 133 deletions(-) diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx

[U-Boot] [PATCH 01/14] omap4: i2c: correct register offset for sync register

2016-07-18 Thread Mugunthan V N
The register offset of i2c_sysc offset is not correct as per omap4 TRM [1], correct the offsets as per the documentation. [1] - http://www.ti.com/lit/ug/swpu235ab/swpu235ab.pdf Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/include/asm/arch-omap4/i2c.h | 6 +++---

  1   2   3   4   5   6   7   >