Skip to content
Commit e99a6efa authored by Marek Vasut's avatar Marek Vasut Committed by Tom Rini
Browse files

net: phy: Factor out PHY GPIO reset code



Pull the PHY GPIO reset code into separate function, since
this is and will be reused multiple times. Set up default
reset assert and deassert timing to generous 20ms and 1ms
for maximum compatibility in case those DT properties are
missing.

Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@mailbox.org>
parent 85d44e42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment