[PATCH v3 0/2] Add CPSW VLAN Support

2013-01-31 Thread Mugunthan V N
cpsw_add_default_vlan for better readability * changed BIT(1) port representation to defines Mugunthan V N (2): drivers: net: cpsw: Add helper functions for VLAN ALE implementation drivers: net:ethernet: cpsw: add support for VLAN Documentation/devicetree/bindings/net/cpsw.txt |2 + drivers/net/ethernet/ti

[PATCH v3 2/2] drivers: net:ethernet: cpsw: add support for VLAN

2013-01-31 Thread Mugunthan V N
adding support for VLAN interface for cpsw. CPSW VLAN Capability * Can filter VLAN packets in Hardware Signed-off-by: Mugunthan V N mugunthan...@ti.com --- Documentation/devicetree/bindings/net/cpsw.txt |2 + drivers/net/ethernet/ti/cpsw.c | 85

[PATCH v3 1/2] drivers: net: cpsw: Add helper functions for VLAN ALE implementation

2013-01-31 Thread Mugunthan V N
Add helper functions for VLAN ALE implementations for Add, Delete Dump VLAN related ALE entries Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw.c |8 +-- drivers/net/ethernet/ti/cpsw_ale.c | 105 +++- drivers/net/ethernet

Re: [PATCH] cpsw: Fix interrupt storm among other things

2013-01-30 Thread Mugunthan V N
On 1/30/2013 2:06 PM, Pantelis Antoniou wrote: Hi Mugunthan, On Jan 29, 2013, at 1:45 PM, Mugunthan V N wrote: On 1/28/2013 6:41 PM, Pantelis Antoniou wrote: Fix interrupt storm on bone A4 cause by non-by-the-book interrupt handling. While at it, added a non-NAPI mode (which is easier

Re: [PATCH] cpsw: Fix interrupt storm among other things

2013-01-30 Thread Mugunthan V N
On 1/30/2013 3:06 PM, Pantelis Antoniou wrote: Hi, On Jan 30, 2013, at 11:03 AM, Mugunthan V N wrote: On 1/30/2013 2:06 PM, Pantelis Antoniou wrote: Hi Mugunthan, On Jan 29, 2013, at 1:45 PM, Mugunthan V N wrote: On 1/28/2013 6:41 PM, Pantelis Antoniou wrote: Fix interrupt storm on bone

Re: [PATCH] cpsw: Fix interrupt storm among other things

2013-01-30 Thread Mugunthan V N
-- Pantelis This is the device ID which i have [root@arago /]# devmem 0x44e10600 0x1B94402E Regards Mugunthan V N -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH] cpsw: Fix interrupt storm among other things

2013-01-30 Thread Mugunthan V N
On 1/30/2013 7:25 PM, Pantelis Antoniou wrote: Hi Mugunthan, On Jan 30, 2013, at 3:53 PM, Mugunthan V N wrote: On 1/30/2013 7:21 PM, Pantelis Antoniou wrote: Hi Vaibhav, On Jan 30, 2013, at 3:47 PM, Bedia, Vaibhav wrote: Hi Antoniou, On Wed, Jan 30, 2013 at 19:07:19, Pantelis Antoniou

[PATCH v2 0/2] Add CPSW VLAN Support

2013-01-30 Thread Mugunthan V N
as default VLAN enabled so that drivers need to be recompiled when stack is compiled with VLAN Mugunthan V N (2): drivers: net: cpsw: Add helper functions for VLAN ALE implementation drivers: net:ethernet: cpsw: add support for VLAN Documentation/devicetree/bindings/net/cpsw.txt |2

[PATCH v2 1/2] drivers: net: cpsw: Add helper functions for VLAN ALE implementation

2013-01-30 Thread Mugunthan V N
Add helper functions for VLAN ALE implementations for Add, Delete Dump VLAN related ALE entries Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw.c |8 +-- drivers/net/ethernet/ti/cpsw_ale.c | 106 drivers/net/ethernet

[PATCH v2 2/2] drivers: net:ethernet: cpsw: add support for VLAN

2013-01-30 Thread Mugunthan V N
adding support for VLAN interface for cpsw. CPSW VLAN Capability * Can filter VLAN packets in Hardware Signed-off-by: Mugunthan V N mugunthan...@ti.com --- Documentation/devicetree/bindings/net/cpsw.txt |2 + drivers/net/ethernet/ti/cpsw.c | 92

Re: [PATCH] cpsw: Fix interrupt storm among other things

2013-01-30 Thread Mugunthan V N
Hi Antoniou On 1/30/2013 7:25 PM, Pantelis Antoniou wrote: Hi Mugunthan, On Jan 30, 2013, at 3:53 PM, Mugunthan V N wrote: On 1/30/2013 7:21 PM, Pantelis Antoniou wrote: Hi Vaibhav, On Jan 30, 2013, at 3:47 PM, Bedia, Vaibhav wrote: Hi Antoniou, On Wed, Jan 30, 2013 at 19:07:19

[PATCH 1/1] drivers: net: davinci_cpdma: acknowledge interrupt properly

2013-01-30 Thread Mugunthan V N
-consulting.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/davinci_cpdma.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/ti/davinci_cpdma.c b/drivers/net/ethernet/ti/davinci_cpdma.c index f862918..afe14a6 100644 --- a/drivers/net

Re: [PATCH] cpsw: Fix interrupt storm among other things

2013-01-29 Thread Mugunthan V N
files changed, 194 insertions(+), 36 deletions(-) I have tested CPSW on AM335x EVM 1.5A with flood ping and i am not seeing any interrupt storm. Can you provide more details on how to reproduce the issue. Regards Mugunthan V N -- To unsubscribe from this list: send the line unsubscribe linux-omap

Re: [PATCH 2/2] drivers: net:ethernet: cpsw: add support for VLAN

2013-01-29 Thread Mugunthan V N
On 1/29/2013 3:18 PM, Jan Lübbe wrote: On Tue, 2013-01-29 at 01:42 +0530, Mugunthan V N wrote: --- a/Documentation/devicetree/bindings/net/cpsw.txt +++ b/Documentation/devicetree/bindings/net/cpsw.txt @@ -24,6 +24,8 @@ Required properties: Optional properties: - ti,hwmods: Must

Re: [PATCH 2/2] drivers: net:ethernet: cpsw: add support for VLAN

2013-01-29 Thread Mugunthan V N
On 1/29/2013 1:06 PM, Richard Cochran wrote: On Tue, Jan 29, 2013 at 01:42:25AM +0530, Mugunthan V N wrote: @@ -947,6 +1042,10 @@ static const struct net_device_ops cpsw_netdev_ops = { #ifdef CONFIG_NET_POLL_CONTROLLER .ndo_poll_controller= cpsw_ndo_poll_controller, #endif

Re: [PATCH 1/2] drivers: net: cpsw: Add helper functions for VLAN ALE implementation

2013-01-29 Thread Mugunthan V N
On 1/30/2013 5:08 AM, Cyril Chemparathy wrote: On 01/28/2013 03:12 PM, Mugunthan V N wrote: Add helper functions for VLAN ALE implementations for Add, Delete Dump VLAN related ALE entries Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw_ale.c | 172

[PATCH 2/2] drivers: net:ethernet: cpsw: add support for VLAN

2013-01-28 Thread Mugunthan V N
adding support for VLAN interface for cpsw. CPSW VLAN Capability * Can filter VLAN packets in Hardware Signed-off-by: Mugunthan V N mugunthan...@ti.com --- Documentation/devicetree/bindings/net/cpsw.txt |2 + drivers/net/ethernet/ti/cpsw.c | 108

[PATCH 1/2] drivers: net: cpsw: Add helper functions for VLAN ALE implementation

2013-01-28 Thread Mugunthan V N
Add helper functions for VLAN ALE implementations for Add, Delete Dump VLAN related ALE entries Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw_ale.c | 172 ++-- drivers/net/ethernet/ti/cpsw_ale.h | 11 +++ 2 files changed, 178

[PATCH 0/2] Add CPSW VLAN Support

2013-01-28 Thread Mugunthan V N
CPSW is capable of filtering VLAN packets in hardware. This patch series implements VLAN support to CPSW driver. This patch series is tested on net-next with AM335x EVM with ping test. Mugunthan V N (2): drivers: net: cpsw: Add helper functions for VLAN ALE implementation drivers

Re: [PATCH 2/2] drivers: net:ethernet: cpsw: add support for VLAN

2013-01-28 Thread Mugunthan V N
On 1/29/2013 2:14 AM, Felipe Balbi wrote: On Tue, Jan 29, 2013 at 01:42:25AM +0530, Mugunthan V N wrote: adding support for VLAN interface for cpsw. CPSW VLAN Capability * Can filter VLAN packets in Hardware Signed-off-by: Mugunthan V N mugunthan...@ti.com --- Documentation/devicetree

Re: [PATCHv2] am33xx: cpsw: default to ethernet hwaddr from efuse if not defined in dt

2013-01-17 Thread Mugunthan V N
ones. Signed-off-by: Peter Korsgaard jac...@sunsite.dk This implementation looks fine. Acked-by: Mugunthan V N mugunthan...@ti.com Regards Mugunthan V N -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 2/3] ARM: OMAP AM33xx: hwmod data: resolve sparse warnings

2012-12-25 Thread Mugunthan V N
' was not declared. Should it be static? arch/arm/mach-omap2/omap_hwmod_33xx_data.c:2526:26: warning: symbol 'am33xx_cpgmac0__mdio' was not declared. Should it be static? Fix by marking the two new records as static. Signed-off-by: Paul Walmsley p...@pwsan.com Cc: Mugunthan V N mugunthan...@ti.com Cc: Vaibhav

Re: [PATCH v2 0/2] cpts fixes for v3.8-rc2

2012-12-25 Thread Mugunthan V N
code. cpts: fix a run time warn_on. drivers/net/ethernet/ti/cpts.c |3 +-- drivers/net/ethernet/ti/cpts.h |1 - 2 files changed, 1 insertions(+), 3 deletions(-) Looks good to me. Acked-by : Mugunthan V N mugunthan...@ti.com -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v2 1/1] net: ethernet: davinci_cpdma: Add boundary for rx and tx descriptors

