[U-Boot] [PATCH 00/14] DM conversion of omap i2c driver

2016-07-18 Thread Mugunthan V N
2C_COMPAT. Please remove (possibly in a subsequent patch in your series) before sending patches to the mailing list. [1] - git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dm-i2c Mugunthan V N (14): omap4: i2c: correct regist

Re: [U-Boot] [RESEND PATCH] ARM: dts: dra7x: Support QSPI MODE-0 operation at 64MHz

2016-07-05 Thread Mugunthan V N
; > Signed-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 v2 07/11] drivers: usb: musb: add ti musb peripheral driver with driver model support

2016-05-11 Thread Mugunthan V N
On Tuesday 10 May 2016 06:09 PM, Marek Vasut wrote: > On 05/10/2016 01:48 PM, Mugunthan V N wrote: >> 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. >> >

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

2016-05-11 Thread Mugunthan V N
On Tuesday 10 May 2016 05:57 PM, Marek Vasut wrote: > On 05/10/2016 01:44 PM, Mugunthan V N 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 v2 5/6] drivers: usb: gadget: ether: prepare driver for driver model migration

2016-05-11 Thread Mugunthan V N
On Tuesday 10 May 2016 05:54 PM, Marek Vasut wrote: > On 05/10/2016 01:44 PM, Mugunthan V N wrote: >> prepare driver for driver model migration >> >> Signed-off-by: Mugunthan V N <mugunthan...@ti.com> >> --- &g

[U-Boot] [PATCH v2 10/11] defconfig: am335x_boneblack: enable usb driver model

2016-05-10 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> Reviewed-by: Tom Rini <tr...@konsulko.com> --- configs/am335x_boneblack_vboot_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --g

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

2016-05-10 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 v2 11/11] defconfig: am335x_gp_evm: enable usb driver model

2016-05-10 Thread Mugunthan V N
enable usb driver model for am335x gp evm as musb supports driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- configs/am335x_gp_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am335x_gp_evm

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

2016-05-10 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> --- drivers/usb/musb-new/musb_uboot.c | 2 + drivers/usb/musb-new/ti-musb.c

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

2016-05-10 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 v2 05/11] drivers: usb: musb: adopt musb backend driver to driver model

2016-05-10 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> --- arch/arm/cpu/armv7/

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

2016-05-10 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> --- drivers/usb/musb-new/ti-musb.c | 191 +

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

2016-05-10 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> --- drivers/usb/musb-new/Kconfig | 9 ++ drivers/usb/musb-new/Makefile | 1 + drivers/usb/musb-new/ti-musb.

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

2016-05-10 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 v2 01/11] configs: am335x: usb: do not define CONFIG_DM_USB for spl

2016-05-10 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 v2 00/11] driver model bring-up of musb on AM335x GP and BBB

2016-05-10 Thread Mugunthan V N
_RANGE patches/musb/v2.01/0007-drivers-usb-musb-add-ti-musb-peripheral-driver-with-.patch has style problems, please review. Mugunthan V N (11): configs: am335x: usb: do not define CONFIG_DM_USB for spl am33xx: board: do not register usb devices when CONFIG_DM_USB is defined drivers: us

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

2016-05-10 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 v2 4/6] drivers: usb: gadget: ether: use net device priv to pass usb ether priv

2016-05-10 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> --- drivers/usb/gadget/ether.c | 46 +- 1 file changed, 21 insertions(+), 25 deletions(-) diff --git a/drive

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

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

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

2016-05-10 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 | 153 ++--- drivers/usb/gadget/rndis.c | 13 +++- drivers/usb/gadget/rndis.h | 19 -- include

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

2016-05-10 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> --- drivers/usb/gadget/ether.

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

2016-05-10 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> --- drivers/usb/gadget/ether.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/d

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

2016-05-10 Thread Mugunthan V N
Convert usb ether gadget to adopt usb driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/usb/gadget/ether.c | 36 1 file changed, 36 insertions(+) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 9

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

2016-05-10 Thread Mugunthan V N
. Mugunthan V N (6): drivers: usb: gadget: ether: adopt to usb driver model drivers: usb: gadget: ether: access network_started using local variable drivers: usb: gadget: ether: consolidate global devices to single struct drivers: usb: gadget: ether: use net device priv to pass usb ether

Re: [U-Boot] [PATCH v3 01/12] drivers: core: device: add support to check dt compatible for a device/machine

2016-05-03 Thread Mugunthan V N
On Monday 02 May 2016 12:24 AM, Simon Glass wrote: > Hi Mugunthan, > > On 28 April 2016 at 04:06, Mugunthan V N <mugunthan...@ti.com> wrote: >> Provide an api to check whether the given device or machine is >> compatible with the given compat string which helps in mak

Re: [U-Boot] [PATCH v2 06/12] drivers: net: cpsw: add support for reading mac address from efuse

2016-04-29 Thread Mugunthan V N
On Thursday 28 April 2016 10:01 AM, Joe Hershberger wrote: > On Wed, Apr 27, 2016 at 1:33 AM, Mugunthan V N <mugunthan...@ti.com> wrote: >> On Wednesday 27 April 2016 03:06 AM, Joe Hershberger wrote: >>> On Mon, Apr 25, 2016 at 4:53 PM, Joe Hershberger >>>

[U-Boot] [PATCH v3 12/12] defconfig: dra74_evm: enable eth driver model

2016-04-28 Thread Mugunthan V N
Enable eth driver model for dra74_evm as cpsw supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> Acked-by: Joe Hershberger <joe.hershber...@ni.com> --- configs/dra74_evm_defconfig | 1 + 1 file changed, 1 insert

[U-Boot] [PATCH v3 11/12] defconfig: am437x_sk_evm: enable eth driver model

2016-04-28 Thread Mugunthan V N
Enable eth driver model for am437x_sk_evm as cpsw supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> Acked-by: Joe Hershberger <joe.hershber...@ni.com> --- configs/am437x_sk_evm_defconfig | 1 + 1 file ch

[U-Boot] [PATCH v3 10/12] defconfig: am437x_gp_evm: enable eth driver model

2016-04-28 Thread Mugunthan V N
Enable eth driver model for am437x_gp_evm as cpsw supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> Acked-by: Joe Hershberger <joe.hershber...@ni.com> --- configs/am437x_gp_evm_defconfig | 1 + 1 file ch

[U-Boot] [PATCH v3 07/12] arm: dts: am4372: add syscon node to cpsw to read mac address

2016-04-28 Thread Mugunthan V N
Add syscon node to cpsw device node to read mac address from efuse. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> Acked-by: Joe Hershberger <joe.hershber...@ni.com> --- arch/arm/dts/am4372.dtsi | 1 + 1 file changed, 1 insert

[U-Boot] [PATCH v3 09/12] arm: dts: dra7: fix ethernet name with proper device address

2016-04-28 Thread Mugunthan V N
Fix typo error for cpsw device name with proper device address Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> Acked-by: Joe Hershberger <joe.hershber...@ni.com> --- arch/arm/dts/dra7.dtsi | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH v3 06/12] drivers: net: cpsw: add support for reading mac address from efuse

2016-04-28 Thread Mugunthan V N
Different TI platforms has to read with different combination to get the mac address from efuse. So add support to read mac address based on machine/device compatibles. The code is taken from Linux drivers/net/ethernet/ti/cpsw-common.c done by Tony Lindgren. Signed-off-by: Mugunthan V N

[U-Boot] [PATCH v3 05/12] drivers: net: cpsw: fix get mdio base and gmii_sel reg from DT

2016-04-28 Thread Mugunthan V N
-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> Acked-by: Joe Hershberger <joe.hershber...@ni.com> --- drivers/net/cpsw.c | 24 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/drivers/net/cpsw.c b/driver

[U-Boot] [PATCH v3 08/12] arm: dts: dra7: add syscon node to cpsw to read mac address

2016-04-28 Thread Mugunthan V N
Add syscon node to cpsw device node to read mac address from efuse. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> Acked-by: Joe Hershberger <joe.hershber...@ni.com> --- arch/arm/dts/dra7.dtsi | 1 + 1 file changed, 1 insertion(+)

[U-Boot] [PATCH v3 04/12] ARM: omap5: add platform specific ethernet phy modes configurations

2016-04-28 Thread Mugunthan V N
Add platforms specific phy mode configuration bits to be used to configure phy mode in control module. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> Acked-by: Joe Hershberger <joe.hershber...@ni.com> --- arch/arm/include/asm/arc

[U-Boot] [PATCH v3 03/12] drivers: net: cpsw: fix cpsw dp parse when num slaves as 1

2016-04-28 Thread Mugunthan V N
On some boards number of slaves can be 1 when only one port ethernet is pinned out. So do not break when slave_index and num slaves check fails, instead continue to parse the next child. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> A

[U-Boot] [PATCH v3 02/12] ti_omap5_common: eth: do not define DM_ETH for spl

2016-04-28 Thread Mugunthan V N
Since omap's spl doesn't support DM currently, do not define DM_ETH for spl build. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> Reviewed-by: Tom Rini <tr...@konsulko.com> Acked-by: Joe Hershberger <joe.hershber...@ni.com&

[U-Boot] [PATCH v3 00/12] cpsw: enable DM_ETH on dra74 and am437x evms

2016-04-28 Thread Mugunthan V N
first argument from node offset to device pointer so that in future it is will be easy to migrate out of indexing DT by offsets. Changes from v2: * Just rebase on top of u-boot/master and resolve conflicts. Mugunthan V N (12): drivers: core: device: add support to check dt compatible

[U-Boot] [PATCH v3 01/12] drivers: core: device: add support to check dt compatible for a device/machine

2016-04-28 Thread Mugunthan V N
Provide an api to check whether the given device or machine is compatible with the given compat string which helps in making decisions in drivers based on device or machine compatible. Idea taken from Linux. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Joe Hersh

Re: [U-Boot] [PATCH v2 10/12] defconfig: am437x_gp_evm: enable eth driver model

2016-04-28 Thread Mugunthan V N
On Thursday 28 April 2016 10:03 AM, Joe Hershberger wrote: > On Wed, Apr 27, 2016 at 1:37 AM, Mugunthan V N <mugunthan...@ti.com> wrote: >> On Wednesday 27 April 2016 03:08 AM, Joe Hershberger wrote: >>> On Mon, Apr 25, 2016 at 5:01 PM, Joe Hershberger >>>

Re: [U-Boot] [PATCH v2 10/12] defconfig: am437x_gp_evm: enable eth driver model

2016-04-27 Thread Mugunthan V N
On Wednesday 27 April 2016 03:08 AM, Joe Hershberger wrote: > On Mon, Apr 25, 2016 at 5:01 PM, Joe Hershberger > <joe.hershber...@gmail.com> wrote: >> On Tue, Apr 12, 2016 at 3:46 AM, Mugunthan V N <mugunthan...@ti.com> wrote: >>> Enable eth driver model f

Re: [U-Boot] [PATCH v2 06/12] drivers: net: cpsw: add support for reading mac address from efuse

2016-04-27 Thread Mugunthan V N
On Wednesday 27 April 2016 03:06 AM, Joe Hershberger wrote: > On Mon, Apr 25, 2016 at 4:53 PM, Joe Hershberger > <joe.hershber...@gmail.com> wrote: >> On Tue, Apr 12, 2016 at 3:46 AM, Mugunthan V N <mugunthan...@ti.com> wrote: >>> Different TI platforms has t

Re: [U-Boot] [PATCH] dfu: ram: fix number base of RAM entity parameters

2016-04-25 Thread Mugunthan V N
7afef0 ("drivers: dfu: ram: fix a crash with dfu ram >>> with invalid dfu_alt_info env") >>> >>> Cc: Mugunthan V N <mugunthan...@ti.com> >>> Cc: Tom Rini <tr...@konsulko.com> >>> Signed-off-by: Stephen Warren <swar...@nvidia.com>

Re: [U-Boot] [PATCH] dfu: ram: fix number base of RAM entity parameters

2016-04-25 Thread Mugunthan V N
values in previously working command-lines aren't > mis-parsed, causing RAM corruption, crashes, hangs, etc. > > Fixes: 6aeb877afef0 ("drivers: dfu: ram: fix a crash with dfu ram with > invalid dfu_alt_info env") > > Cc: Mugunthan V N <mugunthan...@ti.com> >

[U-Boot] [PATCH] drivers: dfu: ram: fix a crash with dfu ram with invalid dfu_alt_info env

2016-04-22 Thread Mugunthan V N
fp : 9ffbc0b8 r10: 9ffbc0b8 r9 : 9ef36ed8 r8 : r7 : r6 : 9ffbc0c8 r5 : 9ef36cfc r4 : 9ef392c8 r3 : 0004 r2 : r1 : 9ff9a985 r0 : Flags: Nzcv IRQs off FIQs on Mode SVC_32 Resetting CPU ... resetting ... Signed-off-by: Mugunthan V N <mugu

