[U-Boot] [PATCH v2 00/11] Aquantia PHY driver updates to reduce FW dependency

Alex Marginean alexandru.marginean at nxp.com
Mon Aug 12 13:15:12 UTC 2019


The main purpose of this patch series is to allow the AQR driver to run on
a larger number of boards without having to use a custom aquantia FW on each
of them.  Configuration points that are exclusively controlled by PHY firmware
are not configured based on phydev->interface as well as new DT node properties.

The patch set introduces a couple of new interface types (XFI and USXGMII),
introduces a couple of binding documents and updates the ENETC eth driver to use
the new interface types.

Changes in v2:
	- Flip USX AN bit both ways as needed, in v1 it was only set for USXGMII
	  but not reset for XFI
	- Use CONFIG_DM_ETH instead of CONFIG_OF_CONTROL around the codeu using
	  phydev->node
	- Use variable name interface instead of if_type for consistency with
	  the rest of the code.

Alex Marginean (11):
  include: phy: define XFI and USXGMII interface types
  include: phy: add data field for private driver data
  drivers: net: aquantia: use XFI, USXGMII interface types
  drivers: net: aquantia: add PHY generation information
  drivers: net: aquantia: set up SI protocol based on interface type
  drivers: net: aquantia: set MDI reversal based on DT property
  drivers: net: aquantia: set SMBus addr based on DT property
  drivers: net: aquantia: use SI and LI status in loop waiting for link
    up
  doc: bindings: add bindings document for PHY nodes
  doc: bindings: Aquantia PHY node binding
  drivers: net: fsl_enetc: use XFI, USXGMII interface type macros

 doc/device-tree-bindings/net/aquantia-phy.txt |  25 ++
 doc/device-tree-bindings/net/phy.txt          |  24 ++
 drivers/net/fsl_enetc.c                       |   2 +
 drivers/net/phy/aquantia.c                    | 229 ++++++++++++++++--
 include/phy.h                                 |   3 +
 include/phy_interface.h                       |   4 +
 6 files changed, 268 insertions(+), 19 deletions(-)
 create mode 100644 doc/device-tree-bindings/net/aquantia-phy.txt
 create mode 100644 doc/device-tree-bindings/net/phy.txt

-- 
2.17.1



More information about the U-Boot mailing list