* [PATCH v4 0/5] add dsa switch support for ar9331
@ 2019-10-22 5:57 Oleksij Rempel
0 siblings, 0 replies; 2+ messages in thread
From: Oleksij Rempel @ 2019-10-22 5:57 UTC (permalink / raw)
To: Andrew Lunn, Chris Snook, Florian Fainelli, James Hogan,
Jay Cliburn, Mark Rutland, Paul Burton, Ralf Baechle,
Rob Herring, Vivien Didelot
Cc: Oleksij Rempel, Pengutronix Kernel Team, David S. Miller, netdev,
linux-kernel, devicetree, linux-mips, Russell King
changes v4:
- ag71xx: ag71xx_mac_validate fix always false comparison (&& -> ||)
- tag_ar9331: use skb_pull_rcsum() instead of skb_pull().
- tag_ar9331: drop skb_set_mac_header()
changes v3:
- ag71xx: ag71xx_mac_config: ignore MLO_AN_INBAND mode. It is not
supported by HW and SW.
- ag71xx: ag71xx_mac_validate: return all supported bits on
PHY_INTERFACE_MODE_NA
changes v2:
- move Atheros AR9331 TAG format to separate patch
- use netdev_warn_once in the tag driver to reduce potential message spam
- typo fixes
- reorder tag driver alphabetically
- configure switch to maximal frame size
- use mdiobus_read/write
- fail if mdio sub node is not found
- add comment for post reset state
- remove deprecated comment about device id
- remove phy-handle option for node with fixed-link
- ag71xx: set 1G support only for GMII mode
This patch series provides dsa switch support for Atheros ar9331 WiSoC.
As side effect ag71xx needed to be ported to phylink to make the switch
driver (as well phylink based) work properly.
Oleksij Rempel (5):
net: ag71xx: port to phylink
dt-bindings: net: dsa: qca,ar9331 switch documentation
MIPS: ath79: ar9331: add ar9331-switch node
net: dsa: add support for Atheros AR9331 TAG format
net: dsa: add support for Atheros AR9331 build-in switch
.../devicetree/bindings/net/dsa/ar9331.txt | 148 ++++
arch/mips/boot/dts/qca/ar9331.dtsi | 127 ++-
arch/mips/boot/dts/qca/ar9331_dpt_module.dts | 13 +
drivers/net/dsa/Kconfig | 2 +
drivers/net/dsa/Makefile | 1 +
drivers/net/dsa/qca/Kconfig | 11 +
drivers/net/dsa/qca/Makefile | 2 +
drivers/net/dsa/qca/ar9331.c | 823 ++++++++++++++++++
drivers/net/ethernet/atheros/Kconfig | 2 +-
drivers/net/ethernet/atheros/ag71xx.c | 146 ++--
include/net/dsa.h | 2 +
net/dsa/Kconfig | 6 +
net/dsa/Makefile | 1 +
net/dsa/tag_ar9331.c | 96 ++
14 files changed, 1320 insertions(+), 60 deletions(-)
create mode 100644 Documentation/devicetree/bindings/net/dsa/ar9331.txt
create mode 100644 drivers/net/dsa/qca/Kconfig
create mode 100644 drivers/net/dsa/qca/Makefile
create mode 100644 drivers/net/dsa/qca/ar9331.c
create mode 100644 net/dsa/tag_ar9331.c
--
2.23.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH v4 0/5] add dsa switch support for ar9331
@ 2019-10-22 5:57 Oleksij Rempel
0 siblings, 0 replies; 2+ messages in thread
From: Oleksij Rempel @ 2019-10-22 5:57 UTC (permalink / raw)
To: Andrew Lunn, Chris Snook, Florian Fainelli, James Hogan,
Jay Cliburn, Mark Rutland, Paul Burton, Ralf Baechle,
Rob Herring, Vivien Didelot
Cc: Oleksij Rempel, Pengutronix Kernel Team, David S. Miller, netdev,
linux-kernel, devicetree, linux-mips, Russell King
changes v4:
- ag71xx: ag71xx_mac_validate fix always false comparison (&& -> ||)
- tag_ar9331: use skb_pull_rcsum() instead of skb_pull().
- tag_ar9331: drop skb_set_mac_header()
changes v3:
- ag71xx: ag71xx_mac_config: ignore MLO_AN_INBAND mode. It is not
supported by HW and SW.
- ag71xx: ag71xx_mac_validate: return all supported bits on
PHY_INTERFACE_MODE_NA
changes v2:
- move Atheros AR9331 TAG format to separate patch
- use netdev_warn_once in the tag driver to reduce potential message spam
- typo fixes
- reorder tag driver alphabetically
- configure switch to maximal frame size
- use mdiobus_read/write
- fail if mdio sub node is not found
- add comment for post reset state
- remove deprecated comment about device id
- remove phy-handle option for node with fixed-link
- ag71xx: set 1G support only for GMII mode
This patch series provides dsa switch support for Atheros ar9331 WiSoC.
As side effect ag71xx needed to be ported to phylink to make the switch
driver (as well phylink based) work properly.
Oleksij Rempel (5):
net: ag71xx: port to phylink
dt-bindings: net: dsa: qca,ar9331 switch documentation
MIPS: ath79: ar9331: add ar9331-switch node
net: dsa: add support for Atheros AR9331 TAG format
net: dsa: add support for Atheros AR9331 build-in switch
.../devicetree/bindings/net/dsa/ar9331.txt | 148 ++++
arch/mips/boot/dts/qca/ar9331.dtsi | 127 ++-
arch/mips/boot/dts/qca/ar9331_dpt_module.dts | 13 +
drivers/net/dsa/Kconfig | 2 +
drivers/net/dsa/Makefile | 1 +
drivers/net/dsa/qca/Kconfig | 11 +
drivers/net/dsa/qca/Makefile | 2 +
drivers/net/dsa/qca/ar9331.c | 823 ++++++++++++++++++
drivers/net/ethernet/atheros/Kconfig | 2 +-
drivers/net/ethernet/atheros/ag71xx.c | 146 ++--
include/net/dsa.h | 2 +
net/dsa/Kconfig | 6 +
net/dsa/Makefile | 1 +
net/dsa/tag_ar9331.c | 96 ++
14 files changed, 1320 insertions(+), 60 deletions(-)
create mode 100644 Documentation/devicetree/bindings/net/dsa/ar9331.txt
create mode 100644 drivers/net/dsa/qca/Kconfig
create mode 100644 drivers/net/dsa/qca/Makefile
create mode 100644 drivers/net/dsa/qca/ar9331.c
create mode 100644 net/dsa/tag_ar9331.c
--
2.23.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-22 5:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-22 5:57 [PATCH v4 0/5] add dsa switch support for ar9331 Oleksij Rempel
2019-10-22 5:57 Oleksij Rempel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).