]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: ti: am65-cpsw-nuss: Add logic to support MDIO reset
authorSuman Anna <s-anna@ti.com>
Wed, 2 Aug 2023 08:17:26 +0000 (13:47 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 15 Aug 2023 21:46:39 +0000 (17:46 -0400)
commit8a5fe044958af879d7364d56ee7210aa2fc1c2b1
treef159c45e2d27adac346301cd78e5ef65f7224aa0
parent0131c902148432c10ef762afb92acbdf7242cc78
net: ti: am65-cpsw-nuss: Add logic to support MDIO reset

Enhance the AM65 CPSW NUSS driver to perform a MDIO reset using a GPIO
line. Logic is also added to perform a pre and post delay around reset
using the optional 'reset-delay-us' and 'reset-post-delay-us' properties.
This is similar to the reset being performed in the Linux kernel. The
reset is done once when the CPSW MDIO bus is being initialized.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
drivers/net/ti/am65-cpsw-nuss.c