Re: [RFC] dt-bindings: gpio: brcm,kona-gpio: convert to YAML

From: Linus Walleij
Date: Fri Jul 28 2023 - 15:58:49 EST


On Fri, Jul 28, 2023 at 9:20 PM Stanislav Jakubek
<stano.jakubek@xxxxxxxxx> wrote:

> Documentation/devicetree/bindings/gpio/brcm,kona-gpio.example.dtb: gpio@35003000: interrupts: [[0], [106], [4], [0], [115], [4], [0], [114], [4], [0], [113], [4], [0], [112], [4], [0], [111], [4]] is too long
>
> Here I'm not even sure what the issue is.

(...)
> + interrupts:
> + maxItems: 1

^ There

> + interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH
> + GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH
> + GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH
> + GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
> + GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH
> + GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;

This is more than one item.

Yours,
Linus Walleij