]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: phy: Avoid phy gpio reset sequence if DM_ETH_PHY is enabled
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Wed, 30 Mar 2022 09:07:54 +0000 (11:07 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 5 Apr 2022 13:13:13 +0000 (15:13 +0200)
commitccc8656f7fb51d0f11cc7cea6c05daf1e30f6bad
tree3b699edc23702421adf44907da646fa7dba3c960
parent801725395ad07888fada4eaf2e0af0efcab5178a
net: phy: Avoid phy gpio reset sequence if DM_ETH_PHY is enabled

If DM_ETH_PHY config is enabled PHY gpio reset is taken care by the
eth-phy-uclass driver, so use the PHY gpio reset functionality from
ethernet_id file when this config is disabled to reset the PHY.
Use debug() print instead of dev_err() to avoid warning incase if phy-id
compatible string is not present.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/4d0fd3f9f886c1d943776025e5efb5438b0eb389.1648631275.git.michal.simek@xilinx.com
drivers/net/phy/ethernet_id.c