Merge branch 'part-2-of-sja1105-dsa-driver-preparation-for-new-switch-introduction...
authorJakub Kicinski <kuba@kernel.org>
Tue, 1 Jun 2021 05:40:28 +0000 (22:40 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Jun 2021 05:40:29 +0000 (22:40 -0700)
commite3d8178c6e076f5c4302418880989808db03f692
tree375e28e31003fb7eb08c7d136182c648e3aa4085
parent44fdd2edb36f0da66758cd355840d357078110fe
parent96c85f51f1236d0eed3c8cd075ce144faed6a0ca
Merge branch 'part-2-of-sja1105-dsa-driver-preparation-for-new-switch-introduction-sja1110'

Vladimir Oltean says:

====================
Part 2 of SJA1105 DSA driver preparation for new switch introduction (SJA1110)

This series is a continuation of:
https://patchwork.kernel.org/project/netdevbpf/cover/20210524131421.1030789-1-olteanv@gmail.com/

even though it isn't the first time these patches are submitted (they
were part of the group previously called "Add NXP SJA1110 support to the
sja1105 DSA driver"):
https://patchwork.kernel.org/project/netdevbpf/cover/20210526135535.2515123-1-vladimir.oltean@nxp.com/

but I broke that up again since these patches are already reviewed, for
the most part. There are no changes compared to v2 and v1.

This series of patches contains:

- an adaptation of the driver to the new "ethernet-ports" OF node name
- an adaptation of the driver to support more than 1 SGMII port
- a generalization of the supported phy_interface_t values per port
- an adaptation to encode SPEED_10, SPEED_100, SPEED_1000 into the
  hardware registers differently depending on switch revision
- a consolidation of the PHY interface type used for RGMII and another
  one for the API exposed for sja1105_dynamic_config_read()
====================

Link: https://lore.kernel.org/r/20210530225939.772553-1-olteanv@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>