Re: [U-Boot] [PATCH v3] dm: spi: Read default speed and mode values from DT

2016-04-21 Thread Mugunthan V N
nd SPI modes. > > 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 4/9] drivers: nand: implement a NAND uclass

2016-04-21 Thread Mugunthan V N
On Thursday 21 April 2016 07:41 PM, Simon Glass wrote: > Hi Mugunthan, > > On 20 April 2016 at 23:55, Mugunthan V N <mugunthan...@ti.com> wrote: >> On Wednesday 20 April 2016 08:09 PM, Simon Glass wrote: >>> Hi Mugunthan, >>> >>> On 1 April 2016 at

Re: [U-Boot] [PATCH v6 7/7] net: phy: dp83867: Add SGMII helper for configuration

2016-04-21 Thread Mugunthan V N
e the device if the interface is > configured for SGMII. > > Signed-off-by: Dan Murphy <dmur...@ti.com> > Reviewed-by: Mugunthan V N <mugunthan...@ti.com> > Reviewed-by: Michal Simek <michal.si...@xilinx.com> Tested this on dra72 rev C evm Tested-by: Mugunthan V N

Re: [U-Boot] [PATCH v6 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-21 Thread Mugunthan V N
the default. > > If devicetree is not used then use the default defines within the > driver. > > Signed-off-by: Dan Murphy <dmur...@ti.com> Tested this on dra72 rev C evm Tested-by: Mugunthan V N <mugunthan...@ti.com> Regards Mugutnhan V N ___

Re: [U-Boot] [PATCH v6 6/7] net: phy: Add phy_interface_is_sgmii to phy.h

2016-04-21 Thread Mugunthan V N
On Friday 15 April 2016 05:57 PM, Dan Murphy wrote: > Add a helper to phy.h to identify whether the > phy is configured for SGMII all variables. > > Signed-off-by: Dan Murphy <dmur...@ti.com> > Reviewed-by: Mugunthan V N <mugunthan...@ti.com> > Reviewed-by: Michal

Re: [U-Boot] [PATCH v6 5/7] net: phy: Move is_rgmii helper to phy.h

2016-04-21 Thread Mugunthan V N
urphy <dmur...@ti.com> > Reviewed-by: Mugunthan V N <mugunthan...@ti.com> > Reviewed-by: Michal Simek <michal.si...@xilinx.com> Tested this on dra72 rev C evm Tested-by: Mugunthan V N <mugunthan...@ti.com> Regards Mugutnhan V N __

Re: [U-Boot] [PATCH v6 3/7] net: phy: dp83867: Add device tree bindings and documentation

2016-04-21 Thread Mugunthan V N
el] > > Signed-off-by: Dan Murphy <dmur...@ti.com> > Reviewed-by: Mugunthan V N <mugunthan...@ti.com> Tested this on dra72 rev C evm Tested-by: Mugunthan V N <mugunthan...@ti.com> Regards Mugutnhan V N ___ U-Boot mailing list

Re: [U-Boot] [PATCH v6 1/7] drivers: net: cpsw: Add reading of DT phy-handle node

2016-04-21 Thread Mugunthan V N
ccess any phy data that is available. > > Signed-off-by: Dan Murphy <dmur...@ti.com> Tested this on dra72 rev C evm Tested-by: Mugunthan V N <mugunthan...@ti.com> Regards Mugutnhan V N ___ U-Boot mailing list U-Boot@lists.denx.de htt

Re: [U-Boot] [PATCH 4/9] drivers: nand: implement a NAND uclass

2016-04-21 Thread Mugunthan V N
On Wednesday 20 April 2016 08:09 PM, Simon Glass wrote: > Hi Mugunthan, > > On 1 April 2016 at 05:29, Mugunthan V N <mugunthan...@ti.com> wrote: >> Implement a NAND uclass so that the NAND devices can be >> accessed via the DM framework. >> >> Signed-off

Re: [U-Boot] [PATCH 01/10] drivers: usb: dwc3: remove devm_zalloc from linux_compact

2016-04-18 Thread Mugunthan V N
On Friday 15 April 2016 07:43 PM, Simon Glass wrote: > Hi Mugunthan, > > On 15 March 2016 at 07:59, Tom Rini <tr...@konsulko.com> wrote: >> >> On Tue, Mar 15, 2016 at 05:44:10PM +0530, Mugunthan V N wrote: >> >>> devm_zalloc() is already defined in

Re: [U-Boot] [uboot] [PATCH v5 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-15 Thread Mugunthan V N
On Monday 11 April 2016 05:48 PM, Dan Murphy wrote: > Not all devices use the same internal delay or fifo depth. > Add the ability to set the internal delay for rx or tx and the > fifo depth via the devicetree. If the value is not set in the > devicetree then set the delay to the default. > > If

Re: [U-Boot] [uboot] [PATCH v5 1/7] drivers: net: cpsw: Add reading of DT phy-handle node

2016-04-15 Thread Mugunthan V N
On Monday 11 April 2016 05:48 PM, Dan Murphy wrote: > Add the ability to read the phy-handle node of the > cpsw slave. Upon reading this handle the phy-id > can be stored based on the reg node in the DT. > > The phy-handle also needs to be stored and passed > to the phy to access any phy data

Re: [U-Boot] [uboot] [PATCH v5 1/7] drivers: net: cpsw: Add reading of DT phy-handle node

2016-04-15 Thread Mugunthan V N
On Monday 11 April 2016 05:48 PM, Dan Murphy wrote: > Add the ability to read the phy-handle node of the > cpsw slave. Upon reading this handle the phy-id > can be stored based on the reg node in the DT. > > The phy-handle also needs to be stored and passed > to the phy to access any phy data

Re: [U-Boot] [PATCH 2/9] cmd: nand: abstract global variable usage for dm conversion

2016-04-14 Thread Mugunthan V N
On Friday 01 April 2016 04:59 PM, Mugunthan V N wrote: > nand_info is used all over the file so abstract it with > get_nand_dev_by_index() which will help for DM conversion. > > Signed-off-by: Mugunthan V N <mugunthan...@ti.com> > --- > cmd/

Re: [U-Boot] [PATCH 2/9] cmd: nand: abstract global variable usage for dm conversion

2016-04-13 Thread Mugunthan V N
On Saturday 02 April 2016 04:27 AM, Scott Wood wrote: > [Please CC me at this address rather than my NXP address] > > On Fri, 2016-04-01 at 16:59 +0530, Mugunthan V N wrote: >> @@ -432,12 +435,7 @@ static int do_nand(cmd_tbl_t *cmdtp, int flag, int >> argc, char * const a

Re: [U-Boot] [PATCH v2 09/12] arm: dts: dra7: fix ethernet name with proper device address

2016-04-12 Thread Mugunthan V N
On Tuesday 12 April 2016 10:53 PM, Tom Rini wrote: > On Tue, Apr 12, 2016 at 02:16:53PM +0530, Mugunthan V N wrote: > >> Fix typo error for cpsw device name with proper device address >> >> Signed-off-by: Mugunthan V N <mugunthan...@ti.com> > > Revie

Re: [U-Boot] [PATCH 00/10] driver model bring-up of dwc3 usb peripheral

2016-04-12 Thread Mugunthan V N
Hi Simon On Monday 11 April 2016 08:27 PM, Simon Glass wrote: > Hi Mugunthan, > > On 11 April 2016 at 08:52, Mugunthan V N <mugunthan...@ti.com> wrote: >> On Monday 11 April 2016 05:50 PM, Simon Glass wrote: >>> +Mugunthan, who seems to have been dropped from this

[U-Boot] [PATCH 1/1] drivers: usb: common: add common code for usb drivers to use

2016-04-12 Thread Mugunthan V N
Add common usb code which usb drivers makes use of it. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- This was in my musb dm bringup patch list, and I did dwc3 over the same branch so missed submitting this patch for dwc3 bringup. So submitting the dwc3 dependent patch sepa

[U-Boot] [PATCH v2 12/12] defconfig: dra74_evm: enable eth driver model

2016-04-12 Thread Mugunthan V N
Enable eth driver model for dra74_evm as cpsw supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- configs/dra74_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/dra74_evm_defconf

[U-Boot] [PATCH v2 11/12] defconfig: am437x_sk_evm: enable eth driver model

2016-04-12 Thread Mugunthan V N
Enable eth driver model for am437x_sk_evm as cpsw supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- configs/am437x_sk_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am437x_sk_evm_defconf

[U-Boot] [PATCH v2 06/12] drivers: net: cpsw: add support for reading mac address from efuse

2016-04-12 Thread Mugunthan V N
Different TI platforms has to read with different combination to get the mac address from efuse. So add support to read mac address based on machine/device compatibles. The code is taken from Linux drivers/net/ethernet/ti/cpsw-common.c done by Tony Lindgren. Signed-off-by: Mugunthan V N

[U-Boot] [PATCH v2 08/12] arm: dts: dra7: add syscon node to cpsw to read mac address

2016-04-12 Thread Mugunthan V N
Add syscon node to cpsw device node to read mac address from efuse. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- arch/arm/dts/dra7.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/dra7.dtsi b/arch/arm/dts/dra

[U-Boot] [PATCH v2 10/12] defconfig: am437x_gp_evm: enable eth driver model

2016-04-12 Thread Mugunthan V N
Enable eth driver model for am437x_gp_evm as cpsw supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- configs/am437x_gp_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am437x_gp_evm_defconf

[U-Boot] [PATCH v2 09/12] arm: dts: dra7: fix ethernet name with proper device address

2016-04-12 Thread Mugunthan V N
Fix typo error for cpsw device name with proper device address Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/dts/dra7.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/dra7.dtsi b/arch/arm/dts/dra7.dtsi index 3059273..0f242e6

[U-Boot] [PATCH v2 07/12] arm: dts: am4372: add syscon node to cpsw to read mac address

2016-04-12 Thread Mugunthan V N
Add syscon node to cpsw device node to read mac address from efuse. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- arch/arm/dts/am4372.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/am4372.dtsi b/arch/arm/dts

[U-Boot] [PATCH v2 01/12] drivers: core: device: add support to check dt compatible for a device/machine

2016-04-12 Thread Mugunthan V N
Provide an api to check whether the given device or machine is compatible with the given compat string which helps in making decisions in drivers based on device or machine compatible. Idea taken from Linux. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- Changes from initial v

[U-Boot] [PATCH v2 03/12] drivers: net: cpsw: fix cpsw dp parse when num slaves as 1

2016-04-12 Thread Mugunthan V N
On some boards number of slaves can be 1 when only one port ethernet is pinned out. So do not break when slave_index and num slaves check fails, instead continue to parse the next child. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> ---

[U-Boot] [PATCH v2 05/12] drivers: net: cpsw: fix get mdio base and gmii_sel reg from DT

2016-04-12 Thread Mugunthan V N
-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/net/cpsw.c | 24 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c index 971ebf0..9b1e37b 100644 --- a/drivers/net/cpsw.c +++ b/drivers/net/cpsw.c @@ -1137,6 +1

[U-Boot] [PATCH v2 04/12] ARM: omap5: add platform specific ethernet phy modes configurations

2016-04-12 Thread Mugunthan V N
Add platforms specific phy mode configuration bits to be used to configure phy mode in control module. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Tom Rini <tr...@konsulko.com> --- arch/arm/include/asm/arch-omap5/cpu.h | 12 1 file changed, 12 inserti

[U-Boot] [PATCH v2 02/12] ti_omap5_common: eth: do not define DM_ETH for spl

2016-04-12 Thread Mugunthan V N
Since omap's spl doesn't support DM currently, do not define DM_ETH for spl build. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> Reviewed-by: Tom Rini <tr...@konsulko.com> --- include/configs/ti_omap5_common.h | 1 + 1 file ch

[U-Boot] [PATCH v2 00/12] cpsw: enable DM_ETH on dra74 and am437x evms

2016-04-12 Thread Mugunthan V N
by offsets. Mugunthan V N (12): drivers: core: device: add support to check dt compatible for a device/machine ti_omap5_common: eth: do not define DM_ETH for spl drivers: net: cpsw: fix cpsw dp parse when num slaves as 1 ARM: omap5: add platform specific ethernet phy modes

Re: [U-Boot] [PATCH 06/11] drivers: net: cpsw: add support for reading mac address from efuse

2016-04-11 Thread Mugunthan V N
On Monday 11 April 2016 08:31 PM, Tom Rini wrote: > On Thu, Apr 07, 2016 at 08:47:05PM +0530, Mugunthan V N wrote: > >> Different TI platforms has to read with different combination to >> get the mac address from efuse. So add support to read mac address >> based on ma

Re: [U-Boot] [PATCH 00/10] driver model bring-up of dwc3 usb peripheral

2016-04-11 Thread Mugunthan V N
t; >>> On 31 March 2016 at 09:24, Marek Vasut <ma...@denx.de> wrote: >>>> On 03/31/2016 05:11 PM, Tom Rini wrote: >>>>> On Thu, Mar 31, 2016 at 04:10:49PM +0200, Michal Simek wrote: >>>>>> Hi Tom, >>>>>> >>>>>

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-11 Thread Mugunthan V N
;> once, as this is I believe not right way to do things. >> >> So Steve, please add >> CONFIG_USB_GADGET_FASTBOOT_DOWNLOAD_ALIGNMENT_REQUIRED option to all >> required defconfigs (except yours), so that your patch only fixes your >> platforms, but doesn't break any other platform at the same time. Also >> good thing to do after that is check options order in changed >> defconfigs with "make savedefconfig" rule. Both your current changes >> and appropriate lines in defconfigs should be committed as a single >> patch, so that it doesn't break anything and "git bisect" may be used >> to look for regressions. Also, really nice thing to do after all of >> this, is to use "./tools/buildman/buildman" tool to check all ARM >> boards for regressions after your patch (you should see that only your >> boards were changed). >> >> Ideally, we should check it on all boards (or at least on all UDC >> controllers supported in U-Boot) and figure out what is happening >> exactly. But I'm totally fine with hack if it fixes real problem on >> some platforms. I just ask you guys to not break anything else at the >> same time (although it surely takes much more effort, but still). > > I am totally not fine with hack, so please fix it such that both > platforms work without added config option. Thanks > The issue is already solved in Kernel with the patch [1]. May we can take a similar approach and fix the issue without having config options. [1]: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0b2d2bbade59ab2067f326d6dbc2628bee227fd5 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 03/11] ti_omap5_common: eth: do not define DM_ETH for spl

2016-04-10 Thread Mugunthan V N
On Sunday 10 April 2016 12:05 AM, Simon Glass wrote: > Hi Mugunthan, > > On 7 April 2016 at 09:17, Mugunthan V N <mugunthan...@ti.com> wrote: >> Since omap's spl doesn't support DM currently, do not define >> DM_ETH for spl build. >> >> Signed-off

Re: [U-Boot] [PATCH 02/11] lib: fdtdec: fix size cell and address cell parse from DT

2016-04-10 Thread Mugunthan V N
Stephen On Sunday 10 April 2016 09:11 AM, Stephen Warren wrote: > On 04/09/2016 12:35 PM, Simon Glass wrote: >> +Stephen >> >> Hi Mugunthan, >> >> On 7 April 2016 at 09:17, Mugunthan V N <mugunthan...@ti.com> wrote: >>> Size cell and address cell sh

Re: [U-Boot] [PATCH] dm: spi: Read default speed, mode values from DT

2016-04-10 Thread Mugunthan V N
@@ -88,6 +88,8 @@ static int do_spi_flash_probe(int argc, char * const >>> argv[]) >>> #ifdef CONFIG_DM_SPI_FLASH >>> struct udevice *new, *bus_dev; >>> int ret; >>> + /* In DM mode defaults wiil be taken from DT */ >>> + speed

Re: [U-Boot] [PATCH v2 2/2] spl: Support loading a FIT from FAT FS

2016-04-10 Thread Mugunthan V N
kesh 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

Re: [U-Boot] [PATCH v2 1/2] spl: Add an option to load a FIT containing U-Boot from FS

2016-04-10 Thread Mugunthan V N
On Monday 11 April 2016 10:21 AM, Lokesh Vutla wrote: > This provides a way to load a FIT containing U-Boot and a selection of device > tree files from a File system. > > Signed-off-by: Lokesh Vutla <lokeshvu...@ti.com> Reviewed-by: Mugunthan V N <mugunthan...@ti.com>

Re: [U-Boot] [uboot] [PATCH 7/7] net: phy: dp83867: Add SGMII helper for configuration

2016-04-10 Thread Mugunthan V N
e the device if the interface is > configured for SGMII. > > Signed-off-by: Dan Murphy <dmur...@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] [uboot] [PATCH 5/7] net: phy: Move is_rgmii helper to phy.h

2016-04-10 Thread Mugunthan V N
urphy <dmur...@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] [uboot] [PATCH 6/7] net: phy: Add phy_interface_is_sgmii to phy.h

