[PATCH 1/2] tx51: ensure eth phy resets properly by driving reset pin explicitly.

Sascha Hauer s.hauer at pengutronix.de
Mon Jul 16 10:25:24 EDT 2012


On Mon, Jul 16, 2012 at 11:53:58AM +0200, Christian Kapeller wrote:
> 
> diff --git a/arch/arm/boards/karo-tx51/tx51.c b/arch/arm/boards/karo-tx51/tx51.c
> index 096683a..d862a68 100644
> --- a/arch/arm/boards/karo-tx51/tx51.c
> +++ b/arch/arm/boards/karo-tx51/tx51.c
> @@ -205,6 +205,12 @@ static inline void tx51_fec_init(void)
>  	}
>  
>  	/*
> +	 *Turn off phy power, be cautious and wait
> +	 */
> +	gpio_set_value(TX51_FEC_PHY_PWR, 0);
> +	mdelay(20);

Does this fix the mentioned regression due to iomuxing or is this
another issue?

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list