[PATCH v3 0/4] irqchip: Add IRQCHIP_PLATFORM_DRIVER helper macros
Saravana Kannan
saravanak at google.com
Fri Jul 17 20:06:33 EDT 2020
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(-)
--
2.28.0.rc0.105.gf9edc3c819-goog
More information about the Linux-mediatek
mailing list