[RFC PATCH 0/3] ls-extirq platform device conversion
Alexander Stein
alexander.stein at ew.tq-group.com
Mon Dec 1 02:51:39 PST 2025
Hi,
this RFC tried to address the problem that sometimes at time of probing the
parent IRQ domain is not yet ready. This results in the error message:
> irq-ls-extirq: Cannot find parent domain
> OF: of_irq_init: Failed to init /soc/syscon at 1f70000/interrupt-controller at 14
> ((____ptrval____)), parent 0000000000000000
Probe deferral is only possible having a platform device so the driver is
converted accordingly. It is inspired by commit 8ec99b033147e
("irqchip/sifive-plic: Convert PLIC driver into a platform driver").
Because the interrupt-controller at 1f70014 is a child of a syscon node, it is
not probed after platform device conversion. So it has to be moved outside.
This DT change has to be done for all layerscape SoC .dtsi
This is an incompatible change and I don't really know how to address that for
now. I've done it for LS1088A as a proof-of-concept for now.
Comments if this is the way to go or a different approach is more suitable
are very much welcome.
Best regards,
Alexander
Alexander Stein (3):
irqchip/ls-extirq: Convert to platform driver
irqchip/ls-extirq: Use managed resources
arm64: dts: ls1088a: Move extirq outside of syscon
.../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 42 +++++------
drivers/irqchip/irq-ls-extirq.c | 75 +++++++++----------
2 files changed, 56 insertions(+), 61 deletions(-)
--
2.43.0
More information about the linux-arm-kernel
mailing list