summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Rudolph <[email protected]>2025-03-20 13:51:56 +0100
committerTom Rini <[email protected]>2025-04-08 16:23:27 -0600
commit6554cb460bfc0d1a21406da49bf44f029b5aa185 (patch)
tree6cd72376a7fcea13c7fb0aa2a001bd825738ebea
parent51b8679b94ea22ffb91925cf56df1950fd4b0e12 (diff)
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 <[email protected]>
-rw-r--r--arch/arm/lib/gic-v3-its.c3
1 files changed, 3 insertions, 0 deletions
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)
};