AnsweredAssumed Answered

iMX 287 ethernet phy reset

Question asked by Jan Klaban on Mar 28, 2014
Latest reply on Apr 7, 2014 by Jan Klaban

Hello

 

could somebody add something like that:

gpio_free(TX28_FEC_PHY_RESET);

 

to kernel ethernet drive ? (mach-mxs.c)

 

Our iMX 287 works in somewhat harsh environment and due to electric discharges nearby, there is necessity to reset eth phy time to time from linux user space.

This is unable due to locked proper gpio pin in kernel driver.

After adding piece of code mentioned above, we are able to reset phy. But is this really right way to do it ?

 

thanks

 

regards Klaban Jan

Outcomes