[net-next PATCH 2/8] drivers: net: phy: at803x: seperate wol specific code to wol standard apis

2013-06-04 Thread Mugunthan V N
WOL is initilized in phy config_init, but there are standard apis (set_wol/get_wol) for WOL in phy frame work. So this patch moves WOL specific code from config_init to wol standard apis. Cc: Matus Ujhelyi ujhely...@gmail.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/phy

[net-next PATCH 1/8] drivers: net: phy: at803x code cleanup on register and unregister driver

2013-06-04 Thread Mugunthan V N
Make use of phy_drivers_register/phy_drivers_unregister to register/unregister multiple phy drivers in a single module. Cc: Matus Ujhelyi ujhely...@gmail.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/phy/at803x.c | 35 ++- 1 file changed

[net-next PATCH 6/8] ARM: dts: AM33XX: Add CPSW phy_id device tree data to am335x-evmsk

2013-06-04 Thread Mugunthan V N
Add phy_id device tree data to am335x-evmsk device to bring up CPSW ethernet present on am335x starter kit. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b

[net-next PATCH 4/8] drivers: net: phy: at803x: add support for AT8031

2013-06-04 Thread Mugunthan V N
This patch adds support for Atheros 8031 phy driver. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/phy/at803x.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index dda07ed..1f7091b 100644

[net-next PATCH 7/8] drivers: net: ethernet: cpsw: add phy-mode support to cpsw driver

2013-06-04 Thread Mugunthan V N
Adding phy-mode support to cpsw driver and updating the cpsw binding documentation. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- Documentation/devicetree/bindings/net/cpsw.txt |6 ++ drivers/net/ethernet/ti/cpsw.c |2 ++ 2 files changed, 8 insertions(+) diff

[net-next PATCH 5/8] ARM: OMAP2+: omap2plus_defconfig: Enable Atheros support

2013-06-04 Thread Mugunthan V N
Enable Atheros 803X phy driver support in defconfig which is present in AM335x EVM and EVM Starter Kit. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/configs/omap2plus_defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch

Re: [net-next PATCH 1/8] drivers: net: phy: at803x code cleanup on register and unregister driver

2013-06-04 Thread Mugunthan V N
On 6/4/2013 5:32 PM, Sergei Shtylyov wrote: Hello. On 04-06-2013 10:10, Mugunthan V N wrote: Make use of phy_drivers_register/phy_drivers_unregister to register/unregister multiple phy drivers in a single module. Cc: Matus Ujhelyi ujhely...@gmail.com Signed-off-by: Mugunthan V N mugunthan

[net-next PATCH 1/1] drivers: net: davinci_cpdma: remove CRC bytes from skb added by CPDMA

2013-05-30 Thread Mugunthan V N
-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/davinci_cpdma.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/ethernet/ti/davinci_cpdma.c b/drivers/net/ethernet/ti/davinci_cpdma.c index 49dfd59..a377bc7 100644 --- a/drivers/net/ethernet/ti/davinci_cpdma.c

Re: [net-next PATCH v3 1/6] net: cpsw: enhance pinctrl support

2013-05-30 Thread Mugunthan V N
On 5/28/2013 7:35 PM, Mugunthan V N wrote: On 5/28/2013 3:06 AM, Tony Lindgren wrote: * Mugunthan V N mugunthan...@ti.com [130526 11:28]: From: Hebbar Gururaja gururaja.heb...@ti.com Amend cpsw controller to optionally take a pin control handle and set the state of the pins to: - default

Re: [net-next PATCH v3 1/6] net: cpsw: enhance pinctrl support

2013-05-28 Thread Mugunthan V N
On 5/28/2013 3:06 AM, Tony Lindgren wrote: * Mugunthan V N mugunthan...@ti.com [130526 11:28]: From: Hebbar Gururaja gururaja.heb...@ti.com Amend cpsw controller to optionally take a pin control handle and set the state of the pins to: - default on boot, resume - sleep on suspend

Re: [net-next PATCH v2 1/6] net: cpsw: enhance pinctrl support

2013-05-26 Thread Mugunthan V N
On 5/26/2013 12:12 PM, David Miller wrote: From: Mugunthan V N mugunthan...@ti.com Date: Thu, 23 May 2013 18:00:23 +0530 From: Hebbar Gururaja gururaja.heb...@ti.com Amend cpsw controller to optionally take a pin control handle and set the state of the pins to: - default on boot, resume

[net-next PATCH v3 0/6] Adding pinctrl PM support for CPSW and MDIO

