On Fri, Oct 25, 2019 at 7:27 PM Michael Walle <[email protected]> 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 <[email protected]> # 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 <[email protected]> > Cc: Fabio Estevam <[email protected]> > Cc: Adam Ford <[email protected]> > Cc: Otavio Salvador <[email protected]> > Cc: Ian Ray <[email protected]> > Cc: Jason Liu <[email protected]> > Cc: Ye Li <[email protected]> > Cc: Uri Mashiach <[email protected]> > Cc: Nikita Kiryanov <[email protected]> > Cc: Lukasz Majewski <[email protected]> > Cc: Fabio Estevam <[email protected]> > Cc: Vanessa Maegima <[email protected]> > Cc: Eric Bénard <[email protected]> > -- > 2.20.1 > _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

