linux/Documentation
Thomas Petazzoni 3be2a49e5c of: provide a binding for fixed link PHYs
Some Ethernet MACs have a "fixed link", and are not connected to a
normal MDIO-managed PHY device. For those situations, a Device Tree
binding allows to describe a "fixed link" using a special PHY node.

This patch adds:

 * A documentation for the fixed PHY Device Tree binding.

 * An of_phy_is_fixed_link() function that an Ethernet driver can call
   on its PHY phandle to find out whether it's a fixed link PHY or
   not. It should typically be used to know if
   of_phy_register_fixed_link() should be called.

 * An of_phy_register_fixed_link() function that instantiates the
   fixed PHY into the PHY subsystem, so that when the driver calls
   of_phy_connect(), the PHY device associated to the OF node will be
   found.

These two additional functions also support the old fixed-link Device
Tree binding used on PowerPC platforms, so that ultimately, the
network device drivers for those platforms could be converted to use
of_phy_is_fixed_link() and of_phy_register_fixed_link() instead of
of_phy_connect_fixed_link(), while keeping compatibility with their
respective Device Tree bindings.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-16 17:19:22 -04:00
..
2014-04-07 16:36:02 -07:00
2014-03-27 16:56:23 -04:00
2014-03-11 06:55:49 -03:00
2014-02-10 16:01:40 -08:00
2014-02-28 15:12:08 -08:00
2013-04-02 09:39:55 -07:00
2014-02-10 16:01:40 -08:00
2014-03-21 13:16:58 +01:00
2013-11-27 11:03:38 -08:00
2013-01-10 01:27:46 +01:00
2014-03-21 13:16:58 +01:00
2013-10-16 13:35:02 -07:00
2014-03-21 13:16:58 +01:00
2014-02-18 08:09:40 -08:00
2014-04-18 16:59:52 -07:00
2013-11-14 11:04:40 -08:00
2014-02-07 08:03:07 -02:00
2013-12-02 14:48:28 +01:00
2014-03-21 13:16:58 +01:00
2013-12-02 14:48:28 +01:00
2013-12-02 14:48:28 +01:00
2014-03-21 13:16:58 +01:00
2013-12-02 14:45:19 +01:00
2013-10-24 10:51:33 +02:00
2013-09-05 16:36:21 -06:00