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
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
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
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
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
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
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
-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
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
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
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
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
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
. 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
, 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
. 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
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
. 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
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
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
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
, 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
. 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
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
. 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
. 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
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
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
, 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
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
. 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
. 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
. 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
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
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
, 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
. 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
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
. 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
. 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
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
: 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
)
[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
) 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
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
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
:
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
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
. 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
. 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
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
. 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
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
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
-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
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
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
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
* 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
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
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
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
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
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
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
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
201 - 300 of 365 matches
Mail list logo