commit | cf54eeb22ffca6e4a5acb5b58d1e6d02eae6a10a | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | Mon Mar 18 15:57:01 2024 +0100 |
committer | Tom Rini <trini@konsulko.com> | Tue Mar 26 19:58:26 2024 -0400 |
tree | db6bb5520f2527aa5ccf43f83147ab2276b894e2 | |
parent | e491335eee6d63eb1251639d82be3ce4d18ccea8 [diff] |
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: Ramon Fried <rfried.dev@gmail.com> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>