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

Binbin Zhou posted 2 patches 2 years, 7 months ago
.../loongson,eiointc.yaml                     |  59 ++++++++
drivers/irqchip/irq-loongson-eiointc.c        | 133 +++++++++++++-----
2 files changed, 157 insertions(+), 35 deletions(-)
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,eiointc.yaml
[PATCH V5 0/2] irqchip: loongson-eiointc: Add DT init support
Posted by Binbin Zhou 2 years, 7 months ago
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 chip.

Thanks.

---
V5:
- patch(2/2)
  - Rebased on top of latest loongarch-next(v6.3.0).

V4:
- patch(1/2)
  - Simplify the definition of the reg attribute by declaring the entire
    chip configuration space directly.

V3:
- patch(1/2)
  - Drop quotes;
  - Drop interrupt-names;
  - Drop loongson,eio-num-vecs;
  - SoC-based compatibles instead of version-based compatibles.
- patch (2/2)
  - irq_set_handler_data() is used to get parent irq form DTS;
  - Set vec_count by judging compatibles.

V2:
- Add the dt-bindings file (1/2);
- patch(2/2)
  - Remove forgotten debugging messages;
  - 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                     |  59 ++++++++
 drivers/irqchip/irq-loongson-eiointc.c        | 133 +++++++++++++-----
 2 files changed, 157 insertions(+), 35 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,eiointc.yaml

-- 
2.39.1
Re: [PATCH V5 0/2] irqchip: loongson-eiointc: Add DT init support
Posted by Binbin Zhou 2 years, 6 months ago
Hi Marc:

The dt-binding part of the patchset looks good now, do you have any more 
comments on the driver part?

Thanks.
Binbin

On 2023/5/5 17:46, Binbin Zhou wrote:
> 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 chip.
>
> Thanks.
>
> ---
> V5:
> - patch(2/2)
>    - Rebased on top of latest loongarch-next(v6.3.0).
>
> V4:
> - patch(1/2)
>    - Simplify the definition of the reg attribute by declaring the entire
>      chip configuration space directly.
>
> V3:
> - patch(1/2)
>    - Drop quotes;
>    - Drop interrupt-names;
>    - Drop loongson,eio-num-vecs;
>    - SoC-based compatibles instead of version-based compatibles.
> - patch (2/2)
>    - irq_set_handler_data() is used to get parent irq form DTS;
>    - Set vec_count by judging compatibles.
>
> V2:
> - Add the dt-bindings file (1/2);
> - patch(2/2)
>    - Remove forgotten debugging messages;
>    - 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                     |  59 ++++++++
>   drivers/irqchip/irq-loongson-eiointc.c        | 133 +++++++++++++-----
>   2 files changed, 157 insertions(+), 35 deletions(-)
>   create mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,eiointc.yaml
>