]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: microchip_t1: add lan87xx_phy_init to initialize the lan87xx phy.
authorYuiko Oshino <yuiko.oshino@microchip.com>
Mon, 20 Apr 2020 15:51:41 +0000 (11:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Apr 2020 18:38:58 +0000 (11:38 -0700)
commitb72dc038f706bd2b379bd332d811a99dcaabba1b
treeec9e727f2cd6dd0dde6623974a442cfa88f11d47
parent07d3f386ff92a057413ceadf11b7d470f9cad6a3
net: phy: microchip_t1: add lan87xx_phy_init to initialize the lan87xx phy.

lan87xx_phy_init() initializes the lan87xx phy hardware
including its TC10 Wake-up and Sleep features.

Fixes: eadfa25262a1 ("Add driver for Microchip LAN87XX T1 PHYs")
Signed-off-by: Yuiko Oshino <yuiko.oshino@microchip.com>
v0->v1:
    - Add more details in the commit message and source comments.
    - Update to the latest initialization sequences.
    - Add access_ereg_modify_changed().
    - Fix access_ereg() to access SMI bank correctly.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/microchip_t1.c