[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251205155735.2366732-1-ioana.ciornei@nxp.com>
Date: Fri, 5 Dec 2025 17:57:33 +0200
From: Ioana Ciornei <ioana.ciornei@....com>
To: Thomas Gleixner <tglx@...utronix.de>,
Ulf Hansson <ulf.hansson@...aro.org>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Johan Hovold <johan+linaro@...nel.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
"Rob Herring (Arm)" <robh@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/2] irqchip: convert ls-extirq to a platform driver
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
Powered by blists - more mailing lists