[PATCH V2 0/2] Loongson: irqchip: Add loongson-eiointc DT init support

From: Binbin Zhou
Date: Mon Feb 13 2023 - 07:15:42 EST


Hi all:

Add EIOINTC irqchip DT support, which is needed for Loongson chips
that are DT-based and support EIOINTC, such as the Loongson-2K0500 SOC.

We need to handle the "parent_irq" and "eio-num-vecs" parameters passed
from DTS.

Thanks.

---
V2:
- Add the dt-bindings file (1/2);
- patch(2/2)
- Remove forgotten debugging messages;
- Rename properties name: "vec_count"->"loongson,eio-num-vecs";
- Change compatible string name to "loongson,eiointc-1.0".

Binbin Zhou (2):
dt-bindings: interrupt-controller: Add Loongson EIOINTC
irqchip/loongson-eiointc: Add DT init support

.../loongson,eiointc.yaml | 80 ++++++++++++
drivers/irqchip/irq-loongson-eiointc.c | 119 +++++++++++++-----
2 files changed, 165 insertions(+), 34 deletions(-)
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,eiointc.yaml

--
2.39.0