On 1/22/21 4:03 PM, Marc Kleine-Budde wrote:
> In our setup the dp83tc811 is configure to master mode. When there is no slave
> connected the dp83tc811 triggers an interrupt is triggerd, several bits in the
> status registers are set, and te INT_N pin goes low. One of interrupt bits is
> the NO_FRAME interrupt.
> 
> Reading the status register acknowledges the interrupt, but as there is still
> no slave connected, the NO_FRAME interrupt stays set and the INT_N pin low. 
> For
> level triggered IRQs this results in an interrupt storm, as long as the slave
> is not connected. For edge triggered interupts the link change event, when the
> slave comes online, is lost.
> 
> To fix this problem the NO_FRAME interrupt is not enabled. At least in our
> testcase with edge triggered interrupts link change events are now properly
> detected.
> 
> Cc: Dan Murphy <dmur...@ti.com>
> Signed-off-by: Marc Kleine-Budde <m...@pengutronix.de>

Sorry - this patch will not apply as is, I'll send an updated version.

Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to