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
;
> 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
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.
>>
>
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>
>> ---
>
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
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
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(+)
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
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
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
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/
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 +
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.
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
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
_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
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
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
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
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
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.
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
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
.
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
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
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
>>>
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
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
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
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
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
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
-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
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(+)
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
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
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&
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
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
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
>>>
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
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
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>
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>
>
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
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
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
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
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
___
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
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
__
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
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
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
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
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
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
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
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/
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
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
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
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
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
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
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
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
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
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
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
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
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>
---
-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
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
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
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
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
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,
>>>>>>
>>>>>
;> 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
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
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
@@ -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
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
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>
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
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
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>
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
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
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
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
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
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
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
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
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
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
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
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
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.
101 - 200 of 665 matches
Mail list logo