[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231117162709.1096585-1-james.tai@realtek.com>
Date: Sat, 18 Nov 2023 00:27:03 +0800
From: James Tai <james.tai@...ltek.com>
To: Thomas Gleixner <tglx@...utronix.de>,
Marc Zyngier <maz@...nel.org>,
"Rob Herring" <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
James Tai <james.tai@...ltek.com>
CC: <linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>
Subject: [PATCH v2 0/6] Initial support for the Realtek interrupt controller
Introduce an interrupt controller driver for Realtek DHC (Digital Home Center) SoCs.
Change log:
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
.../realtek,rtd1319-intc.yaml | 79 ++++++
.../realtek,rtd1319d-intc.yaml | 79 ++++++
.../realtek,rtd1325-intc.yaml | 79 ++++++
.../realtek,rtd1619b-intc.yaml | 78 ++++++
drivers/irqchip/Kconfig | 28 +++
drivers/irqchip/Makefile | 5 +
drivers/irqchip/irq-realtek-intc-common.c | 192 +++++++++++++++
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 +++++++++++++++++
12 files changed, 1506 insertions(+)
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/realtek,rtd1319-intc.yaml
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/realtek,rtd1319d-intc.yaml
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/realtek,rtd1325-intc.yaml
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/realtek,rtd1619b-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
Powered by blists - more mailing lists