Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp523287rdb; Thu, 22 Feb 2024 10:42:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW4JCC348NA6my4fX8EL2ScRWAr766wrUp13FiHbIi+hn8qc/wLyNL5/WkzO8rJWupzw1qKpdBLEm6VDeOw0MpBCZJQdg8VDp+dTnoaaw== X-Google-Smtp-Source: AGHT+IHTOFiS3Z20bpHNeFiAUjxg4e35e1zz0q8Uv0XsS1vAzq+iwRDeBmxtMUhBFRAmFfgCGuMO X-Received: by 2002:ac2:5970:0:b0:512:a89b:9bcf with SMTP id h16-20020ac25970000000b00512a89b9bcfmr11651986lfp.17.1708627325870; Thu, 22 Feb 2024 10:42:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708627325; cv=pass; d=google.com; s=arc-20160816; b=Ik7I8c917hWLNNGmZfIwWWy4IU9ebyGMArEkeSHp3dpLDHu31qFeMfCn2njc0BoDuX OiJrFkCGZUJcV1H0hOn056Eik2oVNqNnAvrJFaad4YFpgJlAwyqwRvQR8kmyguXWHIzC 1hIzmwPW0uApI7KhpBkrBRTkelX+13lkAt7IKam0zMm4BeT5AxSxfUKy7WN3K4rFDFF/ eVCUfxfL50YXOb4kD6hoTP0588dm/IWZHBwVhIj2B5UVVZZ6JrZoy2d7yWlb6S1HzRJ1 7j+UUPVoCdJYiZ4IPpBSD0122lARJ3IXmJ/QxV0gYo5thAPL3IU8MoZOwU8n1XQ3XOKJ he2w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XV6pUHjUVlIMfOt0Ci1yfz1IcxNfcN5pgZPo4GSDyrY=; fh=ERjvN5iFouj8LapTdyil752esS8AaN+yEAkvfLggz1E=; b=bw7uinaOjY95EqyCWw1Q2Il+UyqFwpwE2Tq4JDiR6f9OrbCNRogPZ4V30xguEKtrSo 6Q6WgmgErol9tTEd0V3Q7t7bWPok58bkObTeCjCsTwPCuY/KrW7dmn/Y3rI43xrHGeKP oa3ARjD/1LY32Df26qiuIiA635/LgKT33pAfhHUSXZT8c04LcXfgUFA/nueiDXRVmgr1 yKKwx8umIIjBS4a6xCfH9zromT9ALI1XtTNRWwzBIxwKmHlg2oMQ+PUUtFZKdUbTgHUf FqTO1tVoeY3dpQuDRiVrOaVJaNPqIKrs8VSGfjSB2fBDN/YaHXrQp8xQqu0gTdqVxmNz rsig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G8oT0tXV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77151-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77151-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f11-20020a056402354b00b00564d0f60c1fsi2540421edd.59.2024.02.22.10.42.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 10:42:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77151-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G8oT0tXV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77151-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77151-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 918BA1F244B1 for ; Thu, 22 Feb 2024 18:42:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A36214B80E; Thu, 22 Feb 2024 18:34:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="G8oT0tXV" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 23A2C14B800; Thu, 22 Feb 2024 18:34:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708626875; cv=none; b=iQdQH4hxd9doAb48goykcLAk3C8rM8KRUAW7sPewFYu6ejUDUR3d2znbZE5M4vOheibD+BTQVOkiFi2Dnxn8YZ4zj/hjHahgJAvZ1+1dZVP2Lv3d7yjuUBP+rwkI6dMQ5Ome0fLrI1StTV+/reXuuakXzioXTThPX/a0ZP6qC+g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708626875; c=relaxed/simple; bh=bvKuvKytbBtOqC4SY6tWbkwrs+qn3Ow0VkeI33yKTic=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EVzUrBpGyPqlKU0yuYsa/qATyhrOs4lMibCHybmu1doko36YX9FZ5dBfz5655Z4uniN+yQo9lr7pvWIluyj6B5rcNRbOEjOuVJ8SNEOU3gUmPgr+hv2tHb0xMFQIBoAPmIJgJN2iK0a6ZyY6vugjWyChW35B0olGZ7lCTq3BVus= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=G8oT0tXV; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B8EDC433C7; Thu, 22 Feb 2024 18:34:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708626874; bh=bvKuvKytbBtOqC4SY6tWbkwrs+qn3Ow0VkeI33yKTic=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=G8oT0tXVU4X7BItZoA+QBGG7v64UjhuOc2fwK5PtsL5lxYiSvr+oioLkQ/YUj/Bfj ZSQHeZq3IHUe8srHmb3OOGEdQttgW7ucrf67qQC92RsPJAG7Ss1pnYpqTNAaKpnwnT 7XGmI5ZsPjpIX9BBv1tG+ndivz4pDp9Qaiy9KS50Lp8tqv92FEeWf6jECYQfrOUvDn LD9O4UQOCars0jZwM3YUEMhJUwVsj02JNejh/4Y0NwZkJSFquzxytyLJZk1V57/wxi eXih8b7HxjUWmHslJr8KxgliYRk/cOXrxpnoRpV6k4bMcHwDd/AAHC7jh9Di55mXWu jC/7CCBQCatCw== Date: Thu, 22 Feb 2024 18:34:30 +0000 From: Conor Dooley To: Frank Li Cc: Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Conor Dooley , "open list:PCI NATIVE HOST BRIDGE AND ENDPOINT DRIVERS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , imx@lists.linux.dev Subject: Re: [PATCH v3 1/1] dt-bindings: pci: layerscape-pci: Convert to yaml format Message-ID: <20240222-cardboard-mousiness-1f0cc1389f5d@spud> References: <20240214194145.2669744-1-Frank.Li@nxp.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pmwBZ8CSTAd4wZRC" Content-Disposition: inline In-Reply-To: --pmwBZ8CSTAd4wZRC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 19, 2024 at 04:36:10PM -0500, Frank Li wrote: > On Wed, Feb 14, 2024 at 02:41:44PM -0500, Frank Li wrote: > > Convert the layerscape-pci PCIe binding document to yaml format. > >=20 > > Additionally, changes for the layerscape-pci endpoint part: > > - Add interrupt name 'pme' restriction for fsl,ls1028a-pcie-ep, > > fsl,ls1046a-pcie-ep, and fsl,ls1088a-pcie-ep. > > - Add register name restrictions: 'reg' and 'addr_space'. 'addr_space' = is > > required by snps,dw-pcie-ep. > > - Add an example. > >=20 > > Changes for the layerscape-pci root complex part: > > - Add required property: 'reg-names', "#address-cells", "#size-cells", > > 'device_type', 'bus-range', 'ranges', "#interrupt-cells", > > 'interrupt-map-mask' and 'interrupt-map'. > > - Interrupt-names requirement split to each compatible string. > > - Add register name restrictions: 'reg' and 'config'. 'config' is requi= red > > by snps,dw-pcie. >=20 > @conor > Any comments about this one? Sorry I missed this - I've been sick the last week and probably overzealously deleted stuff from my mailbox. I see Rob replied to this as I was in the process of reading through the patch, so I only left two minor comments here. > > +examples: > > + - | > > + #include > > + > > + soc { > > + #address-cells =3D <2>; > > + #size-cells =3D <2>; > > + > > + pcie_ep1: pcie-ep@3400000 { Nit: unused label. > > +allOf: > > + - $ref: /schemas/pci/pci-bus.yaml# > > + - if: > > + properties: > > + compatible: > > + enum: > > + - fsl,lx2160a-pcie > > + then: > > + properties: > > + interrupts: > > + maxItems: 2 > > + interrupt-names: > > + items: > > + - const: pme > > + - const: aer > > + - const: intr You set maxItems to 2 but there are 3 names. That doesn't seem right! Chers, Conor. --pmwBZ8CSTAd4wZRC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHQEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZdeTtgAKCRB4tDGHoIJi 0n4oAPjEU95BElZ57lil+e0CiVomgjohQVzInjwCtSiJvxOTAP9enJlRBahLf2bB iF6yOklO25g+/lcbiEUHvAvFfjUOBw== =dDxo -----END PGP SIGNATURE----- --pmwBZ8CSTAd4wZRC--