2013-05-26 Thread Mugunthan V N
v2 * Fixed the multi comment style as per net coding style * Fixed checkpatch error (more than 80 characters) Hebbar Gururaja (1): net: cpsw: enhance pinctrl support Mugunthan V N (5): net: davinci_mdio: enhance pinctrl support ARM: dts: AM33XX: Add pinmux configuration for CPSW

[net-next PATCH v3 1/6] net: cpsw: enhance pinctrl support

2013-05-26 Thread Mugunthan V N
of the above pin states are missing in dt, a warning message about the missing state is displayed. If certain pin-states are not available, to remove this warning message pass respective state name with null phandler. Signed-off-by: Hebbar Gururaja gururaja.heb...@ti.com Signed-off-by: Mugunthan V N

[net-next PATCH v3 6/6] ARM: dts: AM33XX: Add pinmux configuration for CPSW to am335x EVM

2013-05-26 Thread Mugunthan V N
. With this configurations module is functional as expected. Todo: - if an idle state is available for pins, add support for it. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot

[net-next PATCH v3 2/6] net: davinci_mdio: enhance pinctrl support

2013-05-26 Thread Mugunthan V N
, a warning message about the missing state is displayed. If certain pin-states are not available, to remove this warning message pass respective state name with null phandler. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/davinci_mdio.c | 45

[net-next PATCH v3 3/6] ARM: dts: AM33XX: Add pinmux configuration for CPSW to beaglebone

2013-05-26 Thread Mugunthan V N
. With this configurations module is functional as expected. Todo: - if an idle state is available for pins, add support for it. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 38 + 1 file changed, 38 insertions(+) diff --git a/arch/arm

[net-next PATCH v3 4/6] ARM: dts: AM33XX: Add CPSW phy_id device tree data to am335x-evmsk

2013-05-26 Thread Mugunthan V N
Add phy_id device tree data to am335x-evmsk device to bring up CPSW ethernet present on am335x starter kit. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b

[net-next PATCH v3 5/6] ARM: dts: AM33XX: Add pinmux configuration for CPSW to EVMsk

2013-05-26 Thread Mugunthan V N
. With this configurations module is functional as expected. Todo: - if an idle state is available for pins, add support for it. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 50 1 file changed, 50 insertions(+) diff --git a/arch/arm

Re: [net-next resend PATCH 1/6] net: cpsw: enhance pinctrl support

2013-05-23 Thread Mugunthan V N
On 5/23/2013 12:27 PM, David Miller wrote: From: Mugunthan V N mugunthan...@ti.com Date: Tue, 21 May 2013 15:24:58 +0530 + priv-pins_default = pinctrl_lookup_state(priv-pinctrl, + PINCTRL_STATE_DEFAULT); This is not indented

[net-next PATCH v2 0/6] Adding pinctrl PM support for CPSW and MDIO

2013-05-23 Thread Mugunthan V N
Gururaja (1): net: cpsw: enhance pinctrl support Mugunthan V N (5): net: davinci_mdio: enhance pinctrl support ARM: dts: AM33XX: Add pinmux configuration for CPSW to beaglebone ARM: dts: AM33XX: Add CPSW phy_id device tree data to am335x-evmsk ARM: dts: AM33XX: Add pinmux configuration

[net-next PATCH v2 1/6] net: cpsw: enhance pinctrl support

2013-05-23 Thread Mugunthan V N
of the above pin states are missing in dt, a warning message about the missing state is displayed. If certain pin-states are not available, to remove this warning message pass respective state name with null phandler. Signed-off-by: Hebbar Gururaja gururaja.heb...@ti.com Signed-off-by: Mugunthan V N

[net-next PATCH v2 2/6] net: davinci_mdio: enhance pinctrl support

2013-05-23 Thread Mugunthan V N
, a warning message about the missing state is displayed. If certain pin-states are not available, to remove this warning message pass respective state name with null phandler. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/davinci_mdio.c | 46

[net-next PATCH v2 3/6] ARM: dts: AM33XX: Add pinmux configuration for CPSW to beaglebone

2013-05-23 Thread Mugunthan V N
. With this configurations module is functional as expected. Todo: - if an idle state is available for pins, add support for it. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 38 + 1 file changed, 38 insertions(+) diff --git a/arch/arm

[net-next PATCH v2 4/6] ARM: dts: AM33XX: Add CPSW phy_id device tree data to am335x-evmsk

2013-05-23 Thread Mugunthan V N
Add phy_id device tree data to am335x-evmsk device to bring up CPSW ethernet present on am335x starter kit. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b

[net-next PATCH v2 6/6] ARM: dts: AM33XX: Add pinmux configuration for CPSW to am335x EVM

2013-05-23 Thread Mugunthan V N
. With this configurations module is functional as expected. Todo: - if an idle state is available for pins, add support for it. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot

[net-next PATCH v2 5/6] ARM: dts: AM33XX: Add pinmux configuration for CPSW to EVMsk

2013-05-23 Thread Mugunthan V N
. With this configurations module is functional as expected. Todo: - if an idle state is available for pins, add support for it. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 50 1 file changed, 50 insertions(+) diff --git a/arch/arm

[net-next resend PATCH 0/6] Adding pinctrl PM support for CPSW and MDIO

2013-05-21 Thread Mugunthan V N
pinctrl support Mugunthan V N (5): net: davinci_mdio: enhance pinctrl support ARM: dts: AM33XX: Add pinmux configuration for CPSW to beaglebone ARM: dts: AM33XX: Add CPSW phy_id device tree data to am335x-evmsk ARM: dts: AM33XX: Add pinmux configuration for CPSW to EVMsk ARM: dts: AM33XX

[net-next resend PATCH 1/6] net: cpsw: enhance pinctrl support

2013-05-21 Thread Mugunthan V N
of the above pin states are missing in dt, a warning message about the missing state is displayed. If certain pin-states are not available, to remove this warning message pass respective state name with null phandler. Signed-off-by: Hebbar Gururaja gururaja.heb...@ti.com Signed-off-by: Mugunthan V N

[net-next resend PATCH 2/6] net: davinci_mdio: enhance pinctrl support

2013-05-21 Thread Mugunthan V N
, a warning message about the missing state is displayed. If certain pin-states are not available, to remove this warning message pass respective state name with null phandler. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/davinci_mdio.c | 46

[net-next resend PATCH 4/6] ARM: dts: AM33XX: Add CPSW phy_id device tree data to am335x-evmsk

2013-05-21 Thread Mugunthan V N
Add phy_id device tree data to am335x-evmsk device to bring up CPSW ethernet present on am335x starter kit. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b

[net-next resend PATCH 5/6] ARM: dts: AM33XX: Add pinmux configuration for CPSW to EVMsk

2013-05-21 Thread Mugunthan V N
. With this configurations module is functional as expected. Todo: - if an idle state is available for pins, add support for it. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 50 1 file changed, 50 insertions(+) diff --git a/arch/arm

[net-next resend PATCH 6/6] ARM: dts: AM33XX: Add pinmux configuration for CPSW to am335x EVM

2013-05-21 Thread Mugunthan V N
. With this configurations module is functional as expected. Todo: - if an idle state is available for pins, add support for it. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot

[net-next resend PATCH 3/6] ARM: dts: AM33XX: Add pinmux configuration for CPSW to beaglebone

2013-05-21 Thread Mugunthan V N
. With this configurations module is functional as expected. Todo: - if an idle state is available for pins, add support for it. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 38 + 1 file changed, 38 insertions(+) diff --git a/arch/arm

[net-next PATCH 0/6] Adding pinctrl PM support for CPSW and Davinci MDIO drivers

2013-05-03 Thread Mugunthan V N
This patch series adds the following features * Adding pinctrl PM support for CPSW and MDIO for Power Optimization * Adding phy address to the CPSW node for EVMsk board Hebbar Gururaja (1): net: cpsw: enhance pinctrl support Mugunthan V N (5): net: davinci_mdio: enhance pinctrl support ARM

[net-next PATCH 1/6] net: cpsw: enhance pinctrl support

2013-05-03 Thread Mugunthan V N
of the above pin states are missing in dt, a warning message about the missing state is displayed. If certain pin-states are not available, to remove this warning message pass respective state name with null phandler. Signed-off-by: Hebbar Gururaja gururaja.heb...@ti.com Signed-off-by: Mugunthan V N

[net-next PATCH 2/6] net: davinci_mdio: enhance pinctrl support

2013-05-03 Thread Mugunthan V N
, a warning message about the missing state is displayed. If certain pin-states are not available, to remove this warning message pass respective state name with null phandler. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/davinci_mdio.c | 46

[net-next PATCH 3/6] ARM: dts: AM33XX: Add pinmux configuration for CPSW to beaglebone

2013-05-03 Thread Mugunthan V N
. With this configurations module is functional as expected. Todo: - if an idle state is available for pins, add support for it. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 38 + 1 file changed, 38 insertions(+) diff --git a/arch/arm

[net-next PATCH 4/6] ARM: dts: AM33XX: Add CPSW phy_id device tree data to am335x-evmsk

2013-05-03 Thread Mugunthan V N
Add phy_id device tree data to am335x-evmsk device to bring up CPSW ethernet present on am335x starter kit. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b

