Re: [RFC PATCH net-next 2/2] phy: fixed-phy: Allow DT description of an MDIO bus and PHYs.

2016-03-12 Thread Andrew Lunn
> One too many " here. > > > +- #address-cells = <1>; > > +- #size-cells = <0>; > > + > > +Child nodes represent PHYs on this mdio bus. Standard properties for > > +fixed links, 'speed', 'full-duplex', 'pause', 'asym-pause', > > +'link-gpios', as defined above are used. Additionally a 'reg'

Re: [RFC PATCH net-next 2/2] phy: fixed-phy: Allow DT description of an MDIO bus and PHYs.

2016-03-11 Thread Andrew Lunn
> > +Child nodes represent PHYs on this mdio bus. Standard properties for > > +fixed links, 'speed', 'full-duplex', 'pause', 'asym-pause', > > +'link-gpios', as defined above are used. Additionally a 'reg' property > > +is required for the address of the PHY on the bus. This should be of > >

Re: [RFC PATCH net-next 2/2] phy: fixed-phy: Allow DT description of an MDIO bus and PHYs.

2016-03-11 Thread Florian Fainelli
On 11/03/16 15:08, Andrew Lunn wrote: > Not all MACs are connected to PHYs. They can for example be connected > to a switch. Using the fixed PHY properties with the MAC is possible, > but requires support in the MAC. It is however simpler to make use of > the phy-handle property to point to a PHY.

[RFC PATCH net-next 2/2] phy: fixed-phy: Allow DT description of an MDIO bus and PHYs.

2016-03-11 Thread Andrew Lunn
Not all MACs are connected to PHYs. They can for example be connected to a switch. Using the fixed PHY properties with the MAC is possible, but requires support in the MAC. It is however simpler to make use of the phy-handle property to point to a PHY. To achieve this, the PHY must be in the