Skip to content

irqchip: Add IRQCHIP_PLATFORM_DRIVER helper macros

Saravana Kannan linux-arm-kernel linux-arm-msm linux-gpio linux-mediatek lkml 2 versions – Applied

Status from this message: Applied to irq/irqchip-5.9, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 26 repliesApplied
  2. v21 patch 3 repliesSuperseded

Changes in v3 from the cover letter

- Added comments
- Changed IRQCHIP_PLATFORM_DRIVER_BEGIN macro parameters

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4irqchip: Add IRQCHIP_PLATFORM_DRIVER_BEGIN/END and IRQCHIP_MATCH helper macrosdrivers/irqchip/irqchip.c include/linux/irqchip.h+52 -00 replies
2/4irqchip/qcom-pdc: Switch to using IRQCHIP_PLATFORM_DRIVER helper macrosdrivers/irqchip/qcom-pdc.c+3 -2321 replies
3/4irqchip/mtk-sysirq: Convert to a platform driverdrivers/irqchip/irq-mtk-sysirq.c+3 -11 reply
4/4irqchip/mtk-cirq: Convert to a platform driverdrivers/irqchip/irq-mtk-cirq.c+3 -12 replies

Reviews trailers per patch

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

PatchHanks Chen
1/4
2/4
3/4R-b
4/4R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/4] irqchip: Add IRQCHIP_PLATFORM_DRIVER helper macros

Made a series out of the previous v2 patch + some example uses of the macros.

Not sure if the MTK changes work (just compile tested), but saw that Hanks was trying to make those drivers into tristate. So I assume they'll work as platform drivers. Please wait for MTK Ack before picking up patches 3 and 4.

v1-v2:
- Instead of redifining IRQCHIP_DECLARE, created new macros.
- Added more checks in the probe helper function to ensure topological probe ordering when fw_devlink is not "on".

v2->v3:
- Added comments
- Changed IRQCHIP_PLATFORM_DRIVER_BEGIN macro parameters

Saravana Kannan (4):
irqchip: Add IRQCHIP_PLATFORM_DRIVER_BEGIN/END and IRQCHIP_MATCH
helper macros
irqchip/qcom-pdc: Switch to using IRQCHIP_PLATFORM_DRIVER helper
macros
irqchip/mtk-sysirq: Convert to a platform driver irqchip/mtk-cirq: Convert to a platform driver

 drivers/irqchip/irq-mtk-cirq.c   |  4 +++-
 drivers/irqchip/irq-mtk-sysirq.c |  4 +++-
 drivers/irqchip/irqchip.c        | 29 +++++++++++++++++++++++++++++
 drivers/irqchip/qcom-pdc.c       | 26 +++-----------------------
 include/linux/irqchip.h          | 23 +++++++++++++++++++++++
 5 files changed, 61 insertions(+), 25 deletions(-)
Signature · 1 line
2.28.0.rc0.105.gf9edc3c819-goog