net: phy: add of_phy_device_connect
This implements a of_phy_device_connect to allow DT enabled drivers
to connect to a PHY device by using the PHY's DT node only. It
currently assumes that each PHY node is a child of the corresponding
mdio bus.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 7ccd47f commit 29af281cb1bc1d8b9d098fa6b550af9b019a2512
@Sebastian Hesselbarth Sebastian Hesselbarth authored on 5 Feb 2014
Sascha Hauer committed on 10 Feb 2014
Showing 2 changed files
View
drivers/net/phy/phy.c
View
include/linux/phy.h