OSDN Git Service

irqchip/stm32: Use a platform driver for stm32mp1-exti device
authorFabien Dessenne <fabien.dessenne@st.com>
Wed, 17 Apr 2019 13:02:56 +0000 (15:02 +0200)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Apr 2019 14:45:01 +0000 (15:45 +0100)
commitcfbf9e497094dcfaba02fe46e9e8c276e2d6eca9
treeac174c335b1ea4ff5ed1c61244aecbc1c1012e2e
parent960164f7141e8a974035db9ab03d93f46656ea81
irqchip/stm32: Use a platform driver for stm32mp1-exti device

This irqchip driver uses the hwspinlock framework (coprocessor HW regs
access concurrency) for the stm32mp1-exti device.
Hence, this driver needs to handle the hwspinlock driver dependency
using the deferred probe mechanism which requires to move this driver
into a platform one with a probe() ops.
This applies only for the device which is "st,stm32mp1-exti" compatible,
the management of the other devices (st,stm32h7-exti / st,stm32-exti) is
kept unchanged (use IRQCHIP_DECLARE)

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-stm32-exti.c