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

Christian Kapeller christian.kapeller at cmotion.eu
Mon Jul 16 10:31:29 EDT 2012


On 07/16/2012 04:25 PM, Sascha Hauer wrote:
> 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?

Nope, that is another issue. This fix is from my v2012.03.0 branch.
Without it the phy init worked only flaky.



More information about the barebox mailing list