Re: [PATCH 0/1] add MDIO bus multiplexer driven by a regmap device

2019-02-01 Thread Andrew Lunn
> This is not a new driver for a device. Which is why there is no compatible > field that I have used in these APIs. > Should I create a new binding document for it ? Yes, you always need to document the binding. Andrew

RE: [PATCH 0/1] add MDIO bus multiplexer driven by a regmap device

2019-02-01 Thread Pankaj Bansal
> -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Wednesday, 30 January, 2019 08:53 PM > To: Pankaj Bansal > Cc: Florian Fainelli ; netdev@vger.kernel.org; Varun > Sethi > > Subject: Re: [PATCH 0/1] add MDIO bus multiplexer driven by a r

Re: [PATCH 0/1] add MDIO bus multiplexer driven by a regmap device

2019-01-30 Thread Andrew Lunn
On Wed, Jan 30, 2019 at 11:21:57AM +, Pankaj Bansal wrote: > Add support for an MDIO bus multiplexer controlled by a regmap device, like > an > FPGA. > > These apis is an extension of the existing driver > drivers/net/phy/mdio-mux-mmioreg.c. > > The problem with mmioreg driver is that it c

[PATCH 0/1] add MDIO bus multiplexer driven by a regmap device

2019-01-30 Thread Pankaj Bansal
Add support for an MDIO bus multiplexer controlled by a regmap device, like an FPGA. These apis is an extension of the existing driver drivers/net/phy/mdio-mux-mmioreg.c. The problem with mmioreg driver is that it can operate only on memory mapped devices. but if we have a device that controls