Skip to content

Commit ba5c657

Browse files
IoanaCiorneiThomas Gleixner
authored andcommitted
bus: simple-pm-bus: Probe the Layerscape SCFG node
Make the simple-pm-bus driver probe the Layerscape SCFG dt nodes and populate platform_device structures from its child dt nodes. This is now needed because its child interrupt-controller - ls-extirq - is being handled as a platform_device instead of being initialized through the IRQCHIP_DECLARE infrastructure which impeded its parent IRQ retrieval through the blamed commit. Note that this does not set ONLY_BUS because that enables the of_platform_populate() call. The extra power management operations which are enabled by that are not required but harmless. Fixes: 1b1f04d ("of/irq: Ignore interrupt parent for nodes without interrupts") Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://patch.msgid.link/20260122134034.3274053-3-ioana.ciornei@nxp.com
1 parent 05cd654 commit ba5c657

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

drivers/bus/simple-pm-bus.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,12 @@ static const struct of_device_id simple_pm_bus_of_match[] = {
142142
{ .compatible = "simple-mfd", .data = ONLY_BUS },
143143
{ .compatible = "isa", .data = ONLY_BUS },
144144
{ .compatible = "arm,amba-bus", .data = ONLY_BUS },
145+
{ .compatible = "fsl,ls1021a-scfg", },
146+
{ .compatible = "fsl,ls1043a-scfg", },
147+
{ .compatible = "fsl,ls1046a-scfg", },
148+
{ .compatible = "fsl,ls1088a-isc", },
149+
{ .compatible = "fsl,ls2080a-isc", },
150+
{ .compatible = "fsl,lx2160a-isc", },
145151
{ /* sentinel */ }
146152
};
147153
MODULE_DEVICE_TABLE(of, simple_pm_bus_of_match);

0 commit comments

Comments
 (0)