diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2024-10-23 15:20:04 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-27 17:24:13 -0600 |
commit | df8d759d9db17b55d6283a9a1d84d196e9cc1dd4 (patch) | |
tree | 83e2418569ce3d87837d330f774deba07962d18b /test/py/u_boot_utils.py | |
parent | 11a86874c0a76a712d130b0aec2bbd1dbffa759d (diff) |
arm: lib: Add GICV2 driver
Add a generic GICV2 driver that:
- parses the DT and generates the ACPI MADT subtables
- implement of_xlate() and allows irq_get_by_index() to return the
correct interrupt mappings
Map DT interrupts to ARM GIC interrupts as follows:
- Interrupt numbers ID32-ID1019 are used for SPIs
- ID0-ID15 are used for SGIs
- ID16-ID31 are used for PPIs
TEST: Booted on QEMU raspb4 using GICV2 driver model generated MADT.
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/u_boot_utils.py')
0 files changed, 0 insertions, 0 deletions