phy: nxp-c45-tja11xx: add interrupt support
authorRadu Pirea (NXP OSS) <radu-nicolae.pirea@oss.nxp.com>
Fri, 23 Apr 2021 15:00:50 +0000 (18:00 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Apr 2021 21:13:16 +0000 (14:13 -0700)
commitb2f0ca00e6b34bd57c9298a869ea133699e8ec39
treebed3e70b1380bbf25cad130f991ecc156eb1b402
parentcbbd21a47f83023665dff171a696d2af70c6e51e
phy: nxp-c45-tja11xx: add interrupt support

Added .config_intr and .handle_interrupt callbacks.

Link event interrupt will trigger an interrupt every time when the link
goes up or down.

Signed-off-by: Radu Pirea (NXP OSS) <radu-nicolae.pirea@oss.nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/nxp-c45-tja11xx.c