2012-12-12 Thread Mugunthan V N
to me. I will submit next version with the suggestion Regards Mugunthan V N -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/1] net: ethernet: davinci_cpdma: Add boundary for rx and tx descriptors

2012-12-10 Thread Mugunthan V N
On 12/10/2012 1:41 PM, Christian Riesch wrote: Hi, On Mon, Dec 10, 2012 at 8:37 AM, Mugunthan V N mugunthan...@ti.com wrote: When there is heavy transmission traffic in the CPDMA, then Rx descriptors memory is also utilized as tx desc memory this leads to reduced rx desc memory which leads

Re: [PATCH 1/1] net: ethernet: davinci_cpdma: Add boundary for rx and tx descriptors

2012-12-10 Thread Mugunthan V N
On 12/10/2012 1:54 PM, Christian Riesch wrote: Hi again, On Mon, Dec 10, 2012 at 8:37 AM, Mugunthan V N mugunthan...@ti.com wrote: When there is heavy transmission traffic in the CPDMA, then Rx descriptors memory is also utilized as tx desc memory this leads to reduced rx desc memory which

[PATCH v2 1/1] net: ethernet: davinci_cpdma: Add boundary for rx and tx descriptors

2012-12-10 Thread Mugunthan V N
descriptors. The driver stops working then. To fix this limit the number of tx descriptors used to half of the descriptors available, the rx path uses the other half. Tested on a custom board using nmap / ping -f to the board from two different hosts. Signed-off-by: Mugunthan V N

[PATCH 1/1] net: ethernet: davinci_cpdma: Add boundary for rx and tx descriptors

2012-12-09 Thread Mugunthan V N
V N mugunthan...@ti.com --- drivers/net/ethernet/ti/davinci_cpdma.c | 20 ++-- drivers/net/ethernet/ti/davinci_emac.c |8 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/net/ethernet/ti/davinci_cpdma.c b/drivers/net/ethernet/ti

Re: [PATCH 1/3] net: cpsw: replace pr_xxx with dev_xxx functions

2012-12-03 Thread Mugunthan V N
On 12/3/2012 7:19 PM, Jan Luebbe wrote: Signed-off-by: Jan Luebbe j...@pengutronix.de --- drivers/net/ethernet/ti/cpsw.c | 47 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/drivers/net/ethernet/ti/cpsw.c

Re: [PATCH 2/3] net: cpsw: verify correct number of slaves in DT

2012-12-03 Thread Mugunthan V N
); + ret = -EINVAL; + goto error_ret; + } + /* * Populate all the child nodes here... */ The patches look good to me. Acked-by: Mugunthan V Nmugunthan...@ti.com Regards Mugunthan V N -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 3/3] net: cpsw: implement ioctl for MII

2012-12-03 Thread Mugunthan V N
= cpsw_ndo_get_stats, Already ndo_do_ioctl is already implemented. Can you rebase the patch with latest git repo and resubmit the patch Regards Mugunthan V N -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More

[PATCH 1/1] ARM: OMAP: fix build error in arch/arm/mach-omap2/timer.c

2012-11-27 Thread Mugunthan V N
* Rename the prom_*_property routines of the generic OF code to of_*_property. This brings them in line with the naming used by the rest of the OF code. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/mach-omap2/timer.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[PATCH 1/1] net: cpts: fix for build break after ARM SoC integration

2012-11-27 Thread Mugunthan V N
Remove arch/arm/plat-omap/include/plat/clock.h by merging it into arch/arm/mach-omap1/clock.h and arch/arm/mach-omap2/clock.h. The goal here is to facilitate ARM single image kernels by removing includes via the plat/ symlink. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers

Re: [PATCH 1/1] net: cpts: fix for build break after ARM SoC integration

2012-11-27 Thread Mugunthan V N
On 11/27/2012 3:57 PM, Mugunthan V N wrote: CC drivers/net/ethernet/ti/cpts.o drivers/net/ethernet/ti/cpts.c:30:24: fatal error: plat/clock.h: No such file or directory compilation terminated. make[4]: *** [drivers/net/ethernet/ti/cpts.o] Error 1 make[3]: *** [drivers/net/ethernet/ti

[PATCH 1/1] net: ethernet: cpsw: fix build warnings for CPSW when CPTS not selected

2012-11-27 Thread Mugunthan V N
IOCTL instead of passing priv Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index 02c2477..c9714e1 100644

[PATCH 1/1] ARM: dts: am335x-evmsk: Add cpsw phy_id

2012-11-23 Thread Mugunthan V N
Add phy id for CPSW Signed-off-by: Mugunthan V N mugunthan...@ti.com --- The patch is verified with CPSW patches present in the following git repo git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git arch/arm/boot/dts/am335x-evmsk.dts |8 1 files changed, 8 insertions

[PATCH V5 0/7] ARM: AM33XX: net: Add DT support to CPSW and MDIO driver

2012-11-14 Thread Mugunthan V N
for NFS boot and basic ping test cases. Changes from V3: * Removed unnecessary flags in Davinci MDIO Hwmod entry. Changes from V4: * Changed CPSW phy ID in DT to make it generic. * Applied cosmetic changed in AM33XX dts file from Benoit Cousson Mugunthan V N (4): net: cpsw: halt network stack

[PATCH V5 6/7] ARM: OMAP2+: omap2plus_defconfig: Enable CPSW support

2012-11-14 Thread Mugunthan V N
Enable CPSW support in defconfig which is present in AM33xx SoC Signed-off-by: Mugunthan V N mugunthan...@ti.com Acked-by: Richard Cochran richardcoch...@gmail.com --- arch/arm/configs/omap2plus_defconfig |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs

[PATCH V5 4/7] net: cpsw: halt network stack before halting the device during suspend

2012-11-14 Thread Mugunthan V N
Move network stack halt APIs before halting the hardware to ensure no packets are queued to hardware during closing the device during suspend sequence. Signed-off-by: Mugunthan V N mugunthan...@ti.com Acked-by: Richard Cochran richardcoch...@gmail.com --- drivers/net/ethernet/ti/cpsw.c |6

[PATCH V5 3/7] cpsw: simplify the setup of the register pointers

2012-11-14 Thread Mugunthan V N
...@gmail.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- Documentation/devicetree/bindings/net/cpsw.txt | 42 + drivers/net/ethernet/ti/cpsw.c | 242 ++-- include/linux/platform_data/cpsw.h | 21 +-- 3 files changed, 108 insertions

[PATCH V5 2/7] net: cpsw: Add parent-child relation support between cpsw and mdio

2012-11-14 Thread Mugunthan V N
and populated in DT execution flow. The only required change is inside DTS file, making MDIO as a child to CPSW node. Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Signed-off-by: Mugunthan V N mugunthan...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk Acked-by: Richard Cochran richardcoch

[PATCH V5 1/7] net: davinci_mdio: Fix typo mistake in calling runtime-pm api

2012-11-14 Thread Mugunthan V N
-by: Mugunthan V N mugunthan...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk Acked-by: Richard Cochran richardcoch...@gmail.com --- drivers/net/ethernet/ti/davinci_mdio.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/ethernet/ti/davinci_mdio.c b/drivers/net

Re: [PATCH 4/4] arm/dts: am33xx: Add CPSW and MDIO module nodes for AM33XX

2012-11-08 Thread Mugunthan V N
to 4a101000.mdio:00. Since davinci_mdio is a child node to cpsw, the platform device for mdio is not created to get the mdio device name 4a101000.mdio. Can you point me a reference to get the right implementation. Regards Mugunthan V N -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH V4 0/7] ARM: AM33XX: net: Add DT support to CPGMAC and MDIO driver

