]> 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)
commit551e416c308ef5ff06d71a7f4b32c46c50fffedf
treeec9e727f2cd6dd0dde6623974a442cfa88f11d47
parent4b6385a9c599986021dfd14740e42384632b06d0
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: 9afc2e6bad13 ("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