]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc6fb28471e6a5f185b14c5e2e00554e725966537
tree52b2db4dea639df4013c3005ba63fe1b2fab344a
parentf2f89b54caff1aa970931dda0b559d01b0430a2b
parent7cdbac3ec2bf108fa387aee3b34944fc06b07874
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>