2012-11-07 Thread Mugunthan V N
On 11/6/2012 11:02 PM, Mugunthan V N wrote: This patch-series adds support for, [1/7]: Typo mistake in CPSW driver while invoking runtime_pm api's [2/7]: Adds parent-child relation between CPSW MDIO module inside cpsw driver, as in case of AM33XX, the resources are shared and common

[PATCH 2/7] net: cpsw: Add parent-child relation support between cpsw and mdio

2012-11-06 Thread Mugunthan V N
and populated in DT execution flow. The only required change is inside DTS file, making MDIO as a child to CPSW node. Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Cc: Mugunthan V N mugunthan...@ti.com Cc: Richard Cochran richardcoch...@gmail.com --- drivers/net/ethernet/ti/cpsw.c | 16

[PATCH 5/7] arm/dts: am33xx: Add CPSW and MDIO module nodes for AM33XX

2012-11-06 Thread Mugunthan V N
Add CPSW and MDIO related device tree data for AM33XX. Also enable them into board/evm dts files by providing respective phy-id. Signed-off-by: Mugunthan V N mugunthan...@ti.com Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Cc: Richard Cochran richardcoch...@gmail.com Cc: Benoit Cousson b-cous

[PATCH 3/7] ARM: OMAP3+: hwmod: Add AM33XX HWMOD data for davinci_mdio module

2012-11-06 Thread Mugunthan V N
to control module/clock enable/disable, makes it difficult to handle common resources from both drivers. So the solution is, create parent-child relationship between CPGMAC MDIO modules. Signed-off-by: Mugunthan V N mugunthan...@ti.com Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Cc: Richard Cochran

[PATCH 4/7] cpsw: simplify the setup of the register pointers

2012-11-06 Thread Mugunthan V N
...@gmail.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- Documentation/devicetree/bindings/net/cpsw.txt | 34 drivers/net/ethernet/ti/cpsw.c | 209 +-- include/linux/platform_data/cpsw.h | 19 -- 3 files changed, 82 insertions

[PATCH 6/7] ARM: OMAP2+: omap2plus_defconfig: Enable CPSW support

2012-11-06 Thread Mugunthan V N
Enable CPSW support in defconfig which is present in AM33xx SoC Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/configs/omap2plus_defconfig |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs

[PATCH 7/7] net: cpsw: halt network stack before halting the device during suspend

2012-11-06 Thread Mugunthan V N
Move network stack halt APIs before halting the hardware to ensure no packets are queued to hardware during closing the device during suspend sequence. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions

[PATCH 1/7] net: davinci_mdio: Fix typo mistake in calling runtime-pm api

2012-11-06 Thread Mugunthan V N
it didn't impact functionality is, the patch has been tested on AM335x-EVM and BeagleBone platform while submitting; and in case of AM335x the MDIO driver doesn't control the module enable/disable part, which is handled by CPSW driver. Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Cc: Mugunthan V N

[PATCH 0/7] ARM: AM33XX: net: Add DT support to CPGMAC and MDIO driver

2012-11-06 Thread Mugunthan V N
for NFS boot and basic ping test cases. Mugunthan V N (4): ARM: OMAP3+: hwmod: Add AM33XX HWMOD data for davinci_mdio module arm/dts: am33xx: Add CPSW and MDIO module nodes for AM33XX ARM: OMAP2+: omap2plus_defconfig: Enable CPSW support net: cpsw: halt network stack before halting

Re: [PATCH 3/7] ARM: OMAP3+: hwmod: Add AM33XX HWMOD data for davinci_mdio module

2012-11-06 Thread Mugunthan V N
code to do here? Will remove the unnecessary flags and submit the patch. Regards Mugunthan V N -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 3/7] ARM: OMAP3+: hwmod: Add AM33XX HWMOD data for davinci_mdio module

2012-11-06 Thread Mugunthan V N
, + .slave = am33xx_mdio_hwmod, + .addr = am33xx_mdio_addr_space, + .user = OCP_USER_MPU, +}; + static struct omap_hwmod_addr_space am33xx_elm_addr_space[] = { { .pa_start = 0x4808, Regards Mugunthan V N -- To unsubscribe

[PATCH V4 0/7] ARM: AM33XX: net: Add DT support to CPGMAC and MDIO driver

2012-11-06 Thread Mugunthan V N
for NFS boot and basic ping test cases. Changes from V3: * Removed unnecessary flags in Davinci MDIO Hwmod entry. Mugunthan V N (4): ARM: OMAP3+: hwmod: Add AM33XX HWMOD data for davinci_mdio module arm/dts: am33xx: Add CPSW and MDIO module nodes for AM33XX ARM: OMAP2+: omap2plus_defconfig

[PATCH V4 3/7] ARM: OMAP3+: hwmod: Add AM33XX HWMOD data for davinci_mdio module

2012-11-06 Thread Mugunthan V N
to control module/clock enable/disable, makes it difficult to handle common resources from both drivers. So the solution is, create parent-child relationship between CPGMAC MDIO modules. Signed-off-by: Mugunthan V N mugunthan...@ti.com Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Cc: Paul Walmsley p

[PATCH V4 7/7] net: cpsw: halt network stack before halting the device during suspend

2012-11-06 Thread Mugunthan V N
Move network stack halt APIs before halting the hardware to ensure no packets are queued to hardware during closing the device during suspend sequence. Signed-off-by: Mugunthan V N mugunthan...@ti.com Acked-by: Richard Cochran richardcoch...@gmail.com --- drivers/net/ethernet/ti/cpsw.c |6

[PATCH V4 4/7] cpsw: simplify the setup of the register pointers

2012-11-06 Thread Mugunthan V N
...@gmail.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- Documentation/devicetree/bindings/net/cpsw.txt | 34 drivers/net/ethernet/ti/cpsw.c | 209 +-- include/linux/platform_data/cpsw.h | 19 -- 3 files changed, 82 insertions

[PATCH V4 5/7] arm/dts: am33xx: Add CPSW and MDIO module nodes for AM33XX

2012-11-06 Thread Mugunthan V N
Add CPSW and MDIO related device tree data for AM33XX. Also enable them into board/evm dts files by providing respective phy-id. Signed-off-by: Mugunthan V N mugunthan...@ti.com Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Cc: Benoit Cousson b-cous...@ti.com Acked-by: Peter Korsgaard jac

[PATCH V4 1/7] net: davinci_mdio: Fix typo mistake in calling runtime-pm api

2012-11-06 Thread Mugunthan V N
-by: Mugunthan V N mugunthan...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk Acked-by: Richard Cochran richardcoch...@gmail.com --- drivers/net/ethernet/ti/davinci_mdio.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/ethernet/ti/davinci_mdio.c b/drivers/net

[PATCH V4 6/7] ARM: OMAP2+: omap2plus_defconfig: Enable CPSW support

2012-11-06 Thread Mugunthan V N
Enable CPSW support in defconfig which is present in AM33xx SoC Signed-off-by: Mugunthan V N mugunthan...@ti.com Acked-by: Richard Cochran richardcoch...@gmail.com --- arch/arm/configs/omap2plus_defconfig |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs

[PATCH V4 2/7] net: cpsw: Add parent-child relation support between cpsw and mdio

2012-11-06 Thread Mugunthan V N
and populated in DT execution flow. The only required change is inside DTS file, making MDIO as a child to CPSW node. Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Signed-off-by: Mugunthan V N mugunthan...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk Acked-by: Richard Cochran richardcoch

[PATCH 1/2] drivers: net: ethernet: davince_mdio: device tree implementation

2012-08-06 Thread Mugunthan V N
device tree implementation for davinci mdio driver Signed-off-by: Mugunthan V N mugunthan...@ti.com --- .../devicetree/bindings/net/davinci-mdio.txt | 33 drivers/net/ethernet/ti/davinci_mdio.c | 41 ++-- 2 files changed, 70 insertions(+), 4

[PATCH 2/2] documentation: dt: bindings: cpsw: fixing the examples for directly using it in dts file

2012-08-06 Thread Mugunthan V N
Fixing the cpsw device tree example to make it simpler to copy pastable to dts file and use it directly. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- Documentation/devicetree/bindings/net/cpsw.txt | 101 --- 1 files changed, 53 insertions(+), 48 deletions(-) diff

[PATCH 0/2] Add device tree support for davinci_mdio driver and fix cpsw DT binding documentation

2012-08-06 Thread Mugunthan V N
Mugunthan V N (2): drivers: net: ethernet: davince_mdio: device tree implementation documentation: dt: bindings: cpsw: fixing the examples for directly using it in dts file Documentation/devicetree/bindings/net/cpsw.txt | 101 ++- .../devicetree/bindings/net/davinci

<    1   2   3   4