2016-04-10 Thread Mugunthan V N
On Friday 08 April 2016 09:38 PM, Dan Murphy wrote: > Add a helper to phy.h to identify whether the > phy is configured for SGMII all variables. > > Signed-off-by: Dan Murphy <dmur...@ti.com> Reviewed-by: Mugunthan V N <mugunthan...@ti.com>

Re: [U-Boot] [uboot] [PATCH v4 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-10 Thread Mugunthan V N
the default. > > If devicetree is not used then use the default defines within the > driver. > > Signed-off-by: Dan Murphy <dmur...@ti.com> Reviewed-by: Mugunthan V N <mugunthan...@ti.com> Regards Mugunthan V N ___ U-Boot

Re: [U-Boot] [uboot] [PATCH v4 3/7] net: phy: dp83867: Add device tree bindings and documentation

2016-04-10 Thread Mugunthan V N
el] > > Signed-off-by: Dan Murphy <dmur...@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] [uboot] [PATCH 2/7] net: zynq_gem: Add the passing of the phy-handle node

2016-04-10 Thread Mugunthan V N
On Friday 08 April 2016 09:38 PM, Dan Murphy wrote: > Add the ability to pass the phy-handle node offset > to the phy driver. This allows the phy driver > to access the DT subnode's data and parse accordingly. > > Signed-off-by: Dan Murphy <dmur...@ti.com> Reviewed-by: Mug

