[U-Boot] [PATCH 0/9] phy: atheros: cleanup and device tree bindings

Adam Ford aford173 at gmail.com
Sat Oct 26 03:20:16 UTC 2019

On Fri, Oct 25, 2019 at 7:27 PM Michael Walle <michael at walle.cc> wrote:
> This series cleans up the Atheros PHY AR803x PHY driver and adds a
> device tree binding for the most commonly used PHY settings like clock
> output.
> If you're a board maintainer you're getting this mail because you probably
> use an AR803x PHY on your board. Please have a look at your board specific
> code and see if you can use the device tree bindings instead. Let me know,
> if something is missing.

Thank you for this!

I was able to remove board_phy_config and the supporting
ar8031_phy_fixup functions to a total of nearly 30 lines of code.

For the whole series...
Tested-by: Adam Ford <aford173 at gmail.com>  # imx6q_logic
> Michael Walle (9):
>   phy: atheros: introduce debug read and write functions
>   phy: atheros: move delay config to common function
>   phy: atheros: ar8035: remove extra delay config
>   phy: atheros: ar8035: use phy_{read|write}_mmd()
>   phy: atheros: don't overwrite debug register values
>   phy: atheros: fix delay configuration
>   phy: atheros: Add device tree bindings and config
>   phy: atheros: ar8035: remove static clock config
>   phy: atheros: consolidate {ar8031|ar8035}_config()
>  doc/device-tree-bindings/net/phy/atheros.txt |  22 ++
>  drivers/net/phy/atheros.c                    | 262 +++++++++++++++----
>  2 files changed, 240 insertions(+), 44 deletions(-)
>  create mode 100644 doc/device-tree-bindings/net/phy/atheros.txt
> Cc: Joe Hershberger <joe.hershberger at ni.com>
> Cc: Fabio Estevam <fabio.estevam at nxp.com>
> Cc: Adam Ford <aford173 at gmail.com>
> Cc: Otavio Salvador <otavio at ossystems.com.br>
> Cc: Ian Ray <ian.ray at ge.com>
> Cc: Jason Liu <jason.hui.liu at nxp.com>
> Cc: Ye Li <ye.li at nxp.com>
> Cc: Uri Mashiach <uri.mashiach at compulab.co.il>
> Cc: Nikita Kiryanov <nikita at compulab.co.il>
> Cc: Lukasz Majewski <lukma at denx.de>
> Cc: Fabio Estevam <festevam at gmail.com>
> Cc: Vanessa Maegima <vanessa.maegima at nxp.com>
> Cc: Eric BĂ©nard <eric at eukrea.com>
> --
> 2.20.1

More information about the U-Boot mailing list