From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2DF7C433EF for ; Tue, 5 Jul 2022 20:50:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232336AbiGEUuX (ORCPT ); Tue, 5 Jul 2022 16:50:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231171AbiGEUuL (ORCPT ); Tue, 5 Jul 2022 16:50:11 -0400 Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4DD720BDC; Tue, 5 Jul 2022 13:49:05 -0700 (PDT) Received: by mail-io1-f51.google.com with SMTP id m13so12342587ioj.0; Tue, 05 Jul 2022 13:49:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=mzARt3SUylprTdvbWfGQj5lJEtQuB8YwyDUa4X1Y/TQ=; b=YwzAylPYHe2q835HmyhBdJA4eZ5VAi3duzajM32bPJ0/iJztJ6uRnFEduxLMhR1ZHq nbu+5W6hcuZAG2oZPj3G/Wq6cCzBDgJ9xBsnt9oZi1QCKsfgR2UvhA4z54lC6YucKn7L sYVw2TBmEImfnZh6c7UM173HjTDUY6oBokUAWKRfF2rJ+CF71K1aWpnZmTEZuEHgwesz ONsZGYBP/aXc06MWbs9BL5U5UGWbnjvD1SyKKes7LvOSqfCDB9eA64XlR7gwqMnKdXu0 4DqGVglizdnBtzOuM42gS8tYJf/y4zygPlPp2E1Spx7W/NopQuaNhZ4nqrYZSDTco53T hxFg== X-Gm-Message-State: AJIora8b2Yx/JTlS0GCbz7JCpMyJa1zpqcLLHTNl6nf6+Q6DG547mvww 8kAi2q8dc2Zv9OJ1RCPzVA== X-Google-Smtp-Source: AGRyM1t3Q/lWtfZuyq003ElF5s7OUqIiDA2Wq5dxaxnoKjRtLzsbmHFJ7CK7VeOkWtDkrsMgCyJuvQ== X-Received: by 2002:a6b:f718:0:b0:675:54cb:dda with SMTP id k24-20020a6bf718000000b0067554cb0ddamr20639324iog.114.1657054144601; Tue, 05 Jul 2022 13:49:04 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id a9-20020a92c709000000b002dc133c9468sm2578869ilp.6.2022.07.05.13.49.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 13:49:04 -0700 (PDT) Received: (nullmailer pid 2598242 invoked by uid 1000); Tue, 05 Jul 2022 20:49:02 -0000 Date: Tue, 5 Jul 2022 14:49:02 -0600 From: Rob Herring To: Tinghan Shen Cc: Yong Wu , Joerg Roedel , Will Deacon , Krzysztof Kozlowski , Matthias Brugger , Chun-Jie Chen , AngeloGioacchino Del Regno , Enric Balletbo i Serra , Weiyi Lu , iommu@lists.linux-foundation.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com Subject: Re: [PATCH v1 01/16] dt-bindings: iommu: mediatek: Increase max interrupt number Message-ID: <20220705204902.GA2596733-robh@kernel.org> References: <20220704100028.19932-1-tinghan.shen@mediatek.com> <20220704100028.19932-2-tinghan.shen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220704100028.19932-2-tinghan.shen@mediatek.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Mon, Jul 04, 2022 at 06:00:13PM +0800, Tinghan Shen wrote: > mt8195 infra iommu has max 5 interrupts. > > Signed-off-by: Tinghan Shen > --- > .../devicetree/bindings/iommu/mediatek,iommu.yaml | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml b/Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml > index 2ae3bbad7f1a..27eb9f6aa3ce 100644 > --- a/Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml > +++ b/Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml > @@ -91,7 +91,8 @@ properties: > maxItems: 1 > > interrupts: > - maxItems: 1 > + minItems: 1 > + maxItems: 5 > > clocks: > items: > @@ -175,9 +176,18 @@ allOf: > const: mediatek,mt8195-iommu-infra > > then: > + properties: > + interrupts: > + maxItems: 1 > + > required: > - mediatek,larbs > > + else: > + properties: > + interrupts: > + maxItems: 5 5 is already the max. minItems: 5