mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/9] net: dsa: add Realtek (rtl8365mb/rtl8366rb) switch support
@ 2023-01-16 13:44 Ahmad Fatoum
  2023-01-16 13:44 ` [PATCH 1/9] driver: alias of_match_ptr and DRV_OF_COMPAT Ahmad Fatoum
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Ahmad Fatoum @ 2023-01-16 13:44 UTC (permalink / raw)
  To: barebox; +Cc: ore

This imports the Linux v6.1 state of the driver into barebox. This has
been tested with the RTL8365MB in (bitbanged) SMI mode connected
to an i.MX8MM FEC.

Ahmad Fatoum (9):
  driver: alias of_match_ptr and DRV_OF_COMPAT
  gpiolib: implement gpio_direction_input/output
  net: dsa: rename dsa_ops to dsa_switch_ops
  net: dsa: factor out dsa_port_alloc helper
  net: dsa: populate struct dsa_port::index/dev members
  net: dsa: always call port_pre_enable before port_enable
  net: dsa: add some helpers to ease porting kernel drivers
  net: dsa: add struct dsa_switch::priv member for driver use
  net: dsa: add Realtek (rtl8365mb/rtl8366rb) switch support

 drivers/net/Kconfig                    |    2 +
 drivers/net/Makefile                   |    1 +
 drivers/net/dsa.c                      |   46 +-
 drivers/net/ksz8873.c                  |    2 +-
 drivers/net/ksz9477.c                  |    2 +-
 drivers/net/realtek-dsa/Kconfig        |   62 ++
 drivers/net/realtek-dsa/Makefile       |    7 +
 drivers/net/realtek-dsa/dsa_priv.h     |   77 ++
 drivers/net/realtek-dsa/realtek-mdio.c |  226 +++++
 drivers/net/realtek-dsa/realtek-smi.c  |  502 ++++++++++
 drivers/net/realtek-dsa/realtek.h      |  105 ++
 drivers/net/realtek-dsa/rtl8365mb.c    | 1273 ++++++++++++++++++++++++
 drivers/net/realtek-dsa/rtl8366rb.c    | 1123 +++++++++++++++++++++
 drivers/net/realtek-dsa/tag_rtl4_a.c   |  103 ++
 drivers/net/realtek-dsa/tag_rtl8_4.c   |  205 ++++
 drivers/net/realtek-dsa/tagger.c       |   38 +
 drivers/net/sja1105.c                  |    2 +-
 include/driver.h                       |    4 +-
 include/dsa.h                          |   21 +-
 include/gpiod.h                        |   12 +-
 include/linux/barebox-wrapper.h        |    1 +
 include/linux/if_bridge.h              |    9 +
 include/net.h                          |    3 +-
 23 files changed, 3803 insertions(+), 23 deletions(-)
 create mode 100644 drivers/net/realtek-dsa/Kconfig
 create mode 100644 drivers/net/realtek-dsa/Makefile
 create mode 100644 drivers/net/realtek-dsa/dsa_priv.h
 create mode 100644 drivers/net/realtek-dsa/realtek-mdio.c
 create mode 100644 drivers/net/realtek-dsa/realtek-smi.c
 create mode 100644 drivers/net/realtek-dsa/realtek.h
 create mode 100644 drivers/net/realtek-dsa/rtl8365mb.c
 create mode 100644 drivers/net/realtek-dsa/rtl8366rb.c
 create mode 100644 drivers/net/realtek-dsa/tag_rtl4_a.c
 create mode 100644 drivers/net/realtek-dsa/tag_rtl8_4.c
 create mode 100644 drivers/net/realtek-dsa/tagger.c
 create mode 100644 include/linux/if_bridge.h

-- 
2.30.2




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-01-23  8:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-16 13:44 [PATCH 0/9] net: dsa: add Realtek (rtl8365mb/rtl8366rb) switch support Ahmad Fatoum
2023-01-16 13:44 ` [PATCH 1/9] driver: alias of_match_ptr and DRV_OF_COMPAT Ahmad Fatoum
2023-01-16 13:44 ` [PATCH 2/9] gpiolib: implement gpio_direction_input/output Ahmad Fatoum
2023-01-16 13:44 ` [PATCH 3/9] net: dsa: rename dsa_ops to dsa_switch_ops Ahmad Fatoum
2023-01-16 13:44 ` [PATCH 4/9] net: dsa: factor out dsa_port_alloc helper Ahmad Fatoum
2023-01-16 13:44 ` [PATCH 5/9] net: dsa: populate struct dsa_port::index/dev members Ahmad Fatoum
2023-01-16 13:44 ` [PATCH 6/9] net: dsa: always call port_pre_enable before port_enable Ahmad Fatoum
2023-01-16 13:44 ` [PATCH 7/9] net: dsa: add some helpers to ease porting kernel drivers Ahmad Fatoum
2023-01-16 13:45 ` [PATCH 8/9] net: dsa: add struct dsa_switch::priv member for driver use Ahmad Fatoum
2023-01-16 13:45 ` [PATCH 9/9] net: dsa: add Realtek (rtl8365mb/rtl8366rb) switch support Ahmad Fatoum
2023-01-23  8:21 ` [PATCH 0/9] " Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox