From 6554cb460bfc0d1a21406da49bf44f029b5aa185 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Thu, 20 Mar 2025 13:51:56 +0100 Subject: [PATCH] arm: gic-v3: Scan for subnodes According to the binding [1] the ITS node should be a subnode of the GICv3 node. Since the ITS node has it's own driver, manually probe for possible subnodes after binding since dm_scan_fdt() is not recursive. 1: https://www.kernel.org/doc/Documentation/devicetree/bindings/interrupt-controller/arm%2Cgic-v3.txt Signed-off-by: Patrick Rudolph --- arch/arm/lib/gic-v3-its.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/lib/gic-v3-its.c b/arch/arm/lib/gic-v3-its.c index 51cc2397768..34f05e94672 100644 --- a/arch/arm/lib/gic-v3-its.c +++ b/arch/arm/lib/gic-v3-its.c @@ -232,6 +232,9 @@ U_BOOT_DRIVER(arm_gic_v3) = { .id = UCLASS_IRQ, .of_match = gic_v3_ids, .ops = &arm_gic_v3_ops, +#if CONFIG_IS_ENABLED(OF_REAL) + .bind = dm_scan_fdt_dev, +#endif ACPI_OPS_PTR(&gic_v3_acpi_ops) }; -- 2.39.5