u-boot/doc/device-tree-bindings/net
Hannes Schmelzer db40c1aa1c drivers/net/phy: add fixed-phy / fixed-link support
This patch adds support for having a "fixed-link" to some other MAC
(like some embedded switch-device).

For this purpose we introduce a new phy-driver, called "Fixed PHY".

Fixed PHY works only with CONFIG_DM_ETH enabled, since the fixed-link is
described with a subnode below ethernet interface.

Most ethernet drivers (unfortunately not all are following same scheme
for searching/attaching phys) are calling "phy_connect(...)" for getting
a phy-device.
At this point we link in, we search here for a subnode called "fixed-
link", once found we start phy_device_create(...) with the special phy-
id PHY_FIXED_ID (0xa5a55a5a).

During init the "Fixed PHY" driver has registered with this id and now
gets probed, during probe we get all the details about fixed-link out of
dts, later on the phy reports this values.

Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>

Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2017-03-26 09:58:26 -05:00
..
allwinner,sun4i-emac.txt dts: sunxi: Bring in Ethernet device tree bindings 2015-04-18 11:11:36 -06:00
allwinner,sun4i-mdio.txt dts: sunxi: Bring in Ethernet device tree bindings 2015-04-18 11:11:36 -06:00
allwinner,sun7i-a20-gmac.txt dts: sunxi: Bring in Ethernet device tree bindings 2015-04-18 11:11:36 -06:00
altera_tse.txt net: convert altera_tse to driver model and phylib 2015-10-23 14:55:48 +08:00
ethernet.txt dts: sunxi: Bring in Ethernet device tree bindings 2015-04-18 11:11:36 -06:00
fixed-link.txt drivers/net/phy: add fixed-phy / fixed-link support 2017-03-26 09:58:26 -05:00
fsl-tsec-phy.txt net: tsec: Use priv->tbiaddr to initialize TBI PHY address 2016-01-28 12:23:19 -06:00
micrel-ksz90x1.txt net: phy: micrel: add documentation for Micrel KSZ90x1 binding 2016-01-28 13:20:29 -06:00
snps,dwc-qos-ethernet.txt dt: net: add DWC EQoS binding 2016-11-07 11:28:15 -06:00
stmmac.txt dts: sunxi: Bring in Ethernet device tree bindings 2015-04-18 11:11:36 -06:00
ti,dp83867.txt net: phy: dp83867: Add device tree bindings and documentation 2016-05-24 11:42:04 -05:00