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-11 13:20:04 -07:00
2013-07-03 16:08:06 -07:00
2014-01-24 15:51:02 -08:00
2013-09-11 15:59:28 -07:00
2014-03-17 12:13:09 +01:00
2014-04-08 12:06:03 -07:00
2013-11-13 12:09:14 +09:00
2014-02-10 16:01:40 -08:00
2014-02-10 16:01:40 -08:00
2014-04-07 16:36:02 -07:00
2012-11-09 18:07:11 +05:30
2014-04-07 16:35:57 -07:00
2014-02-07 15:40:17 -08:00
2013-05-21 10:21:57 -07:00
2014-03-20 03:50:12 +01:00
2013-10-30 01:21:24 +01:00
2013-07-03 16:07:42 -07:00
2013-07-25 12:37:24 +02:00
2014-03-27 16:56:23 -04:00
2014-05-16 17:19:22 -04:00
2014-05-02 13:47:50 -04:00
2014-05-02 16:16:26 -04:00
2014-03-11 06:55:49 -03:00
2013-08-20 12:47:28 +02:00
2013-04-12 14:06:16 +10:00
2014-01-07 11:54:28 +09:00
2012-11-19 14:28:24 +01:00
2014-02-10 16:01:40 -08:00
2014-04-12 14:49:50 -07:00
2012-11-14 15:07:18 -08:00
2014-02-28 15:12:08 -08:00
2014-02-07 09:47:02 +01:00
2014-04-01 18:27:33 +02:00
2014-04-05 18:45:11 -07:00
2014-04-06 13:53:48 +02:00
2013-04-02 09:39:55 -07:00
2014-02-10 16:01:40 -08:00
2012-09-20 16:49:17 -04:00
2014-03-21 13:16:58 +01:00
2014-01-24 09:40:59 +01:00
2014-04-16 14:13:27 -07:00
2014-04-07 16:36:09 -07:00
2013-07-04 11:40:58 -07:00
2014-01-08 15:32:51 -08:00
2014-02-10 16:01:40 -08:00
2014-02-10 16:01:40 -08:00
2014-02-10 16:01:40 -08:00
2013-05-28 12:02:12 +02:00
2013-11-27 11:03:38 -08:00
2014-01-29 18:56:27 -08:00
2013-03-22 12:10:42 -04:00
2014-01-03 11:22:09 -08:00
2013-01-26 22:20:06 -08:00
2014-05-13 17:46:09 -04:00
2013-01-10 01:27:46 +01:00
2013-07-09 22:09:19 +02:00
2014-02-20 14:32:34 -07:00
2014-03-08 12:39:44 +05:30
2014-04-02 16:23:38 -07:00
2013-08-27 14:44:27 +10:00
2013-09-26 09:45:40 -07:00
2012-10-02 21:14:29 +10:00
2014-03-27 14:51:47 -04:00
2014-04-07 16:36:07 -07:00
2014-02-17 14:56:10 -08:00
2014-02-10 16:01:40 -08:00
2014-04-07 16:36:11 -07:00
2014-03-15 10:19:21 -07:00
2014-03-21 13:16:58 +01:00
2014-04-16 14:20:34 -07:00
2014-02-27 08:07:39 -08:00
2014-03-30 00:51:34 +00:00
2014-04-07 16:36:07 -07:00
2013-10-16 13:35:02 -07:00
2013-09-03 09:10:24 -04:00
2014-02-10 16:01:40 -08:00
2013-08-09 10:57:06 -04:00
2014-04-03 10:26:31 -07:00
2014-03-21 13:16:58 +01:00
2014-03-14 10:37:43 -03:00
2014-04-02 16:23:38 -07:00
2014-04-18 16:40:08 -07:00
2014-02-18 08:09:40 -08:00
2014-03-31 13:33:55 +02:00
2014-03-13 15:32:42 -07:00
2014-01-15 00:25:14 +04:00
2014-04-18 16:59:52 -07:00
2014-04-02 13:15:58 -07:00
2013-12-02 11:24:18 +00:00
2013-01-08 14:14:55 -08:00
2013-07-04 11:40:58 -07:00
2013-08-20 12:46:52 +02:00
2013-11-27 20:34:32 -08:00
2013-12-03 10:08:57 -08:00
2014-03-19 14:56:06 -07:00
2013-07-03 22:58:20 +02:00
2013-07-03 16:08:01 -07:00
2014-03-20 13:43:40 +01:00
2013-09-04 12:59:47 +02:00
2014-01-20 01:11:13 +01:00
2014-04-04 09:50:07 -07:00
2013-09-17 15:32:37 +01:00
2013-09-17 15:32:37 +01:00
2013-10-14 15:50:53 +02:00
2013-09-10 11:36:45 +05:30
2013-11-14 11:04:40 -08:00
2014-04-09 13:44:34 -07:00
2014-01-23 16:36:55 -08:00
2014-02-07 08:03:07 -02:00
2013-12-19 15:09:14 +01:00
2013-12-02 14:48:28 +01:00
2014-03-21 13:16:58 +01:00
2013-11-13 12:09:34 +09:00
2013-12-10 23:09:08 -08:00
2013-03-10 18:16:36 +08:00
2013-08-27 10:46:02 +02:00
2013-01-11 11:38:03 -08:00
2013-12-02 14:48:28 +01:00
2013-04-29 15:18:50 +02:00
2013-02-27 19:10:21 -08:00
2013-08-20 12:59:18 +02:00
2013-12-02 14:48:28 +01:00
2014-04-07 16:36:11 -07:00
2013-05-28 12:02:11 +02:00
2014-04-16 14:20:34 -07:00
2014-02-17 14:56:08 -08:00
2014-03-21 13:16:58 +01:00
2014-04-03 16:21:27 -07:00
2013-12-07 21:20:11 -08:00
2012-11-28 18:36:06 +10:00
2013-10-09 08:19:08 +02:00
2014-04-16 14:20:34 -07:00
2012-06-28 12:03:15 +02:00
2013-12-02 14:45:19 +01:00
2013-07-13 12:09:57 -07:00
2014-04-02 16:23:38 -07:00
2013-09-06 09:36:28 -07:00
2014-04-06 09:38:07 -07:00
2013-11-11 12:41:33 +01:00
2014-03-31 14:52:43 +10:30
2012-09-26 19:56:15 +02:00
2014-02-05 05:48:43 +00:00
2014-01-15 13:59:50 +01:00
2014-01-23 16:36:56 -08:00
2013-10-24 10:51:33 +02:00
2012-09-06 22:16:58 -07:00
2012-10-09 16:22:40 +09:00
2012-09-18 12:53:22 +03:00
2013-12-02 14:45:19 +01:00
2013-11-30 14:08:28 +01:00
2013-01-03 15:57:16 -08:00
2013-12-02 14:45:19 +01:00
2013-07-03 16:07:54 -07:00
2012-10-01 15:27:48 +02:00
2012-12-17 17:15:23 -08:00
2013-06-19 12:58:42 +02:00
2014-04-16 14:13:26 -07:00
2013-12-02 14:45:19 +01:00
2013-06-03 14:20:18 -07:00
2014-04-03 16:21:27 -07:00
2013-07-25 12:34:15 +02:00
2013-10-16 13:01:44 -07:00
2013-04-04 10:24:53 -07:00
2013-12-06 16:37:43 -05:00
2013-09-05 16:36:21 -06:00
2013-12-03 11:15:58 -08:00
2013-08-21 10:32:09 -04:00
2013-06-26 12:10:56 +02:00
2013-11-26 11:09:08 +01:00