Re: [PATCH 3/6] net: mdio-mux: Add MDIO mux driver for NSP SoC

2016-11-09 Thread Andrew Lunn
> +#define NSP_MDIO_EXT_BUS_START_ADDR 16 > +#define NSP_MDIO_EXT_SELECT_BIT BIT(9) > + > +static int mdio_mux_nsp_switch_fn(int current_child, int desired_child, > + void *priv) > +{ > + struct nsp_mdiomux_desc *md = priv; > + u32

[PATCH 3/6] net: mdio-mux: Add MDIO mux driver for NSP SoC

2016-11-09 Thread Yendapally Reddy Dhananjaya Reddy
NSP SoC supports the mdio multiplexer which has the bus selection logic. This multiplexer has child buses for PCIe, USB. The bus could be internal or external to SOC where PHYs are attached. Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- drivers/net/phy/Kconfig| 9 +++ driv