Re: [PATCH v3 3/4] dt-bindings: interrupt-controller: fsl,ls-extirq: convert to YAML
From: Rob Herring
Date: Thu Apr 28 2022 - 18:46:32 EST
On Wed, 27 Apr 2022 09:53:37 +0200, Michael Walle wrote:
> Convert the fsl,ls-extirq binding to the new YAML format.
>
> In contrast to the original binding documentation, there are three
> compatibles which are used in their corresponding device trees which
> have a specific compatible and the (already documented) fallback
> compatible:
> - "fsl,ls1046a-extirq", "fsl,ls1043a-extirq"
> - "fsl,ls2080a-extirq", "fsl,ls1088a-extirq"
> - "fsl,lx2160a-extirq", "fsl,ls1088a-extirq"
>
> Depending on the number of the number of the external IRQs which is
> usually 12 except for the LS1021A where there are only 6, the
> interrupt-map-mask was reduced from 0xffffffff to 0xf and 0x7
> respectively and the number of interrupt-map entries have to
> match.
>
> Signed-off-by: Michael Walle <michael@xxxxxxxx>
> ---
> changes since v2:
> - drop $ref to interrupt-controller.yaml
> - use a more strict interrupt-map-mask and make it conditional on SoC
>
> changes since v1:
> - new patch
>
> .../interrupt-controller/fsl,ls-extirq.txt | 53 --------
> .../interrupt-controller/fsl,ls-extirq.yaml | 118 ++++++++++++++++++
> 2 files changed, 118 insertions(+), 53 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/fsl,ls-extirq.txt
> create mode 100644 Documentation/devicetree/bindings/interrupt-controller/fsl,ls-extirq.yaml
>
Applied, thanks!