[net-next PATCH 5/6] ARM: dts: AM33XX: Add pinmux configuration for CPSW to EVMsk

2013-05-03 Thread Mugunthan V N
. With this configurations module is functional as expected. Todo: - if an idle state is available for pins, add support for it. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 50 1 file changed, 50 insertions(+) diff --git a/arch/arm

[net-next PATCH 6/6] ARM: dts: AM33XX: Add pinmux configuration for CPSW to am335x EVM

2013-05-03 Thread Mugunthan V N
. With this configurations module is functional as expected. Todo: - if an idle state is available for pins, add support for it. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot

Re: [net-next PATCH 0/6] Adding pinctrl PM support for CPSW and Davinci MDIO drivers

2013-05-03 Thread Mugunthan V N
On 5/3/2013 1:12 PM, David Miller wrote: Please read: http://marc.info/?l=linux-netdevm=136730964130303w=2 Sorry, will resend the patch series one net is merged with net-next. Regards Mugunthan V N -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message

[net-next PATCH 1/1] drivers: net: cpsw: irq not disabled in cpsw isr in particular sequence

2013-05-02 Thread Mugunthan V N
: Sebastian Siewior bige...@linutronix.de Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index 59c4391..21a5b29 100644

[net-next PATCH v2 1/1] drivers: net: cpsw: fix kernel warn on cpsw irq enable

2013-04-30 Thread Mugunthan V N
) [3.194929] [c04f36ec] (kernel_init+0x8/0xe4) from [c00133d0] (ret_from_fork+0x14/0x24) [3.203712] ---[ end trace d6f979da080bc391 ]--- Cc: Sebastian Siewior bige...@linutronix.de Signed-off-by: Mugunthan V N mugunthan...@ti.com --- Changes from initial version: * added previous commit

[net-next PATCH 1/1] drivers: net: cpsw: fix kernel warn on cpsw irq enable

2013-04-26 Thread Mugunthan V N
) from [c00133d0] (ret_from_fork+0x14/0x24) [3.203712] ---[ end trace d6f979da080bc391 ]--- Cc: Sebastian Siewior bige...@linutronix.de Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [net-next PATCH 1/3] drivers: of: add phy fixup support in DT

2013-04-25 Thread Mugunthan V N
On 4/25/2013 1:26 PM, David Miller wrote: From: Mugunthan V N mugunthan...@ti.com Date: Mon, 22 Apr 2013 23:50:36 +0530 In earlier case phy fixup are added in board file as this is no more the case so adding support for phy register fixup in Device Tree Signed-off-by: Mugunthan V N mugunthan

Re: [net-next PATCH 0/3] Adding phy register fixup in DT

2013-04-24 Thread Mugunthan V N
On 4/23/2013 1:32 PM, Sascha Hauer wrote: On Mon, Apr 22, 2013 at 11:50:35PM +0530, Mugunthan V N wrote: In earlier days phy fixup was added to phy frame work in board files. As there won't be any board files here after the same has to be done in DT This patch series adds the following features

Re: [PATCH] remove vlan tags in CPSW dual emac mode

2013-04-23 Thread Mugunthan V N
: CPSW_FIFO_NORMAL_MODE; writel(fifo_mode, priv-host_port_regs-tx_in_ctl); Disabling VLAN aware mode will enable switching mode and the feature of separating the two down stream port is lost with this patch Please check TRM for more info in *14.3.2.10.2 Dual Mac Mode* chapter Regards Mugunthan V N

Re: [PATCH 0/3] Dual EMAC mode implementation of CPSW

2013-04-22 Thread Mugunthan V N
to ? If so, how ? No need to setup any VLAN. VLAN are used to segregate the two down stream ports and it will be taken care by the driver 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

[net-next PATCH 0/3] Adding phy register fixup in DT

2013-04-22 Thread Mugunthan V N
for AM335x EVM and EVMsk Mugunthan V N (3): drivers: of: add phy fixup support in DT ARM: dts: AM33XX: Add CPSW phy_id device tree data to am335x-evmsk ARM: dts: AM33XX: add phy fixup for evm and evmsk boards .../devicetree/bindings/net/phy-fixup.txt | 26 ++ arch/arm/boot/dts/am335x

[net-next PATCH 1/3] drivers: of: add phy fixup support in DT

2013-04-22 Thread Mugunthan V N
In earlier case phy fixup are added in board file as this is no more the case so adding support for phy register fixup in Device Tree Signed-off-by: Mugunthan V N mugunthan...@ti.com --- .../devicetree/bindings/net/phy-fixup.txt | 26 ++ drivers/of/of_net.c

[net-next PATCH 2/3] ARM: dts: AM33XX: Add CPSW phy_id device tree data to am335x-evmsk

2013-04-22 Thread Mugunthan V N
Add phy_id device tree data to am335x-evmsk device to bring up CPSW ethernet present on am335x starter kit. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b

[net-next PATCH 3/3] ARM: dts: AM33XX: add phy fixup for evm and evmsk boards

2013-04-22 Thread Mugunthan V N
As RGMII tx clock internal delay is not supported in AM335x, the same has to be enabled in phy. This patch adds support for enabling tx clock internal delay via phy debug registers Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 10 ++ arch/arm

Re: [PATCH 3/3] driver: net: ethernet: cpsw: dual emac interface implementation

2013-04-15 Thread Mugunthan V N
On 4/15/2013 12:50 AM, Mark Jackson wrote: On 11/02/13 19:52, Mugunthan V N wrote: The CPSW switch can act as Dual EMAC by segregating the switch ports using VLAN and port VLAN as per the TRM description in 14.3.2.10.2 Dual Mac Mode Following CPSW components will be common for both

Re: [PATCH 0/3] Dual EMAC mode implementation of CPSW

2013-04-15 Thread Mugunthan V N
On 4/15/2013 12:46 AM, Mark Jackson wrote: On 11/02/13 19:52, Mugunthan V N wrote: This patch series implements Dual EMAC mode implementation of CPSW which acts as two standalone EMAC by segregating the switch using VIDs and port VLAN Mugunthan V N (3): driver: net: ethernet: davinci_cpdma

[net PATCH 1/1] drivers: net: ethernet: cpsw: get slave VLAN id from slave node instead of cpsw node

2013-04-15 Thread Mugunthan V N
Dual EMAC slave VLAN id must be got from slave node instead of cpsw node as VLAN id for each slave will be different. Reported-by: Mark Jackson mpfj-l...@mimc.co.uk Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw.c |2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 0/3] Dual EMAC mode implementation of CPSW

2013-04-15 Thread Mugunthan V N
On 4/15/2013 10:58 PM, Mark Jackson wrote: On 15/04/13 18:07, Mugunthan V N wrote: On 4/15/2013 12:46 AM, Mark Jackson wrote: snip Notice that at the end, the nfs link appears to come back ok, but the ps command never completes. Any ideas of what's going on ? I have tried ping on both

Re: AM3517 DaVinci EMAC Ethernet performance issues

2013-04-04 Thread Mugunthan V N
and resolved by the patch below. Can you make sure the patch is applied in your kernel and take the performance again. https://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=7e51cde276ca820d526c6c21cf8147df595a36bf Regards Mugunthan V N -- To unsubscribe from this list: send

[net-next PATCH 1/1] drivers: net: ethernet: ti: sparse warning fix for ti ethernet drivers

2013-03-27 Thread Mugunthan V N
-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw.c |4 ++-- drivers/net/ethernet/ti/cpsw_ale.c |4 ++-- drivers/net/ethernet/ti/davinci_cpdma.c |4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b

[net-next PATCH 0/2] network performance improvement patches for TI CPSW and Davinci EMAC drivers

2013-03-27 Thread Mugunthan V N
queue immediately, so there can be dead time during continuous transfer, this can be fixed by using netif_wake_queue api which will schedule tx queue immediately. Mugunthan V N (2): drivers: net: ethernet: cpsw: use netif_wake_queue() while restarting tx queue drivers: net: ethernet

[net-next PATCH 1/2] drivers: net: ethernet: cpsw: use netif_wake_queue() while restarting tx queue

2013-03-27 Thread Mugunthan V N
s...@ti.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index f4be85b..61ecebf 100644 --- a/drivers/net/ethernet/ti/cpsw.c

[net-next PATCH 2/2] drivers: net: ethernet: davinci_emac: use netif_wake_queue() while restarting tx queue

2013-03-27 Thread Mugunthan V N
s...@ti.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/davinci_emac.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/davinci_emac.c b/drivers/net/ethernet/ti/davinci_emac.c index 8121a3d..6a0b477 100644 --- a/drivers

[PATCH 1/3] ARM: dts: AM33XX: Add pinmux configuration for CPSW to beaglebone

2013-03-25 Thread Mugunthan V N
. With this configurations module is functional as expected. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts index

[PATCH 2/3] ARM: dts: AM33XX: Add pinmux configuration for CPSW to EVMsk

2013-03-25 Thread Mugunthan V N
. With this configurations module is functional as expected. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 38 +++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x

[PATCH 0/3] add pin-mux configuration for AM33xx CPSW

2013-03-25 Thread Mugunthan V N
Adding pinmux configuration to AM33xx board dts file. Mugunthan V N (3): ARM: dts: AM33XX: Add pinmux configuration for CPSW to beaglebone ARM: dts: AM33XX: Add pinmux configuration for CPSW to EVMsk ARM: dts: AM33XX: Add pinmux configuration for CPSW to am335x EVM arch/arm/boot/dts

[PATCH 3/3] ARM: dts: AM33XX: Add pinmux configuration for CPSW to am335x EVM

2013-03-25 Thread Mugunthan V N
. With this configurations module is functional as expected. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index

[RESEND PATCH 1/1] ARM: dts: AM33XX: Add CPSW phy_id device tree data to am335x-evmsk

2013-03-20 Thread Mugunthan V N
Add phy_id device tree data to am335x-evmsk device to bring up CPSW ethernet present on am335x starter kit. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b

[net PATCH 1/1] drivers: net: ethernet: ti: davinci_emac: fix usage of cpdma_check_free_tx_desc()

2013-03-15 Thread Mugunthan V N
slots. However, cpdma_check_free_tx_desc() returns 'true' if there is room in the bitmap, not 'false', so the usage of the function is wrong. Reported-by: Prabhakar Lad prabhakar.cse...@gmail.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/davinci_emac.c

Re: [PATCH v3 net-next 1/1] drivers: net: davinci_cpdma: acknowledge interrupt properly

2013-03-14 Thread Mugunthan V N
On 3/13/2013 3:04 PM, Mark Jackson wrote: On 18/02/13 08:19, Mugunthan V N wrote: CPDMA interrupts are not properly acknowledged which leads to interrupt storm, only cpdma interrupt 0 is acknowledged in Davinci CPDMA driver. Changed cpdma_ctlr_eoi api to acknowledge 1 and 2 interrupts which

[PATCH v2 4/5] driver: net: ethernet: cpsw: implement interrupt pacing via ethtool

2013-03-12 Thread Mugunthan V N
This patch implements support for interrupt pacing block of CPSW via ethtool Inetrrupt pacing block is common of both the ethernet interface in dual emac mode Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw.c | 104 1

[PATCH v2 5/5] drivers: net: ethernet: cpsw: implement get phy_id via ioctl

2013-03-12 Thread Mugunthan V N
Implement get phy_id via ioctl SIOCGMIIPHY. In switch mode active phy_id is returned and in dual EMAC mode slave's specific phy_id is returned. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw.c | 16 ++-- 1 file changed, 14 insertions(+), 2

[PATCH v2 1/5] documentation: dt: bindings: cpsw: cleanup documentation

2013-03-12 Thread Mugunthan V N
Move all the slave note properties to separate section to reduce the confusion between slave note properties and cpsw node properties Signed-off-by: Mugunthan V N mugunthan...@ti.com --- Documentation/devicetree/bindings/net/cpsw.txt |9 +++-- 1 file changed, 7 insertions(+), 2 deletions

[PATCH v2 3/5] driver: net: ethernet: cpsw: implement ethtool get/set phy setting

2013-03-12 Thread Mugunthan V N
This patch implements get/set of the phy settings via ethtool apis Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti

[PATCH v2 0/5] cpsw interrupt pacing and get/set phy setting implementation

2013-03-12 Thread Mugunthan V N
by seperating slave nodes under sub-section * implemented get phy id via ioctl cmd SIOCGMIIPHY Mugunthan V N (5): documentation: dt: bindings: cpsw: cleanup documentation drivers: net: ethernet: cpsw: change cpts_active_slave to active_slave driver: net: ethernet: cpsw: implement ethtool get

[PATCH v2 2/5] drivers: net: ethernet: cpsw: change cpts_active_slave to active_slave

2013-03-12 Thread Mugunthan V N
Change cpts_active_slave to active_slave so that the same DT property can be used to ethtool and SIOCGMIIPHY. CC: Richard Cochran richardcoch...@gmail.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- Documentation/devicetree/bindings/net/cpsw.txt |7 --- arch/arm/boot/dts

Re: [PATCH 1/3] driver: net: ethernet: cpsw: implement ethtool get/set phy setting

2013-03-08 Thread Mugunthan V N
On 3/8/2013 8:23 PM, Ben Hutchings wrote: On Fri, 2013-03-08 at 12:53 +0530, Mugunthan V N wrote: On 3/8/2013 1:29 AM, Ben Hutchings wrote: On Thu, 2013-03-07 at 14:24 +0100, Peter Korsgaard wrote: M == Mugunthan V N mugunthan...@ti.com writes: M This patch implements get/set of the phy

