mbox series

[v4,0/2] Realtek RTL838x/RTL839x interrupt controller driver

Message ID 20210122204224.509124-1-bert@biot.com
Headers show
Series Realtek RTL838x/RTL839x interrupt controller driver | expand

Message

Bert Vermeulen Jan. 22, 2021, 8:42 p.m. UTC
v4:
- Disable cascaded interrupts before mapping, not after.
- Set chained handlers as interrupt mappings are read, instead of beforehand.
- Removed timer interrupt clear.

v3:
- Fixed syntax and maxItems problems in DT bindings.

v2:
- Addressed all comments by Marc Zyngier.
- Moved interrupt routing symbols to device tree interrupt-map. Parsing
  is done similar to the renesas,rza1-irqc driver.


Bert Vermeulen (2):
  dt-bindings: interrupt-controller: Add Realtek RTL838x/RTL839x support
  irqchip: Add support for Realtek RTL838x/RTL839x interrupt controller

 .../realtek,rtl-intc.yaml                     |  57 ++++++
 drivers/irqchip/Makefile                      |   1 +
 drivers/irqchip/irq-realtek-rtl.c             | 180 ++++++++++++++++++
 3 files changed, 238 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/realtek,rtl-intc.yaml
 create mode 100644 drivers/irqchip/irq-realtek-rtl.c

Comments

Marc Zyngier Feb. 4, 2021, 3:56 p.m. UTC | #1
On Fri, 22 Jan 2021 21:42:22 +0100, Bert Vermeulen wrote:
> v4:

> - Disable cascaded interrupts before mapping, not after.

> - Set chained handlers as interrupt mappings are read, instead of beforehand.

> - Removed timer interrupt clear.

> 

> v3:

> - Fixed syntax and maxItems problems in DT bindings.

> 

> [...]


Applied to irq/irqchip-next, thanks!

[1/2] dt-bindings: interrupt-controller: Add Realtek RTL838x/RTL839x support
      commit: 4a2b92a5d3519fc2c1edda4d4aa0e05bff41e8de
[2/2] irqchip: Add support for Realtek RTL838x/RTL839x interrupt controller
      commit: 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.