[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200718000637.3632841-1-saravanak@google.com>
Date: Fri, 17 Jul 2020 17:06:33 -0700
From: Saravana Kannan <saravanak@...gle.com>
To: Thomas Gleixner <tglx@...utronix.de>,
Jason Cooper <jason@...edaemon.net>,
Marc Zyngier <maz@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: Saravana Kannan <saravanak@...gle.com>, kernel-team@...roid.com,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-arm-msm@...r.kernel.org,
John Stultz <john.stultz@...aro.org>,
Hanks Chen <hanks.chen@...iatek.com>,
CC Hwang <cc.hwang@...iatek.com>,
Loda Chou <loda.chou@...iatek.com>
Subject: [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(-)
--
2.28.0.rc0.105.gf9edc3c819-goog
Powered by blists - more mailing lists