Hi everyone, This is the second version of my original, with few modifications and fixes. Changes since [v1]: - Addressed smalle issues pointed out by Sascha (leftover comment, bad identation) - Added patch enabling MDIO GPIO mux driver for ZII VF610 boards since the are the HW this patchset targets. [v1] http://lists.infradead.org/pipermail/barebox/2017-November/031589.html Andrey Smirnov (6): ARM: vybrid: zii: Make use of DT code from Linux kernel mdio_bus: Port of_mdio_find_bus() from Linux kernel net: phy: Port MDIO bus miltiplexer framework from Linux kernel net: phy: Port GPIO controlled MDIO multiplexer driver net: mdio-mux: Avoid probing multiplexed busses zii_vf610_dev_defconfig: Select MDIO bus GPIO multiplexer arch/arm/configs/zii_vf610_dev_defconfig | 1 + arch/arm/dts/vf610-zii-cfu1-rev-a.dts | 3 +- arch/arm/dts/vf610-zii-dev-rev-b.dts | 386 +---------------------------- arch/arm/dts/vf610-zii-dev-rev-c.dts | 391 +----------------------------- arch/arm/dts/vf610-zii-dev.dtsi | 354 --------------------------- arch/arm/dts/vf610-zii-scu4-aib-rev-c.dts | 2 + arch/arm/dts/vf610-zii-spu3-rev-a.dts | 4 +- drivers/net/phy/Kconfig | 18 ++ drivers/net/phy/Makefile | 3 + drivers/net/phy/mdio-mux-gpio.c | 147 +++++++++++ drivers/net/phy/mdio-mux.c | 143 +++++++++++ drivers/net/phy/mdio_bus.c | 30 +++ include/linux/mdio-mux.h | 30 +++ include/linux/phy.h | 4 + 14 files changed, 385 insertions(+), 1131 deletions(-) create mode 100644 drivers/net/phy/mdio-mux-gpio.c create mode 100644 drivers/net/phy/mdio-mux.c create mode 100644 include/linux/mdio-mux.h -- 2.14.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox