[PATCH v3 0/6] Initial support for the Realtek DHC SoCs

From: James Tai
Date: Wed Nov 29 2023 - 00:44:37 EST


This series introduces an interrupt controller driver for the Realtek DHC
(Digital Home Center) SoCs.

Change log:
v2 -> v3:
- Retested the bindings using the new version of the dtschema
- Fixed the order of property items
- Removed redundant files and replaced them with 'realtek,intc.yaml'
- Replaced 'interrupts-extended' with 'interrupts'
- Added a description for 'interrupts'
- Reduced the example code
- Resolved kernel test robot build warnings

v1 -> v2:
- Tested the bindings using 'make dt_binding_check'
- Fixed code style issues
- Resolved kernel test robot build warnings
- Replaced spin_lock_irqsave with raw_spin_lock
- Replaced magic number with macro
- Removed the realtek_intc_set_affinity function

James Tai (6):
dt-bindings: interrupt-controller: Add support for Realtek DHC SoCs
irqchip: Add interrupt controller support for Realtek DHC SoCs
irqchip: Introduce RTD1319 support using the Realtek common interrupt
controller driver
irqchip: Introduce RTD1319D support using the Realtek common interrupt
controller driver
irqchip: Introduce RTD1325 support using the Realtek common interrupt
controller driver
irqchip: Introduce RTD1619B support using the Realtek common interrupt
controller driver

.../interrupt-controller/realtek,intc.yaml | 76 ++++++
drivers/irqchip/Kconfig | 28 +++
drivers/irqchip/Makefile | 5 +
drivers/irqchip/irq-realtek-intc-common.c | 208 ++++++++++++++++
drivers/irqchip/irq-realtek-intc-common.h | 77 ++++++
drivers/irqchip/irq-realtek-rtd1319.c | 218 +++++++++++++++++
drivers/irqchip/irq-realtek-rtd1319d.c | 227 ++++++++++++++++++
drivers/irqchip/irq-realtek-rtd1325.c | 227 ++++++++++++++++++
drivers/irqchip/irq-realtek-rtd1619b.c | 217 +++++++++++++++++
9 files changed, 1283 insertions(+)
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/realtek,intc.yaml
create mode 100644 drivers/irqchip/irq-realtek-intc-common.c
create mode 100644 drivers/irqchip/irq-realtek-intc-common.h
create mode 100644 drivers/irqchip/irq-realtek-rtd1319.c
create mode 100644 drivers/irqchip/irq-realtek-rtd1319d.c
create mode 100644 drivers/irqchip/irq-realtek-rtd1325.c
create mode 100644 drivers/irqchip/irq-realtek-rtd1619b.c

--
2.25.1