]> 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)
commita03540e971ebcf50f157b2e96bdd298b8397288f
treebb7912b438cebc673cfa03b09ec65e7836302707
parent8b5b0b81943b10a3964d8310d2c3b026982fdc74
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