[U-Boot] [PATCH 07/11] arm: dts: am4372: add syscon node to cpsw to read mac address

2016-04-07 Thread Mugunthan V N
Add syscon node to cpsw device node to read mac address from efuse. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/dts/am4372.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/am4372.dtsi b/arch/arm/dts/am4372.dtsi index c95d1d3..3ffa8e0 100644 --- a/ar

[U-Boot] [PATCH 10/11] defconfig: am437x_sk_evm: enable eth driver model

2016-04-07 Thread Mugunthan V N
Enable eth driver model for am437x_sk_evm as cpsw supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/am437x_sk_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am437x_sk_evm_defconfig b/configs/am437x_sk_evm_defconfig index 2

[U-Boot] [PATCH 11/11] defconfig: dra74_evm: enable eth driver model

2016-04-07 Thread Mugunthan V N
Enable eth driver model for dra74_evm as cpsw supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/dra74_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/dra74_evm_defconfig b/configs/dra74_evm_defconfig index 5f50004..682c126

[U-Boot] [PATCH 09/11] defconfig: am437x_gp_evm: enable eth driver model

2016-04-07 Thread Mugunthan V N
Enable eth driver model for am437x_gp_evm as cpsw supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/am437x_gp_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am437x_gp_evm_defconfig b/configs/am437x_gp_evm_defconfig index 3

