diff options
author | Boris BREZILLON <b.brezillon@overkiz.com> | 2013-08-22 19:57:28 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-27 00:02:27 +0400 |
commit | 148cbb53ace32f584d208764c7f7e6aa8edb970c (patch) | |
tree | c371463b27bd414dc95c0e5f7f47f42857c6e8e7 /arch | |
parent | b4de77ade3fc56e41b978b68d78a351dab28b74e (diff) | |
download | linux-148cbb53ace32f584d208764c7f7e6aa8edb970c.tar.xz |
net/cadence/macb: add support for dt phy definition
The macb driver only handle PHY description through platform_data
(macb_platform_data).
Thus, when using dt you cannot define phy properties like phy address or
phy irq pin.
This patch makes use of the of_mdiobus_register to add support for
phy device definition using dt.
A fallback to the autoscan procedure is added in case there is no phy
devices defined in dt.
Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions