ce as an offset, and
once as a mask, which 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
Signed-off-by: Mathieu Olivari
---
drivers/net
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:
> >>&g
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
: 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
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
---
drivers/net/dsa/ar8xxx.c | 50
1 file
MIB counters can now be reported through each switch port by using
"ethtool -S".
Signed-off-by: Mathieu Olivari
---
drivers/net/dsa/ar8xxx.c | 106 +++
drivers/net/dsa/ar8xxx.h | 47 +
2 files changed, 146 insert
All switch registers can now be dumped using regmap/debugfs.
\# cat /sys/kernel/debug/regmap//registers
: 1302
0004: ...
...
Signed-off-by: Mathieu Olivari
---
drivers/net/dsa/Kconfig | 1 +
drivers/net/dsa/ar8xxx.c | 60
drivers/net
n IP@ 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
---
drivers/net/dsa/Kconfig | 7 ++
drivers/net/dsa/Makefile | 1 +
drivers/net/dsa/ar8xx
Add device-tree binding for ar8xxx switch families.
Signed-off-by: Mathieu Olivari
---
.../devicetree/bindings/net/dsa/qca-ar8xxx.txt | 70 ++
1 file changed, 70 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/dsa/qca-ar8xxx.txt
diff --git a
-by: Mathieu Olivari
---
drivers/net/dsa/Kconfig | 1 +
drivers/net/dsa/ar8xxx.c | 28 ++--
drivers/net/dsa/ar8xxx.h | 22 ++
3 files changed, 49 insertions(+), 2 deletions(-)
diff --git a/drivers/net/dsa/Kconfig b/drivers/net/dsa/Kconfig
index 17fb296
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
---
include/net/dsa.h | 1 +
net/dsa/Kconfig| 3 +
net/dsa/Makefile | 1 +
net/dsa/dsa.c | 5 ++
net/dsa/dsa_priv.h | 2 +
net
: 1
PHY + 1 DSA switch. The configuration of this split is done using 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
From: Stephen Boyd
Add the NSS/GMAC clocks and the TCM clock and NSS resets.
Signed-off-by: Stephen Boyd
Signed-off-by: Mathieu Olivari
---
drivers/clk/qcom/gcc-ipq806x.c | 594 ++-
include/dt-bindings/clock/qcom,gcc-ipq806x.h | 2 +
include/dt
the phy-handle property, as specified in
Documentation/devicetree/bindings/net/ethernet.txt.
Signed-off-by: Mathieu Olivari
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 28 ++
.../net/ethernet/stmicro/stmmac/stmmac_platform.c | 6 -
include
:
*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 tre
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
---
drivers/net
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
Add the device tree bindings documentation for the QCA IPQ806x
variant of the Synopsys DesignWare MAC.
Signed-off-by: Mathieu Olivari
---
.../devicetree/bindings/net/ipq806x-dwmac.txt | 35 ++
1 file changed, 35 insertions(+)
create mode 100644 Documentation/devicetree
Sent: Wednesday, 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...
.
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
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
---
drivers/net
Add the device tree bindings documentation for the QCA IPQ806x
variant of the Synopsys DesignWare MAC.
Signed-off-by: Mathieu Olivari
---
.../devicetree/bindings/net/ipq806x-dwmac.txt | 35 ++
1 file changed, 35 insertions(+)
create mode 100644 Documentation/devicetree
From: Stephen Boyd
Add the NSS/GMAC clocks and the TCM clock and NSS resets.
Signed-off-by: Stephen Boyd
Signed-off-by: Mathieu Olivari
---
drivers/clk/qcom/gcc-ipq806x.c | 594 ++-
include/dt-bindings/clock/qcom,gcc-ipq806x.h | 2 +
include/dt
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
the phy-handle property, as specified in
Documentation/devicetree/bindings/net/ethernet.txt.
Signed-off-by: Mathieu Olivari
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 28 ++
.../net/ethernet/stmicro/stmmac/stmmac_platform.c | 6 -
include
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
---
drivers/ne
26 matches
Mail list logo