Add support for imx8mm-venice-gw7901 and DSA switch
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | board: gateworks: venice: add imx8mm-gw7901 supportarch/ arch/ arch/ +2 more | +1194 | 1 reply | |
| 2/9 | net: fec: use device sequence vs index when fetching fecdrivers/ | +1 | 2 replies | |
| 3/9 | net: fec: set phy_of_node properly for fixed-link phydrivers/ | +5 | 2 replies | |
| 4/9 | net: add set_promisc function to enable/disable Promiscuous modeinclude/ | +2 | 2 replies | |
| 5/9 | net: fec: add set_promisc functiondrivers/ drivers/ | +14 | 2 replies | |
| 6/9 | net: dsa: enable master promisc mode if available and needednet/ | +8 | 2 replies | |
| 7/9 | net: add support for KSZ9477/KSZ9897/KSZ9567 GbE switchdrivers/ drivers/ drivers/ | +555 | 2 replies | |
| 8/9 | arm: dts: imx8mm-venice-gw7901.dts: fix dsa switch configurationarch/ | +36 | 1 reply | |
| 9/9 | configs: imx8mm_venice_defconfig: add support for gbe switchconfigs/ | +4 | 1 reply |
Reviews trailers per patch
6 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Ramon Fried |
|---|---|
| 1/9 | |
| 2/9 | R-b |
| 3/9 | R-b |
| 4/9 | R-b |
| 5/9 | R-b |
| 6/9 | R-b |
| 7/9 | R-b |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9] Add support for imx8mm-venice-gw7901 and DSA switch
The GW7901 is an IMX8M Mini based board with a KSZ9897 switch hanging off the IMX8M FEC.
In order to support a fixed-link connection to a U-Boot DSA switch some changes need to be made to the FEC driver.
Additionally, in order to support per-port unique MAC addrs for DSA we must introduce a mechanism to put the master device in promiscuous mode.
All patches are here including adding the dts for the board as well as a dsa driver and necessary patches to fec/dsa so that it is clear how this fits together.
Tim Harvey (9):
board: gateworks: venice: add imx8mm-gw7901 support
net: fec: use device sequence vs index when fetching fec
net: fec: set phy_of_node properly for fixed-link phy
net: add set_promisc function to enable/disable Promiscuous mode
net: fec: add set_promisc function
net: dsa: enable master promisc mode if available and needed
net: add support for KSZ9477/KSZ9897/KSZ9567 GbE switch
arm: dts: imx8mm-venice-gw7901.dts: fix dsa switch configuration
configs: imx8mm_venice_defconfig: add support for gbe switch
arch/arm/dts/Makefile | 1 + arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi | 118 ++ arch/arm/dts/imx8mm-venice-gw7901.dts | 1055 +++++++++++++++++ board/gateworks/venice/spl.c | 55 +- configs/imx8mm_venice_defconfig | 6 +- drivers/net/Kconfig | 7 + drivers/net/Makefile | 1 + drivers/net/fec_mxc.c | 21 +- drivers/net/fec_mxc.h | 1 + drivers/net/ksz9477.c | 547 +++++++++ include/net.h | 2 + net/dsa-uclass.c | 9 +- 12 files changed, 1818 insertions(+), 5 deletions(-) create mode 100644 arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi create mode 100644 arch/arm/dts/imx8mm-venice-gw7901.dts create mode 100644 drivers/net/ksz9477.c
Signature · 1 line
2.17.1