]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: bcm7xxx: define soft_reset for 40nm EPHY
authorDoug Berger <opendmb@gmail.com>
Wed, 16 Oct 2019 23:06:30 +0000 (16:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2019 17:00:07 +0000 (10:00 -0700)
commit552de589f16543b945d829d1dcc180c7d74a862d
tree041b5a9a28d70ea69bbdc89c8522fca5198c445b
parent21ab49b2363e13b210810e2f88e0088f584d2432
net: phy: bcm7xxx: define soft_reset for 40nm EPHY

The internal 40nm EPHYs use a "Workaround for putting the PHY in
IDDQ mode." These PHYs require a soft reset to restore functionality
after they are powered back up.

This commit defines the soft_reset function to use genphy_soft_reset
during phy_init_hw to accommodate this.

Fixes: 0e1533a35669 ("net: phy: Stop with excessive soft reset")
Signed-off-by: Doug Berger <opendmb@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm7xxx.c