]> git.baikalelectronics.ru Git - kernel.git/commit
of_mdio: Abstract a general interface for phy connect
authorDongpo Li <lidongpo@hisilicon.com>
Fri, 15 Jul 2016 08:26:34 +0000 (16:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Jul 2016 04:32:58 +0000 (21:32 -0700)
commit34d13025bb7e7d301cc51c59f0ae17617788fd68
treebb7912b438cebc673cfa03b09ec65e7836302707
parentcadcf7de043f278c434a6b00b52bc46debf85c25
of_mdio: Abstract a general interface for phy connect

Abstract a general interface "of_phy_get_and_connect"
for PHY connect. User will have no bother with getting
"phy-mode" and "phy-handle" any more.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dongpo Li <lidongpo@hisilicon.com>
Reviewed-by: Jiancheng Xue <xuejiancheng@hisilicon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/of/of_mdio.c
include/linux/of_mdio.h