Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp646305lqp; Wed, 22 May 2024 15:46:09 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUBtcmv6OXer35ACUTzN7ArZbnfXi1DbJJec83ZXG0cfzoSoLVzxU0DUa3mZvL03f8wWsx6BuiYc1tBMwdaG01Dl/Vzl4qmhmpARmrTBg== X-Google-Smtp-Source: AGHT+IGAjdPxCTDp3+63MzUf6f0pAr8Lf8jmz5Ugq1WV+sQ88q7h9QSAAD4z2igcqwkMvL48eZOK X-Received: by 2002:a05:6a21:99a7:b0:1ad:878:5006 with SMTP id adf61e73a8af0-1b1f879c813mr4021526637.14.1716417969144; Wed, 22 May 2024 15:46:09 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-63409e82569si4000602a12.55.2024.05.22.15.46.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 15:46:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186778-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b="gluCjXV/"; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-186778-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186778-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A48142838EC for ; Wed, 22 May 2024 22:29:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 43660148822; Wed, 22 May 2024 22:28:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gluCjXV/" 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 640AB1487E0; Wed, 22 May 2024 22:28:40 +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=1716416920; cv=none; b=Ef+w9DSX/ENFkPJmoGCEb/HeclDG/lhAUU0Ghlc1SQLdL4f64jkYcWXhE4H+rcHLcr21wBbc6VEk95PXPRrIj5RMOU2FoFM1TKnAOskdl+aycFZI7H3HLx1iprmhMCu18+OnbRnE3/5aw9eF+ZjnUybZ0cs/MIGzVDWEAAMJfG4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716416920; c=relaxed/simple; bh=FyDYtMT/2nQuK4XVRGpg4ULNIilNC8aI7hQ/yAbnWms=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=WyAgEtLLeCvvh6ILvrc/IzslpqsaIcZ14riXrmMMlzeVGxmM5joKZ/M/kWp4dAVf2H7A2E1zKtZCnjZJVWb4/nvqOrN5S5VAciSymN0wKcv0x3ZYmo3wjkn6GoW6MYkGqWTBXL/Wkg78tjJv1FdL6pU4F8dzg3icNluH7cILRyg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gluCjXV/; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BD247C2BBFC; Wed, 22 May 2024 22:28:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716416920; bh=FyDYtMT/2nQuK4XVRGpg4ULNIilNC8aI7hQ/yAbnWms=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=gluCjXV/cS6TMjmiB4c6zKFpfxBVeYDczAlUg6W/JLtLxMPtImzQMvnjf9A+t7VIK uDbNq3WmWVczLwFlWgq+wcDcktc17i3e4yaDT6A2nladW75Fg5OImyC9uZwjYF5vTA f+NbS5JrNlVD3jD/XVSjogkAvsewrhQUlMvlfHNdnjZyLZLPupEQw37cEgZPjfAy17 Ax9dlOzm14HefTumxgJyGYv7mF/VLWWXDotCT/gID0HdWrB4V392HDTte33b1a0jGm uxygzqywCVWx4FGqkAMmQflEjIBGqVzXyDahXa4ecaYsGbiPAtvzIi341WCut2EHVx fYVS7cfIjrZbw== Date: Wed, 22 May 2024 17:28:38 -0500 From: Bjorn Helgaas To: Sean Anderson , g@bhelgaas.smtp.subspace.kernel.org Cc: Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , linux-pci@vger.kernel.org, Michal Simek , Thippeswamy Havalige , linux-arm-kernel@lists.infradead.org, Bjorn Helgaas , linux-kernel@vger.kernel.org, Conor Dooley , Krzysztof Kozlowski , devicetree@vger.kernel.org Subject: Re: [PATCH v3 1/7] dt-bindings: pci: xilinx-nwl: Add phys Message-ID: <20240522222838.GA101305@bhelgaas> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240520145402.2526481-2-sean.anderson@linux.dev> On Mon, May 20, 2024 at 10:53:56AM -0400, Sean Anderson wrote: > Add phys properties so Linux can power-on/configure the GTR > transcievers. s/transcievers/transceivers/ Possibly s/phys/PHYs/ in subject, commit log, DT description to avoid confusion with "phys" (short for generic "physical"). Or maybe even just "PHY properties"? What does "GTR" mean? Possibly expand that? > Signed-off-by: Sean Anderson > --- > > Changes in v3: > - Document phys property > > Changes in v2: > - Remove phy-names > - Add an example > > Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml b/Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml > index 426f90a47f35..cc50795d170b 100644 > --- a/Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml > +++ b/Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml > @@ -61,6 +61,11 @@ properties: > interrupt-map: > maxItems: 4 > > + phys: > + minItems: 1 > + maxItems: 4 > + description: One phy per logical lane, in order > + > power-domains: > maxItems: 1 > > @@ -110,6 +115,7 @@ examples: > - | > #include > #include > + #include > #include > soc { > #address-cells = <2>; > @@ -138,6 +144,7 @@ examples: > <0x0 0x0 0x0 0x3 &pcie_intc 0x3>, > <0x0 0x0 0x0 0x4 &pcie_intc 0x4>; > msi-parent = <&nwl_pcie>; > + phys = <&psgtr 0 PHY_TYPE_PCIE 0 0>; > power-domains = <&zynqmp_firmware PD_PCIE>; > iommus = <&smmu 0x4d0>; > pcie_intc: legacy-interrupt-controller { > -- > 2.35.1.1320.gc452695387.dirty >