[U-Boot] [PATCH 06/11] drivers: net: cpsw: add support for reading mac address from efuse

2016-04-07 Thread Mugunthan V N
Different TI platforms has to read with different combination to get the mac address from efuse. So add support to read mac address based on machine/device compatibles. The code is taken from Linux drivers/net/ethernet/ti/cpsw-common.c done by Tony Lindgren. Signed-off-by: Mugunthan V N

[U-Boot] [PATCH 08/11] arm: dts: dra7: add syscon node to cpsw to read mac address

2016-04-07 Thread Mugunthan V N
Add syscon node to cpsw device node to read mac address from efuse. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/dts/dra7.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/dra7.dtsi b/arch/arm/dts/dra7.dtsi index e7fecf7..3059273 100644 --- a/arch/a

[U-Boot] [PATCH 04/11] drivers: net: cpsw: fix cpsw dp parse when num slaves as 1

2016-04-07 Thread Mugunthan V N
On some boards number of slaves can be 1 when only one port ethernet is pinned out. So do not break when slave_index and num slaves check fails, instead continue to parse the next child. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/net/cpsw.c | 6 ++ 1 file chan

[U-Boot] [PATCH 03/11] ti_omap5_common: eth: do not define DM_ETH for spl

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

[U-Boot] [PATCH 05/11] ARM: omap5: add platform specific ethernet phy modes configurations

2016-04-07 Thread Mugunthan V N
Add platforms specific phy mode configuration bits to be used to configure phy mode in control module. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/include/asm/arch-omap5/cpu.h | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/include/asm/arch

[U-Boot] [PATCH 01/11] drivers: core: device: add support to check dt compatible for a device/machine

2016-04-07 Thread Mugunthan V N
Provide an api to check whether the given device or machine is compatible with the given compat string which helps in making decisions in drivers based on device or machine compatible. Idea taken from Linux. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/core/device.

<    1   2   3   4   5   6   7   >