Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/7] irqchip/irq-realtek-rtl: Add multi parent support
@ 2026-06-05 21:16 Markus Stockhausen
  2026-06-05 21:16 ` [PATCH 1/7] dt-bindings: interrupt-controller: realtek,rtl-intc: Allow 2 interrupt cells Markus Stockhausen
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Markus Stockhausen @ 2026-06-05 21:16 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, mail, bert, john, devicetree, tglx,
	linux-kernel
  Cc: Markus Stockhausen

The Realtek Otto switch series consists of multiple devices.

- RTL838x: single core (Realtek proprietary IRQ controller)
- RTL839x: multi core (Realtek proprietary IRQ controller)
- RTL930x: multi core (Realtek proprietary IRQ controller)
- RTL931x: multi core (MIPS GIC controller)

The proprietary interrupt controller supports hardware interrupt
routing. To be precise:

- The hardware knows up to 32 different interrupts.
- These can be assigned dynamically to the normal MIPS 
  interrupts (2-6).

For this each of the 32 hardware interrupts has a routing
register. If properly set up, important interrupts (like
timers) can be prioritized.

Until now all interrupts are always routed to the low priority
MIPS interrupt 2. This series extends the driver by registering
multiple domains for the different MIPS interrupts and adding
the possibility for hardware devices to map a desired parent
interrupt.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
---



Markus Stockhausen (7):
  dt-bindings: interrupt-controller: realtek,rtl-intc: Allow 2 interrupt
    cells
  irqchip/irq-realtek-rtl: Use helper for parent setup
  irqchip/irq-realtek-rtl: Add interrupt data structure
  irqchip/irq-realtek-rtl: Add mask for interrupt handling
  irqchip/irq-realtek-rtl: Add a select function
  irqchip/irq-realtek-rtl: Allow shuffled interrupt order
  irqchip/irq-realtek-rtl: Activate multiple parents

 .../realtek,rtl-intc.yaml                     |   5 +-
 drivers/irqchip/irq-realtek-rtl.c             | 152 +++++++++++++-----
 2 files changed, 113 insertions(+), 44 deletions(-)

-- 
2.54.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-06-05 21:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-05 21:16 [PATCH 0/7] irqchip/irq-realtek-rtl: Add multi parent support Markus Stockhausen
2026-06-05 21:16 ` [PATCH 1/7] dt-bindings: interrupt-controller: realtek,rtl-intc: Allow 2 interrupt cells Markus Stockhausen
2026-06-05 21:25   ` sashiko-bot
2026-06-05 21:16 ` [PATCH 2/7] irqchip/irq-realtek-rtl: Use helper for parent setup Markus Stockhausen
2026-06-05 21:16 ` [PATCH 3/7] irqchip/irq-realtek-rtl: Add interrupt data structure Markus Stockhausen
2026-06-05 21:16 ` [PATCH 4/7] irqchip/irq-realtek-rtl: Add mask for interrupt handling Markus Stockhausen
2026-06-05 21:16 ` [PATCH 5/7] irqchip/irq-realtek-rtl: Add a select function Markus Stockhausen
2026-06-05 21:16 ` [PATCH 6/7] irqchip/irq-realtek-rtl: Allow shuffled interrupt order Markus Stockhausen
2026-06-05 21:16 ` [PATCH 7/7] irqchip/irq-realtek-rtl: Activate multiple parents Markus Stockhausen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox