[PATCH v2 2/3] dt-bindings: iommu: mediatek: Support 5 IRQs on MT8195 infra IOMMU
Krzysztof Kozlowski
krzk at kernel.org
Thu May 22 01:08:00 PDT 2025
On Wed, May 14, 2025 at 10:19:57AM GMT, Julien Massot wrote:
> @@ -97,7 +97,8 @@ properties:
> maxItems: 1
>
> interrupts:
> - maxItems: 1
> + minItems: 1
> + maxItems: 5
>
> clocks:
> items:
> @@ -201,6 +202,21 @@ allOf:
> required:
> - mediatek,infracfg
>
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - mediatek,mt8195-iommu-infra
> + then:
> + properties:
> + interrupts:
> + minItems: 5
Instead list the items here and in else:, or in top-level if first
interrupt is the same.
> + else:
> + properties:
> + interrupts:
> + maxItems: 1
Best regards,
Krzysztof
More information about the Linux-mediatek
mailing list