diff options
| author | Tim Harvey <[email protected]> | 2022-03-01 12:15:02 -0800 |
|---|---|---|
| committer | Ramon Fried <[email protected]> | 2022-04-10 08:44:13 +0300 |
| commit | f3409d7ae6127b6aa33ec9cdb63808745ed4b56e (patch) | |
| tree | 8d93551f916f18eeedccee272780e5bc2ec519cb /scripts | |
| parent | 4223fb0ee18d11462c55ac94198fdc2055f2c27c (diff) | |
net: eth-phy: prevent undesired de-assertion of phy-reset on request
When gpio_request_by_name allocates a gpio output it by default will
de-assert the gpio which for phy-reset will take the PHY out of reset.
As this occurs before eth_phy_reset is called to assert the reset
line it can cause undesired affects if reset timings are not properly
met.
Configure the gpio with GPIOD_IS_OUT_ACTIVE so that reset is kept active
(reset asserted) to avoid this.
Cc: Sean Anderson <[email protected]>
Signed-off-by: Tim Harvey <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
