mbox series

[net-next,v8,0/9] microchip: add support for ksz88x3 driver family

Message ID 20210427070909.14434-1-o.rempel@pengutronix.de
Headers show
Series microchip: add support for ksz88x3 driver family | expand

Message

Oleksij Rempel April 27, 2021, 7:09 a.m. UTC
changes v8:
- add Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
- fix build issue on "net: dsa: microchip: ksz8795: move register
  offsets and shifts to separate struct"

changes v7:
- Reverse christmas tree fixes
- remove IS_88X3 and use chip_id instead
- drop own tag and use DSA_TAG_PROTO_KSZ9893 instead

changes v6:
- take over this patch set
- rebase against latest netdev-next and fix regressions
- disable VLAN support for KSZ8863. KSZ8863's VLAN is not compatible to the
  KSZ8795's. So disable it for now and mainline it separately.

This series adds support for the ksz88x3 driver family to the dsa based
ksz drivers. The driver is making use of the already available ksz8795
driver and moves it to an generic driver for the ksz8 based chips which
have similar functions but an totaly different register layout.

The mainlining discussion history of this branch:
v1: https://lore.kernel.org/netdev/20191107110030.25199-1-m.grzeschik@pengutronix.de/
v2: https://lore.kernel.org/netdev/20191218200831.13796-1-m.grzeschik@pengutronix.de/
v3: https://lore.kernel.org/netdev/20200508154343.6074-1-m.grzeschik@pengutronix.de/
v4: https://lore.kernel.org/netdev/20200803054442.20089-1-m.grzeschik@pengutronix.de/
v5: https://lore.kernel.org/netdev/20201207125627.30843-1-m.grzeschik@pengutronix.de/

Andrew Lunn (1):
  net: phy: Add support for microchip SMI0 MDIO bus

Michael Grzeschik (7):
  net: dsa: microchip: ksz8795: change drivers prefix to be generic
  net: dsa: microchip: ksz8795: move cpu_select_interface to extra
    function
  net: dsa: microchip: ksz8795: move register offsets and shifts to
    separate struct
  net: dsa: microchip: Add Microchip KSZ8863 SPI based driver support
  dt-bindings: net: dsa: document additional Microchip KSZ8863/8873
    switch
  net: dsa: microchip: Add Microchip KSZ8863 SMI based driver support
  dt-bindings: net: mdio-gpio: add compatible for microchip,mdio-smi0

Oleksij Rempel (1):
  net: dsa: microchip: ksz8795: add support for ksz88xx chips

 .../bindings/net/dsa/microchip,ksz.yaml       |   2 +
 .../devicetree/bindings/net/mdio-gpio.txt     |   1 +
 drivers/net/dsa/microchip/Kconfig             |  10 +-
 drivers/net/dsa/microchip/Makefile            |   1 +
 drivers/net/dsa/microchip/ksz8.h              |  69 ++
 drivers/net/dsa/microchip/ksz8795.c           | 884 ++++++++++++------
 drivers/net/dsa/microchip/ksz8795_reg.h       | 125 +--
 drivers/net/dsa/microchip/ksz8795_spi.c       |  46 +-
 drivers/net/dsa/microchip/ksz8863_smi.c       | 213 +++++
 drivers/net/dsa/microchip/ksz_common.h        |   3 +-
 drivers/net/mdio/mdio-bitbang.c               |   8 +-
 drivers/net/mdio/mdio-gpio.c                  |   8 +
 include/linux/mdio-bitbang.h                  |   3 +
 13 files changed, 983 insertions(+), 390 deletions(-)
 create mode 100644 drivers/net/dsa/microchip/ksz8.h
 create mode 100644 drivers/net/dsa/microchip/ksz8863_smi.c

Comments

patchwork-bot+netdevbpf@kernel.org April 27, 2021, 9:22 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Tue, 27 Apr 2021 09:09:00 +0200 you wrote:
> changes v8:
> - add Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
> - fix build issue on "net: dsa: microchip: ksz8795: move register
>   offsets and shifts to separate struct"
> 
> changes v7:
> - Reverse christmas tree fixes
> - remove IS_88X3 and use chip_id instead
> - drop own tag and use DSA_TAG_PROTO_KSZ9893 instead
> 
> [...]

Here is the summary with links:
  - [net-next,v8,1/9] net: dsa: microchip: ksz8795: change drivers prefix to be generic
    https://git.kernel.org/netdev/net-next/c/4b5baca0403e
  - [net-next,v8,2/9] net: dsa: microchip: ksz8795: move cpu_select_interface to extra function
    https://git.kernel.org/netdev/net-next/c/c2ac4d2ac534
  - [net-next,v8,3/9] net: dsa: microchip: ksz8795: move register offsets and shifts to separate struct
    https://git.kernel.org/netdev/net-next/c/9f73e11250fb
  - [net-next,v8,4/9] net: dsa: microchip: ksz8795: add support for ksz88xx chips
    https://git.kernel.org/netdev/net-next/c/4b20a07e103f
  - [net-next,v8,5/9] net: dsa: microchip: Add Microchip KSZ8863 SPI based driver support
    https://git.kernel.org/netdev/net-next/c/cc13e52c3a89
  - [net-next,v8,6/9] dt-bindings: net: dsa: document additional Microchip KSZ8863/8873 switch
    https://git.kernel.org/netdev/net-next/c/61df0e7bbb90
  - [net-next,v8,7/9] net: phy: Add support for microchip SMI0 MDIO bus
    https://git.kernel.org/netdev/net-next/c/800fcab8230f
  - [net-next,v8,8/9] net: dsa: microchip: Add Microchip KSZ8863 SMI based driver support
    https://git.kernel.org/netdev/net-next/c/60a364760002
  - [net-next,v8,9/9] dt-bindings: net: mdio-gpio: add compatible for microchip,mdio-smi0
    https://git.kernel.org/netdev/net-next/c/61b405985a6b

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html