From 88f43648d5e29aac2bc853984a2813724aa423b7 Mon Sep 17 00:00:00 2001 From: "Rob Herring (Arm)" Date: Wed, 23 Sep 2026 14:15:45 -0500 Subject: [PATCH] dt-bindings: iommu: Describe MT8195 infra IRQs The MT8195 infra IOMMU has one fault interrupt per IOMMU bank with 5 banks. Keep other MediaTek IOMMUs limited to one unnamed interrupt. Link: https://patch.msgid.link/20260923191546.2209201-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) --- .../bindings/iommu/mediatek,iommu.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml b/Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml index 79c573c47b08..cbda221a4fc5 100644 --- a/Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml +++ b/Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml @@ -100,7 +100,10 @@ properties: maxItems: 1 interrupts: - maxItems: 1 + minItems: 1 + maxItems: 5 + description: + A single interrupt or one interrupt per bank. clocks: items: @@ -155,6 +158,19 @@ required: - '#iommu-cells' allOf: + - if: + properties: + compatible: + contains: + const: mediatek,mt8195-iommu-infra + then: + properties: + interrupts: + minItems: 5 + else: + properties: + interrupts: + maxItems: 1 - if: properties: compatible: