diff options
| author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2026-01-22 15:40:33 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-01-27 16:33:32 +0100 |
| commit | 05cd654829dd2717e86a5a3f9ff301447fc28c93 (patch) | |
| tree | 0e103d3c04f932c455a8b73b8eadad93d4677d64 /scripts/lib | |
| parent | 63804fed149a6750ffd28610c5c1c98cce6bd377 (diff) | |
irqchip/ls-extirq: Convert to a platform driver to make it work again
Starting with the blamed commit, the ls-extirq driver stopped working. This
is because ls-extirq, being one of the interrupt-map property abusers, does
not pass the DT checks added by the referenced commit, making it unable to
determine its interrupt parent:
irq-ls-extirq: Cannot find parent domain
OF: of_irq_init: Failed to init /soc/syscon@1f70000/interrupt-controller@14
((____ptrval____)), parent 0000000000000000
Instead of reverting the referenced commit, convert the ls-extirq to a
platform driver to avoid the irqchip_init() -> of_irq_init() code path
completely.
As part of the conversion, use the managed resources APIs and
dev_err_probe() so that there is no need for a .remove() callback or for
complicated error handling.
Fixes: 1b1f04d8271e ("of/irq: Ignore interrupt parent for nodes without interrupts")
Co-developed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260122134034.3274053-2-ioana.ciornei@nxp.com
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions
