lkml.org 
[lkml]   [2020]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[PATCH v3 0/4] irqchip: Add IRQCHIP_PLATFORM_DRIVER helper macros
From
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

\
 
 \ /
  Last update: 2020-07-18 02:06    [W:0.120 / U:0.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site