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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 33FE9C30653 for ; Wed, 3 Jul 2024 15:42:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To :Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=14/8mR8/KO7LkU8XWicacmAb58zMr0ibeM2DrBCAyUk=; b=mQ/iyduArYUgN0shQORm4oMb/I ymgd+gbdeXjk2A/lgohADfqb82092DiBP/Koq3IuqZDyvba2/isHp8G/wDzHO6usVGdw+nb4ZDZMd oLoyz6TQPXwMMuYzLWWKHqNxdMBuBwndOmRSf9gUJJSEosQdZmBJaonB9paWVtOD/FmQ1xgU0US9F caq1rf8BIGpjZfgbFMrE9TXBXkFdt1rU2zWJzilFk9yVE4D3kmp5EvxGr2+QZlY5yIjwCQAP+Pqgw akf6u+BR+7FH804LYTMUZ/BAN43eEAMyYToeVBAkQbotUjY8jze7UIt75X4eiSLIwdYeApVm8VIDE f1PICzhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sP27K-0000000Aj6w-0gOU; Wed, 03 Jul 2024 15:41:58 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sP277-0000000Aj3J-1QdF for linux-arm-kernel@lists.infradead.org; Wed, 03 Jul 2024 15:41:46 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id BCCB162335; Wed, 3 Jul 2024 15:41:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 11FF6C3277B; Wed, 3 Jul 2024 15:41:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1720021304; bh=8QrU4tdc4O7uvfChN9kjeYliOuT7HD1Ihq7NwYTkLgA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MgNu5Ods8UbxEF91YLLjBIALaSGfBsSNvI618Ni6ieQ1D6FMGKGQ0p5RS4dDJbQw+ Ajko1cFny/AMmMjIA6+JAch+qpxbumjlwe0ZBhtXLiTcd1axsLl4Mo3KaWduapYCdo 4CoWXZY8eC9TmqzUFYyOcvUrD1yqJHHcO+K8SuNljob0KGjHwsjlXmeUzi5CYkumjh dbyt1VIrnZbxWU2VQ8Q+jBnEwGCDshea5gpPz/9A9M9rktGKihbQWyJs4jsRAr+sRW wVR3s4dXE0GrBdApANcvUBoxSDEnkhE3X8Do+beocuhKESDMo/DN5Yv6wVYbhJpK2x UkETpB7a23AwQ== Date: Wed, 3 Jul 2024 16:41:39 +0100 From: Conor Dooley To: Varshini Rajendran Subject: Re: [PATCH v5 15/27] dt-bindings: interrupt-controller: Document the property microchip,nr-irqs Message-ID: <20240703-dentist-wired-bdb063522ef7@spud> References: <20240703102011.193343-1-varshini.rajendran@microchip.com> <20240703102814.196063-1-varshini.rajendran@microchip.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3P1wqdHr/mHz/9qd" Content-Disposition: inline In-Reply-To: <20240703102814.196063-1-varshini.rajendran@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240703_084145_613349_D907BB99 X-CRM114-Status: GOOD ( 14.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alexandre.belloni@bootlin.com, dharma.b@microchip.com, claudiu.beznea@tuxon.dev, tglx@linutronix.de, krzk+dt@kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --3P1wqdHr/mHz/9qd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 03, 2024 at 03:58:14PM +0530, Varshini Rajendran wrote: > Add the description and conditions to the device tree documentation > for the property microchip,nr-irqs. >=20 > Signed-off-by: Varshini Rajendran This needs to be part of patch 14. > --- > .../bindings/interrupt-controller/atmel,aic.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/interrupt-controller/atmel= ,aic.yaml b/Documentation/devicetree/bindings/interrupt-controller/atmel,ai= c.yaml > index 9c5af9dbcb6e..06e5f92e7d53 100644 > --- a/Documentation/devicetree/bindings/interrupt-controller/atmel,aic.ya= ml > +++ b/Documentation/devicetree/bindings/interrupt-controller/atmel,aic.ya= ml > @@ -54,6 +54,10 @@ properties: > $ref: /schemas/types.yaml#/definitions/uint32-array > description: u32 array of external irqs. > =20 > + microchip,nr-irqs: > + $ref: /schemas/types.yaml#/definitions/uint32-array > + description: u32 array of nr_irqs. This makes no sense, did you just copy from above? Why would the number of irqs be an array? Why can't you determine this from the compatble? Thanks, Conor. > + > allOf: > - $ref: /schemas/interrupt-controller.yaml# > - if: > @@ -71,6 +75,14 @@ allOf: > atmel,external-irqs: > minItems: 1 > maxItems: 1 > + - if: > + properties: > + compatible: > + contains: > + const: microchip,sam9x7-aic > + then: > + required: > + - microchip,nr-irqs > =20 > required: > - compatible > --=20 > 2.25.1 >=20 --3P1wqdHr/mHz/9qd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZoVxMwAKCRB4tDGHoIJi 0iH1AQDvRPpGyTjiFj+CE9KXyVN45mw6rl8Nyksg/dpCyi+KFwEApgBkyYjvcBLe KCkJcrbqbQgiVj5SSv0x2yVBZelIZAs= =EFzl -----END PGP SIGNATURE----- --3P1wqdHr/mHz/9qd--