public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] irqchip: convert ls-extirq to a platform driver
@ 2025-12-05 15:57 Ioana Ciornei
  2025-12-05 15:57 ` [PATCH v2 1/2] irqchip/ls-extirq: convert " Ioana Ciornei
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Ioana Ciornei @ 2025-12-05 15:57 UTC (permalink / raw)
  To: Thomas Gleixner, Ulf Hansson, Geert Uytterhoeven, Johan Hovold,
	Rafael J. Wysocki, Rob Herring (Arm), Greg Kroah-Hartman
  Cc: linux-kernel

Starting with commit 1b1f04d8271e ("of/irq: Ignore interrupt parent for
nodes without interrupts"), the ls-extirq 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.

Instead of reverting the referenced commit, convert the ls-extirq to a
platform driver so that we avoid completely the irqchip_init() ->
of_irq_init() code path. This is what patch 1/2 does.

Patch 2/2 makes the parent dt nodes of ls-extirq to get probed by the
simple-pm-bus driver, for the single goal of it running
of_platform_populate(). Without this patch, the simple-pm-bus will not
get to probe on the ls-extirq nodes.

Alternative fixup routes were discussed in the following thread.
https://lore.kernel.org/all/CAL_JsqJ4q2=UJbuhfbvsbr2T+SRGXsPSXCLk6iXZid_qwYrN4g@mail.gmail.com/

Changes in v2:
- Use builtin_platform_driver since the driver cannot be built as a
  module

Ioana Ciornei (2):
  irqchip/ls-extirq: convert to a platform driver
  bus: simple-pm-bus: probe the Layerscape SCFG node

 drivers/bus/simple-pm-bus.c     |  6 ++++++
 drivers/irqchip/irq-ls-extirq.c | 32 +++++++++++++++++++++++++++-----
 2 files changed, 33 insertions(+), 5 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-01-14 12:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-05 15:57 [PATCH v2 0/2] irqchip: convert ls-extirq to a platform driver Ioana Ciornei
2025-12-05 15:57 ` [PATCH v2 1/2] irqchip/ls-extirq: convert " Ioana Ciornei
2025-12-12  1:24   ` Thomas Gleixner
2025-12-12  9:51     ` Alexander Stein
2025-12-12 14:17       ` Ioana Ciornei
2025-12-12 14:54         ` Alexander Stein
2025-12-12 14:13     ` Ioana Ciornei
2025-12-05 15:57 ` [PATCH v2 2/2] bus: simple-pm-bus: probe the Layerscape SCFG node Ioana Ciornei
2026-01-13 15:33 ` [PATCH v2 0/2] irqchip: convert ls-extirq to a platform driver Vladimir Oltean
2026-01-13 18:36   ` Thomas Gleixner
2026-01-13 18:43     ` Vladimir Oltean
2026-01-13 20:20       ` Thomas Gleixner
2026-01-14 12:00         ` Ioana Ciornei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox