Tim Harvey 4223fb0ee1 net: fec: 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 fec_gpio_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 <sean.anderson@seco.com>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Tested-by: Adam Ford <aford173@gmail.com> #imx8mm-beacon
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
2022-04-10 08:44:13 +03:00
..
2022-02-21 08:32:02 -05:00
2022-03-28 12:36:49 -04:00
2021-09-25 09:46:15 -06:00
2021-10-05 08:50:15 -04:00
2022-03-30 13:02:55 -04:00
2022-03-16 12:52:02 -04:00
2022-01-13 07:57:49 -05:00
2022-03-28 12:36:49 -04:00
2022-03-28 08:22:17 -04:00
2022-03-28 12:36:49 -04:00
2022-03-28 12:36:49 -04:00
2022-01-13 07:57:49 -05:00
2022-03-28 20:16:46 +02:00
2022-03-30 13:02:55 -04:00
2022-03-28 12:36:49 -04:00
2022-03-16 12:52:02 -04:00
2022-03-25 13:35:50 -04:00
2022-03-28 12:36:49 -04:00
2022-02-25 01:41:04 -05:00
2022-04-01 16:56:54 -04:00
2022-01-19 18:11:34 +01:00
2022-03-30 13:02:55 -04:00
2022-01-19 11:43:44 -05:00
2022-01-19 18:11:34 +01:00
2022-03-28 20:29:58 +02:00
2022-01-19 18:11:34 +01:00
2021-10-01 21:08:18 -04:00
2022-03-14 17:40:36 -04:00
2021-10-31 08:46:44 -04:00
2021-10-31 08:46:44 -04:00