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 0EA67C3DA5D for ; Mon, 22 Jul 2024 16:45:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc: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=WEu1mtJK2zAAwlJZrp5A90Db7RW1SvbEMqxBVpDo9RM=; b=vPCZ/4KZDgssD4S+602W7fmbvA Rn5TZOCjBgAGzToSfrQwOHw+Rkw+Y5kGBXnFA0zywGm43wPioezjEP94P0NE/CCoOFtrocumBq/ni tvTAFjecU+QQVv39BHtUvfZ9YtpuaMIEX24qMer5lmFKHR7jRoWlREART4EVuJshr/8fKRu060GgL s4UgcXYTkmsHQJw77sXpOIB+Ex+W27+3SrxdY5fzkRvqVPi6dEWIRo7psmdm/pO9j3jYphA9766RF J7KY5XQdmZ7N7lcbqtdfVlQ7asJuQAKdMalRNnThOMbX5THW8UdBGVvXZdAm4NFNZXF4kAnsXs0k3 GrSQ2QXw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sVw9u-0000000A72C-3K6w; Mon, 22 Jul 2024 16:45:10 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sVw9Y-0000000A6xr-0XGF for linux-arm-kernel@lists.infradead.org; Mon, 22 Jul 2024 16:44:50 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 441D560B78; Mon, 22 Jul 2024 16:44:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 52104C116B1; Mon, 22 Jul 2024 16:44:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721666686; bh=nMaQD7CcFCSVVlPv+PUVH+T24g4Li95JzDQj8TyNmdU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=U8ic2+htmt2MeAxldBS//m5HkTfNo98txmw5/51xyGtpgrLCiqHXUodcNV8ygx2c2 X+8p50V8xfCoNUTCzG4gcsB7f1NgNufaOM+Ivccp6IyNVNNWFqM8gAhgxuhobqnCBl 8MavFPdJDUFXBMvxMcZGlltDnkqr9I1kFIAZ/1pziJzaZQGokjBxwTj+Js2N6WsWOc LhRSzRZuOLWdtgGKcC2K7MGMUkLoFeEQiFHBCUTG0vPjJRULchLwk0uI1Xxrslj2Jl zVj/l8qa/lpvW8xXOgff5SzMHwWZipgjddasZ9FK5RLFIbKkl6VEEPsAAKM0FQ3tAI 4tCEOPY/8wFjQ== Date: Mon, 22 Jul 2024 17:44:42 +0100 From: Conor Dooley To: Thippeswamy Havalige Cc: lpieralisi@kernel.org, kw@linux.com, robh@kernel.org, bhelgaas@google.com, krzk+dt@kernel.org, conor+dt@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, thippeswamy.havalige@amd.com, linux-arm-kernel@lists.infradead.org, michal.simek@amd.com Subject: Re: [PATCH v2 1/2] dt-bindings: PCI: xilinx-xdma: Add schemas for Xilinx QDMA PCIe Root Port Bridge Message-ID: <20240722-wham-molasses-ec515cc554a0@spud> References: <20240722062558.1578744-1-thippesw@amd.com> <20240722062558.1578744-2-thippesw@amd.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0qbwwrfU/idHp2B5" Content-Disposition: inline In-Reply-To: <20240722062558.1578744-2-thippesw@amd.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240722_094448_321792_3DB599F1 X-CRM114-Status: GOOD ( 18.11 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --0qbwwrfU/idHp2B5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 22, 2024 at 11:55:57AM +0530, Thippeswamy Havalige wrote: > Add YAML devicetree schemas for Xilinx QDMA Soft IP PCIe Root Port Bridge. >=20 > Signed-off-by: Thippeswamy Havalige > --- > .../bindings/pci/xlnx,xdma-host.yaml | 41 ++++++++++++++++++- > 1 file changed, 39 insertions(+), 2 deletions(-) > --- > changes in v2 > - update dt node label with pcie. > --- > diff --git a/Documentation/devicetree/bindings/pci/xlnx,xdma-host.yaml b/= Documentation/devicetree/bindings/pci/xlnx,xdma-host.yaml > index 2f59b3a73dd2..28d9350a7fb4 100644 > --- a/Documentation/devicetree/bindings/pci/xlnx,xdma-host.yaml > +++ b/Documentation/devicetree/bindings/pci/xlnx,xdma-host.yaml > @@ -14,10 +14,21 @@ allOf: > =20 > properties: > compatible: > - const: xlnx,xdma-host-3.00 > + enum: > + - xlnx,xdma-host-3.00 > + - xlnx,qdma-host-3.00 > =20 > reg: > - maxItems: 1 > + items: > + - description: configuration region and XDMA bridge register. > + - description: QDMA bridge register. Please constrain the new entry to only the new compatible. > + minItems: 1 > + > + reg-names: > + items: > + - const: cfg > + - const: breg > + minItems: 1 > =20 > ranges: > maxItems: 2 > @@ -111,4 +122,30 @@ examples: > interrupt-controller; > }; > }; > + > + pcie@80000000 { tbh, don't see the point of a new example for this. > + compatible =3D "xlnx,qdma-host-3.00"; > + reg =3D <0x0 0x80000000 0x0 0x10000000>, <0x0 0x90000000 0x0= 0x10000000>; > + reg-names =3D "cfg", "breg"; > + ranges =3D <0x2000000 0x0 0xa8000000 0x0 0xa8000000 0x0 0x80= 00000>, > + <0x43000000 0x4 0x80000000 0x4 0x80000000 0x0 0x400= 00000>; > + #address-cells =3D <3>; > + #size-cells =3D <2>; > + #interrupt-cells =3D <1>; > + device_type =3D "pci"; > + interrupt-parent =3D <&gic>; > + interrupts =3D , , > + ; > + interrupt-names =3D "misc", "msi0", "msi1"; > + interrupt-map-mask =3D <0x0 0x0 0x0 0x7>; > + interrupt-map =3D <0 0 0 1 &pcie_intc_0 0>, > + <0 0 0 2 &pcie_intc_0 1>, > + <0 0 0 3 &pcie_intc_0 2>, > + <0 0 0 4 &pcie_intc_0 3>; > + pcie_intc_1: interrupt-controller { > + #address-cells =3D <0>; > + #interrupt-cells =3D <1>; > + interrupt-controller; > + }; > + }; > }; > --=20 > 2.25.1 >=20 --0qbwwrfU/idHp2B5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZp6MegAKCRB4tDGHoIJi 0pcBAP9LahMFVPGTtlUm8+OhxWG5Ur/e8PepALBK4xDJtO4ONQEA7BRaZ7ZjdO/u 9xk3Bxqvw53xVCsmlLWgeSbSeylHWg0= =+Q7I -----END PGP SIGNATURE----- --0qbwwrfU/idHp2B5--