mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: i.MX8MN: fix phy-reset gpio
@ 2022-07-04 16:48 Marco Felsch
  2022-07-05  8:20 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Felsch @ 2022-07-04 16:48 UTC (permalink / raw)
  To: barebox

Drop the Barebox local 'phy-reset-gpios' property since the
upstream/linux device-tree is handling it now within the ethernet-phy
node and we get an error:

gpiolib: _gpio_request: gpio-118 (ethernet-phy@0) status -16
miibus0: failed to request reset gpio for: ethernet-phy@0

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
 arch/arm/dts/imx8mn-evk.dts | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm/dts/imx8mn-evk.dts b/arch/arm/dts/imx8mn-evk.dts
index b8e7e1acf5..8a0e92b299 100644
--- a/arch/arm/dts/imx8mn-evk.dts
+++ b/arch/arm/dts/imx8mn-evk.dts
@@ -23,10 +23,6 @@
 	};
 };
 
-&fec1 {
-	phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
-};
-
 &usdhc2 {
 	#address-cells = <1>;
 	#size-cells = <1>;
-- 
2.30.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: i.MX8MN: fix phy-reset gpio
  2022-07-04 16:48 [PATCH] ARM: i.MX8MN: fix phy-reset gpio Marco Felsch
@ 2022-07-05  8:20 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2022-07-05  8:20 UTC (permalink / raw)
  To: Marco Felsch; +Cc: barebox

On Mon, Jul 04, 2022 at 06:48:46PM +0200, Marco Felsch wrote:
> Drop the Barebox local 'phy-reset-gpios' property since the
> upstream/linux device-tree is handling it now within the ethernet-phy
> node and we get an error:
> 
> gpiolib: _gpio_request: gpio-118 (ethernet-phy@0) status -16
> miibus0: failed to request reset gpio for: ethernet-phy@0
> 
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> ---
>  arch/arm/dts/imx8mn-evk.dts | 4 ----
>  1 file changed, 4 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/dts/imx8mn-evk.dts b/arch/arm/dts/imx8mn-evk.dts
> index b8e7e1acf5..8a0e92b299 100644
> --- a/arch/arm/dts/imx8mn-evk.dts
> +++ b/arch/arm/dts/imx8mn-evk.dts
> @@ -23,10 +23,6 @@
>  	};
>  };
>  
> -&fec1 {
> -	phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
> -};
> -
>  &usdhc2 {
>  	#address-cells = <1>;
>  	#size-cells = <1>;
> -- 
> 2.30.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-05  8:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04 16:48 [PATCH] ARM: i.MX8MN: fix phy-reset gpio Marco Felsch
2022-07-05  8:20 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox