]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
irqchip/ls-extirq: Convert to a platform driver to make it work again
authorIoana Ciornei <ioana.ciornei@nxp.com>
Thu, 22 Jan 2026 13:40:33 +0000 (15:40 +0200)
committerThomas Gleixner <tglx@kernel.org>
Tue, 27 Jan 2026 15:33:32 +0000 (16:33 +0100)
commit05cd654829dd2717e86a5a3f9ff301447fc28c93
tree0e103d3c04f932c455a8b73b8eadad93d4677d64
parent63804fed149a6750ffd28610c5c1c98cce6bd377
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
drivers/irqchip/irq-ls-extirq.c