linux_dsm_epyc7002/drivers/net/ethernet/cadence
Boris BREZILLON 148cbb53ac 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>
2013-08-26 16:02:27 -04:00
..
at91_ether.c drivers/net/ethernet/cadence: don't use devm_pinctrl_get_select_default() in probe 2013-07-11 17:18:26 -07:00
Kconfig at91_ether: Do not select NET_CORE 2013-06-19 22:22:56 -07:00
macb.c net/cadence/macb: add support for dt phy definition 2013-08-26 16:02:27 -04:00
macb.h net/macb: change RX path for GEM 2013-06-06 16:22:45 -07:00
Makefile net/at91_ether: select MACB in Kconfig 2012-10-23 02:40:09 -04:00