Re: [PATCH 1/3] driver: net: ethernet: cpsw: implement ethtool get/set phy setting

2013-03-08 Thread Mugunthan V N
their own net device (as with DSA). Indeed, I think that would simplify all of this quite a bit. I will update this in the next patch series 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

[PATCH 3/3] driver: net: ethernet: cpsw: implement interrupt pacing via ethtool

2013-03-07 Thread Mugunthan V N
This patch implements support for interrupt pacing block of CPSW via ethtool Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw.c | 95 1 file changed, 95 insertions(+) diff --git a/drivers/net/ethernet/ti/cpsw.c b

[PATCH 0/3] cpsw interrupt pacing and get/set phy setting implementation

2013-03-07 Thread Mugunthan V N
This patch serires implements the following features in CPSW driver * get/set phy link settings * interrupt pacing Mugunthan V N (3): driver: net: ethernet: cpsw: implement ethtool get/set phy setting arm: dts: am33xx: add default ethtool slave to cpsw node driver: net: ethernet: cpsw

[PATCH 2/3] arm: dts: am33xx: add default ethtool slave to cpsw node

2013-03-07 Thread Mugunthan V N
Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am33xx.dtsi |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 0957645..f8c83a1 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts

[PATCH 1/3] driver: net: ethernet: cpsw: implement ethtool get/set phy setting

2013-03-07 Thread Mugunthan V N
This patch implements get/set of the phy settings via ethtool apis Signed-off-by: Mugunthan V N mugunthan...@ti.com --- Documentation/devicetree/bindings/net/cpsw.txt |3 +++ drivers/net/ethernet/ti/cpsw.c | 32 include/linux/platform_data/cpsw.h

Re: [PATCH 1/3] driver: net: ethernet: cpsw: implement ethtool get/set phy setting

2013-03-07 Thread Mugunthan V N
On 3/7/2013 6:54 PM, Peter Korsgaard wrote: M == Mugunthan V N mugunthan...@ti.com writes: M This patch implements get/set of the phy settings via ethtool apis M Signed-off-by: Mugunthan V N mugunthan...@ti.com M --- M Documentation/devicetree/bindings/net/cpsw.txt |3 +++ M

Re: [PATCH 2/3] arm: dts: am33xx: add default ethtool slave to cpsw node

2013-03-07 Thread Mugunthan V N
On 3/7/2013 9:43 PM, Tony Lindgren wrote: * Mugunthan V N mugunthan...@ti.com [130307 04:35]: Can you please add a description and send this separately so Benoit can queue it. Will send this patch separately after this patch series has been reviewed and accepted by netdev maintainer

Re: [PATCH 1/3] driver: net: ethernet: cpsw: implement ethtool get/set phy setting

2013-03-07 Thread Mugunthan V N
On 3/8/2013 1:29 AM, Ben Hutchings wrote: On Thu, 2013-03-07 at 14:24 +0100, Peter Korsgaard wrote: M == Mugunthan V N mugunthan...@ti.com writes: M This patch implements get/set of the phy settings via ethtool apis M Signed-off-by: Mugunthan V N mugunthan...@ti.com M --- M

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

2013-02-18 Thread Mugunthan V N
-consulting.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- Changes from v2: * Changed the hardware register values from enumeration to defines drivers/net/ethernet/ti/cpsw.c | 25 - drivers/net/ethernet/ti/davinci_cpdma.c |4 ++-- drivers/net/ethernet/ti

Re: [PATCH 3/3] driver: net: ethernet: cpsw: dual emac interface implementation

2013-02-18 Thread Mugunthan V N
On 2/18/2013 7:06 PM, Peter Korsgaard wrote: M == Mugunthan V N mugunthan...@ti.com writes: M The CPSW switch can act as Dual EMAC by segregating the switch ports M using VLAN and port VLAN as per the TRM description in M 14.3.2.10.2 Dual Mac Mode M Following CPSW components

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

2013-02-17 Thread Mugunthan V N
On 2/16/2013 1:35 AM, David Miller wrote: From: Mugunthan V N mugunthan...@ti.com Date: Thu, 14 Feb 2013 23:56:46 +0530 +enum { + CPDMA_EOI_RX_THRESH = 0, + CPDMA_EOI_RX, + CPDMA_EOI_TX, + CPDMA_EOI_MISC, +}; Do not use enumerations for hardware register values, which

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

2013-02-17 Thread Mugunthan V N
On 2/16/2013 1:35 AM, David Miller wrote: Also please indicate, clearly, what tree your patch is targetted at. Sorry for not mentioning the tree, will mention in the future patches. Regards Mugunthan V N -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body

[PATCH 1/1] ARM: dts: AM33XX: Add CPSW phy_id device tree data to am335x-evmsk

2013-02-14 Thread Mugunthan V N
Add phy_id device tree data to am335x-evmsk device to bring up CPSW ethernet present on am335x starter kit. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b

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

2013-02-14 Thread Mugunthan V N
-consulting.com Signed-off-by: Mugunthan V N mugunthan...@ti.com --- Changes from Initial Version: * Changed Tx and Rx EOI seperated so that Tx interrupt will not be cleared without processing any txpackets so that none of the interrupt are missed or cleared without processing. drivers/net/ethernet

[PATCH 0/3] Dual EMAC mode implementation of CPSW

2013-02-11 Thread Mugunthan V N
This patch series implements Dual EMAC mode implementation of CPSW which acts as two standalone EMAC by segregating the switch using VIDs and port VLAN Mugunthan V N (3): driver: net: ethernet: davinci_cpdma: add support for directed packet and source port detection driver: net: ethernet

[PATCH 2/3] driver: net: ethernet: cpsw: make cpts as pointer

2013-02-11 Thread Mugunthan V N
As CPTS is common module for both EMAC in Dual EMAC mode so making cpts as pointer. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw.c | 36 +--- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/drivers/net

[PATCH 3/3] driver: net: ethernet: cpsw: dual emac interface implementation

2013-02-11 Thread Mugunthan V N
of One port should not be used in other interface which will enable switching functionality * Same VID must not be used in both the interface which will enable switching functionality Signed-off-by: Mugunthan V N mugunthan...@ti.com --- Documentation/devicetree/bindings/net/cpsw.txt |2

[PATCH 1/3] driver: net: ethernet: davinci_cpdma: add support for directed packet and source port detection

2013-02-11 Thread Mugunthan V N
* Introduced parameter to add port number for directed packet in cpdma_chan_submit * Source port detection macro with DMA descriptor status Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw.c |6 +++--- drivers/net/ethernet/ti/davinci_cpdma.c | 17

[PATCH v4 0/2] Add CPSW VLAN Support

2013-02-05 Thread Mugunthan V N
cpsw_add_default_vlan for better readability * changed BIT(1) port representation to defines Changes from V3 * Dropped default VLAN id passing from DT, will find a way to pass it through ethtool or similar interface and submit the patch. Mugunthan V N (2): drivers: net: cpsw: Add helper functions for VLAN ALE

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

2013-02-05 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 --- drivers/net/ethernet/ti/cpsw.c | 106 +++- drivers/net/ethernet/ti/cpsw_ale.h |4 ++ include/linux

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

2013-02-05 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 | 107 drivers/net/ethernet

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

2013-01-31 Thread Mugunthan V N
On 1/31/2013 1:33 AM, Koen Kooi wrote: Op 30 jan. 2013, om 20:56 heeft Mugunthan V N mugunthan...@ti.com het volgende geschreven: CPDMA interrupts are not properly acknowledged which leads to interrupt storm, only cpdma interrupt 0 is acknowledged in Davinci CPDMA driver. Changed

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

2013-01-31 Thread Mugunthan V N
On 1/31/2013 3:32 AM, Francois Romieu wrote: Mugunthan V N mugunthan...@ti.com : [...] diff --git a/drivers/net/ethernet/ti/cpsw_ale.c b/drivers/net/ethernet/ti/cpsw_ale.c index 0e9ccc2..18b88ce 100644 --- a/drivers/net/ethernet/ti/cpsw_ale.c +++ b/drivers/net/ethernet/ti/cpsw_ale.c

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

2013-01-31 Thread Mugunthan V N
On 1/31/2013 3:32 AM, Francois Romieu wrote: Mugunthan V N mugunthan...@ti.com : [...] diff --git a/Documentation/devicetree/bindings/net/cpsw.txt b/Documentation/devicetree/bindings/net/cpsw.txt index 6ddd028..99696bf 100644 --- a/Documentation/devicetree/bindings/net/cpsw.txt +++ b

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

2013-01-31 Thread Mugunthan V N
Pantelis On 1/31/2013 4:52 PM, Pantelis Antoniou wrote: Hi On Jan 31, 2013, at 12:17 PM, Mugunthan V N wrote: On 1/31/2013 1:33 AM, Koen Kooi wrote: Op 30 jan. 2013, om 20:56 heeft Mugunthan V N mugunthan...@ti.com het volgende geschreven: CPDMA interrupts are not properly acknowledged

<    1   2   3   4   >