Merge branch 'lan937x-phy-link-interrupt'
authorDavid S. Miller <davem@davemloft.net>
Mon, 5 Sep 2022 12:06:40 +0000 (13:06 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Sep 2022 12:06:40 +0000 (13:06 +0100)
commit5f3c5193479e5b9d51b201245febab6fbda4c477
tree52b2db4dea639df4013c3005ba63fe1b2fab344a
parent6630edabd80823cc6f7c874d52a4cac6381b9051
parentc9cd961c0d43a22eb704aa92e1f8fb33e3d286e8
Merge branch 'lan937x-phy-link-interrupt'

Arun Ramadoss says:

====================
net: dsa: microchip: lan937x: enable interrupt for internal phy link detection

This patch series enables the internal phy link detection for lan937x using the
interrupt method. lan937x acts as the interrupt controller for the internal
ports and phy, the irq_domain is registered for the individual ports and in
turn for the individual port interrupts.

RFC v3 -> Patch v1
- Removed the RFC v3 1/3 from the series - changing exit from reset
- Changed the variable name in ksz_port from irq to pirq
- Added the check for return value of irq_find_mapping during phy irq
  registeration.
- Moved the clearing of POR_READY_INT from girq_thread_fn to
  lan937x_reset_switch

RFC v2 -> v3
- Used the interrupt controller implementation of phy link

Changes in RFC v2
- fixed the compilation issue
====================

Signed-off-by: David S. Miller <davem@davemloft.net>