Skip to content

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

Arun Ramadoss lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied 3/3

Changes in v1 from the cover letter

- 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

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: dsa: microchip: add reference to ksz_device inside the ksz_portdrivers/net/dsa/microchip/ksz_common.c drivers/net/dsa/microchip/ksz_common.h+7 -01 replyApplied
2/3net: dsa: microchip: lan937x: clear the POR_READY_INT status bitdrivers/net/dsa/microchip/lan937x_main.c+4 -01 replyApplied
3/3net: dsa: microchip: lan937x: add interrupt support for port phy linkdrivers/net/dsa/microchip/ksz_common.c drivers/net/dsa/microchip/ksz_common.h drivers/net/dsa/microchip/ksz_spi.c +3 more+399 -40 repliesApplied

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchAndrew LunnFlorian Fainelli
1/3R-b R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Patch net-next 0/3] 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

Arun Ramadoss (3):
net: dsa: microchip: add reference to ksz_device inside the ksz_port
net: dsa: microchip: lan937x: clear the POR_READY_INT status bit
net: dsa: microchip: lan937x: add interrupt support for port phy link

 drivers/net/dsa/microchip/ksz_common.c   |  13 +
 drivers/net/dsa/microchip/ksz_common.h   |  18 ++
 drivers/net/dsa/microchip/ksz_spi.c      |   2 +
 drivers/net/dsa/microchip/lan937x.h      |   1 +
 drivers/net/dsa/microchip/lan937x_main.c | 368 ++++++++++++++++++++++-
 drivers/net/dsa/microchip/lan937x_reg.h  |  12 +
 6 files changed, 410 insertions(+), 4 deletions(-)

base-commit: aa51b80e1af47b3781abb1fb1666445a7616f0cd

Signature · 1 line
2.36.1