is a bug indeed. We'll fix it by defining the
offset as the real offset value and computing the mask from it when
required.
Tested on IPQ806x ref designs AP148 DB149.
Reported-by: Dan Carpenter dan.carpen...@oracle.com
Signed-off-by: Mathieu Olivari math...@codeaurora.org
---
drivers/net/ethernet
: Andrew Lunn [mailto:and...@lunn.ch]
Sent: Thursday, May 28, 2015 7:44 PM
To: Florian Fainelli
Cc: Mathieu Olivari; robh...@kernel.org; pawel.m...@arm.com;
mark.rutl...@arm.com; ijc+devicet...@hellion.org.uk; ga...@codeaurora.org;
da...@davemloft.net; li...@roeck-us.net; gang.chen.5...@gmail.com;
j
On Fri, May 29, 2015 at 04:00:01AM +0200, Andrew Lunn wrote:
FYI:
I have patches which allow DSA to use two cpu interfaces. Seems to
work on my DIR665 with a Marvell Switch.
I will post the patches as an RFC.
Andrew
Does it require the switch CPU ports to support LAG or is it generic
On Fri, May 29, 2015 at 12:58:12PM -0700, Florian Fainelli wrote:
On 29/05/15 11:59, Andrew Lunn wrote:
On Fri, May 29, 2015 at 11:49:54AM -0700, Mathieu Olivari wrote:
On Fri, May 29, 2015 at 04:00:01AM +0200, Andrew Lunn wrote:
FYI:
I have patches which allow DSA to use two cpu
MIB counters can now be reported through each switch port by using
ethtool -S.
Signed-off-by: Mathieu Olivari math...@codeaurora.org
---
drivers/net/dsa/ar8xxx.c | 106 +++
drivers/net/dsa/ar8xxx.h | 47 +
2 files changed, 146
This patch is adding support for port6 specific options to device tree.
They can be used to setup the second xMII interface, and connect it to
one of the switch port.
Signed-off-by: Mathieu Olivari math...@codeaurora.org
---
drivers/net/dsa/ar8xxx.c | 50
All switch registers can now be dumped using regmap/debugfs.
\# cat /sys/kernel/debug/regmap/mdiobus/registers
: 1302
0004: ...
...
Signed-off-by: Mathieu Olivari math...@codeaurora.org
---
drivers/net/dsa/Kconfig | 1 +
drivers/net/dsa/ar8xxx.c | 60
Add device-tree binding for ar8xxx switch families.
Signed-off-by: Mathieu Olivari math...@codeaurora.org
---
.../devicetree/bindings/net/dsa/qca-ar8xxx.txt | 70 ++
1 file changed, 70 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/dsa/qca
QCA tags are used on QCA ar8xxx switch family. This change adds support
for encap/decap using 2 bytes header mode.
Signed-off-by: Mathieu Olivari math...@codeaurora.org
---
include/net/dsa.h | 1 +
net/dsa/Kconfig| 3 +
net/dsa/Makefile | 1 +
net/dsa/dsa.c | 5 ++
net/dsa
@ on ethN interface. Ports cannot communicate with each
other just yet.
Link status will be reported through polling, and we don't use any
encapsulation.
Signed-off-by: Mathieu Olivari math...@codeaurora.org
---
drivers/net/dsa/Kconfig | 7 ++
drivers/net/dsa/Makefile | 1 +
drivers/net/dsa
driver
specific options in device-tree.
The exact properties are detailed in the Documentation patch below.
Mathieu Olivari (7):
net: dsa: add new driver for ar8xxx family
net: dsa: ar8xxx: add ethtool hw statistics support
net: dsa: ar8xxx: add regmap support
net: dsa: add QCA tag support
Add the device tree bindings documentation for the QCA IPQ806x
variant of the Synopsys DesignWare MAC.
Signed-off-by: Mathieu Olivari math...@codeaurora.org
---
.../devicetree/bindings/net/ipq806x-dwmac.txt | 35 ++
1 file changed, 35 insertions(+)
create mode 100644
In case DT is used, this change adds the ability to the stmmac driver to
detect a fixed-link PHY, instanciate it, and use it during
phy_connect().
Fixed link PHYs DT usage is described in:
Documentation/devicetree/bindings/net/fixed-link.txt
Signed-off-by: Mathieu Olivari math...@codeaurora.org
The ethernet controller available in IPQ806x is a Synopsys DesignWare
Gigabit MAC IP core, already supported by the stmmac driver.
This glue layer implements some platform specific settings required to
get the controller working on an IPQ806x based platform.
Signed-off-by: Mathieu Olivari math
:
*Fix MODULE_LICENSE to Dual BSD/GPL as the dwmac-ipq806x.c is using
ISC license.
Mathieu Olivari (4):
stmmac: add phy-handle support to the platform layer
stmmac: add fixed-link device-tree support
stmmac: add ipq806x glue layer
net: stmmac: ipq806x: document device tree bindings
, as specified in
Documentation/devicetree/bindings/net/ethernet.txt.
Signed-off-by: Mathieu Olivari math...@codeaurora.org
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 28 ++
.../net/ethernet/stmicro/stmmac/stmmac_platform.c | 6 -
include/linux/stmmac.h
From: Stephen Boyd sb...@codeaurora.org
Add the NSS/GMAC clocks and the TCM clock and NSS resets.
Signed-off-by: Stephen Boyd sb...@codeaurora.org
Signed-off-by: Mathieu Olivari math...@codeaurora.org
---
drivers/clk/qcom/gcc-ipq806x.c | 594 ++-
include/dt
, May 27, 2015 12:04 AM
To: Mathieu Olivari
Cc: robh...@kernel.org; pawel.m...@arm.com; mark.rutl...@arm.com;
ijc+devicet...@hellion.org.uk; ga...@codeaurora.org; mturque...@linaro.org;
sb...@codeaurora.org; peppe.cavall...@st.com; agr...@codeaurora.org;
jo...@codeaurora.org; arch...@codeaurora.org
, as specified in
Documentation/devicetree/bindings/net/ethernet.txt.
Signed-off-by: Mathieu Olivari math...@codeaurora.org
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 28 ++
.../net/ethernet/stmicro/stmmac/stmmac_platform.c | 6 -
include/linux/stmmac.h
The ethernet controller available in IPQ806x is a Synopsys DesignWare
Gigabit MAC IP core, already supported by the stmmac driver.
This glue layer implements some platform specific settings required to
get the controller working on an IPQ806x based platform.
Signed-off-by: Mathieu Olivari math
.
Mathieu Olivari (4):
stmmac: add phy-handle support to the platform layer
stmmac: add fixed-link device-tree support
stmmac: add ipq806x glue layer
net: stmmac: ipq806x: document device tree bindings
Stephen Boyd (1):
clk: qcom: Add support for NSS/GMAC clocks and resets
.../devicetree
Add the device tree bindings documentation for the QCA IPQ806x
variant of the Synopsys DesignWare MAC.
Signed-off-by: Mathieu Olivari math...@codeaurora.org
---
.../devicetree/bindings/net/ipq806x-dwmac.txt | 35 ++
1 file changed, 35 insertions(+)
create mode 100644
From: Stephen Boyd sb...@codeaurora.org
Add the NSS/GMAC clocks and the TCM clock and NSS resets.
Signed-off-by: Stephen Boyd sb...@codeaurora.org
Signed-off-by: Mathieu Olivari math...@codeaurora.org
---
drivers/clk/qcom/gcc-ipq806x.c | 594 ++-
include/dt
In case DT is used, this change adds the ability to the stmmac driver to
detect a fixed-link PHY, instanciate it, and use it during
phy_connect().
Fixed link PHYs DT usage is described in:
Documentation/devicetree/bindings/net/fixed-link.txt
Signed-off-by: Mathieu Olivari math...@codeaurora.org
the debugfs information for
the first registered device only.
This patch changes the debugfs structure to have one sub-directory per
net-device. Files under /sys/kernel/debug/stmmaceth will now show-up
under /sys/kernel/debug/stmmaceth/ethN/.
Signed-off-by: Mathieu Olivari math...@codeaurora.org
25 matches
Mail list logo