diff options
| author | Markus Stockhausen <markus.stockhausen@gmx.de> | 2026-06-05 23:16:44 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-06-29 17:19:06 +0200 |
| commit | 86ddc446fd7936fdc1ad5a79a8fe1fd9f30ca3f6 (patch) | |
| tree | f202266dc1a6132c26650e60639c85e716106733 /tools/lib/python | |
| parent | 2a3fa7f31f43580edcba5ee9f97473801aa3deec (diff) | |
irqchip/irq-realtek-rtl: Add a select function
When working with multiple domains, the interrupt registration
must know to which domain it attaches. Add a select function that
takes care of the lookup. Logic is as follows.
If a device needs explicit parent routing it can request it by
giving an index as a second argument in the device tree. E.g.
intc: interrupt-controller@3000 {
...
interrupts = <2>, <3>, <4>, <5>, <6>, <7>;
};
uart1: uart@2100 {
...
interrupt-parent = <&intc>;
interrupts = <31 1>;
}
This way the serial console with hardware interrupt 31 will be
routed via SoC interrupt 3. If the second argument is not given,
the first parent interrupt of the controller is selected.
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260605211646.2101652-6-markus.stockhausen@gmx.de
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
