• Arun Ramadoss's avatar
    net: dsa: microchip: lan937x: add interrupt support for port phy link · c9cd961c
    Arun Ramadoss authored
    This patch enables the interrupts for internal phy link detection for
    LAN937x. The interrupt enable bits are active low. There is global
    interrupt mask for each port. And each port has the individual interrupt
    mask for TAS. QCI, SGMII, PTP, PHY and ACL.
    The first level of interrupt domain is registered for global port
    interrupt and second level of interrupt domain for the individual port
    interrupts. The phy interrupt is enabled in the lan937x_mdio_register
    function. Interrupt from which port is raised will be detected based on
    the interrupt host data.
    Signed-off-by: default avatarArun Ramadoss <arun.ramadoss@microchip.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    c9cd961c
ksz_spi.c 5.16 KB