[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250522-foamy-cricket-of-defiance-edc2cd@kuoka>
Date: Thu, 22 May 2025 10:08:00 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Julien Massot <julien.massot@...labora.com>
Cc: kernel@...labora.com, Sen Chu <sen.chu@...iatek.com>,
Sean Wang <sean.wang@...iatek.com>, Macpaul Lin <macpaul.lin@...iatek.com>,
Lee Jones <lee@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
NĂcolas F. R. A. Prado <nfraprado@...labora.com>, Hui Liu <hui.liu@...iatek.com>, Yong Wu <yong.wu@...iatek.com>,
Joerg Roedel <joro@...tes.org>, Will Deacon <will@...nel.org>,
Robin Murphy <robin.murphy@....com>, Tinghan Shen <tinghan.shen@...iatek.com>,
linux-pm@...r.kernel.org, devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-mediatek@...ts.infradead.org, iommu@...ts.linux.dev
Subject: Re: [PATCH v2 2/3] dt-bindings: iommu: mediatek: Support 5 IRQs on
MT8195 infra IOMMU
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
Powered by blists - more mailing lists