Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2504437lqo; Mon, 20 May 2024 07:54:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXb4XyYypfD6R89pJoKALFbJZK0VqyZHpo953QbZF9SbFr4+GEyUBz/tk/gyoDo0xsQyDBBNdgJBlatIXHPpvigQQcRXL+RK6qlbOjCSw== X-Google-Smtp-Source: AGHT+IGW9uz7cffvFSQbaT3xRPXOwShbsXeztvrPdyL+IDbkmbHSMFdNZXQY5aQVYRfvSMII1nyT X-Received: by 2002:a17:906:e258:b0:a5a:5b1a:e2e4 with SMTP id a640c23a62f3a-a5d5b11a849mr582861566b.20.1716216898092; Mon, 20 May 2024 07:54:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716216898; cv=pass; d=google.com; s=arc-20160816; b=BBZbyYdEpbxKT7XXc/qaU9T6s/9sJC09uIo3H5qtWydbrhfHuScgTqm+k9OxyW+JoU 1gAn9mD4yahZcDjvnlJbcffzFEZCr3DGKMIXVJzSCKXWmMB1mWFiZEXTHvzL+UqzrAoL cx23a8IswJubyw6oDS4OwQJcPl/ExbWrPMhLp9fazLaG52M20h3Xn9rHv9XTZIbWHV0L BDgDDshFLe5mQQN3CdyXMVllsGPvuqDA2BltgmqgEUBC65oxY60RlgOy7QidcjBHr0By y4CMaCL7nz2OnaYLP/42mPWTcU3WDdJTGT4tJD8V97fQSx6NXwIovh7X7+cD9ZBRx6ct nvQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=0TZ3BGmEu8mVwpdyswgFBs/ct4xyk7TF2NGi7rztXsU=; fh=+Qa/Xt/K3tboH3mbGMNI79vDZYyNmZBCAYS58tJgF3s=; b=wEj4/v6Yq5VIUNTRlWng6Gxd/cLr5Yt80k53mrkWSvS9KbJoJ9WS+Oat7bwT0ol8IA xPYt0ImhjFOxH+wFxT/OEoRio5ItmEF7bV9FjnJoQK8VNtL9v/GW0WyzPHtG2flkdPXQ F0/XaqclOqYSAohEtHpFNRwGw34CxlmwFLlzDd4GlDCAviuU9qfwxRCVH9/BIq85vZLE 9wB1U+NsRs/kp9vaDczWPPJVR5Jbea/93kzXdzqjj0dNar57maT6b60CE4efFIkWNran 255Rk0CxPRsUFp1UwNsDtE4ymFTPqGRnEv2SuCfFLLZSNpjkfrmde1gEQVOgk0jVwjFn PWbA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=d09pMeOY; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-183863-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183863-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a179460e3si1364752766b.203.2024.05.20.07.54.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 07:54:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183863-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=@linux.dev header.s=key1 header.b=d09pMeOY; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-183863-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183863-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 CFBC71F220A4 for ; Mon, 20 May 2024 14:54:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC3B713775A; Mon, 20 May 2024 14:54:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="d09pMeOY" Received: from out-174.mta0.migadu.com (out-174.mta0.migadu.com [91.218.175.174]) (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 7696A136E04 for ; Mon, 20 May 2024 14:54:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716216861; cv=none; b=mr+Vurg817DHg2+BIJTBtSfc5LNX2BMm3djagTLo6+Rdi5YG/G4nADia4Tbsn+1X6V3y/tGKkr4KT4Qyc2bsHF+LMd+021BZyKwi9mfUD1RBF1VNPZaqbAy9MG1tjuZcMj6HKPKT1LcNuryFcmhxBOkuPPEvCzMWYcLv+oq4bbs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716216861; c=relaxed/simple; bh=sHuVMqOOOz9XO4IshcQZEwhXzzhogGCT5T+bmtChve0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=XCo2oNLyoQ5Ck58bL2Ez03a4lLDOz3AYa12gavWVdscSmYOKCGHCf9gCqk1AigSjFAU74b1lEXt8vLzGX16XwDF58d0TQ3kYveanlqy1rdw3EqhexaTP0MaCYXxb+Wwnffko8kcAOIzJLYRT5+5FVHdE6YvVNAPcU/GZvvUUhy0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=d09pMeOY; arc=none smtp.client-ip=91.218.175.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Envelope-To: lpieralisi@kernel.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1716216854; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0TZ3BGmEu8mVwpdyswgFBs/ct4xyk7TF2NGi7rztXsU=; b=d09pMeOYiWVnrY3txO33VLyO8lPiZDqCbW6nnx1MgKYzNfA7HqMxY6eRxGmcAVt+xvUuLr HJaMZwbY43vTCCVFZNqFMo0SGjrWVZyBsNQKtRnylcNqWD/4VhGRLaMgLvshkFuswYgckK JKBUlXWHl5h6LN9mcvgc7bixP3ltZMI= X-Envelope-To: kw@linux.com X-Envelope-To: robh@kernel.org X-Envelope-To: linux-pci@vger.kernel.org X-Envelope-To: michal.simek@amd.com X-Envelope-To: thippeswamy.havalige@amd.com X-Envelope-To: linux-arm-kernel@lists.infradead.org X-Envelope-To: bhelgaas@google.com X-Envelope-To: linux-kernel@vger.kernel.org X-Envelope-To: sean.anderson@linux.dev X-Envelope-To: conor+dt@kernel.org X-Envelope-To: krzysztof.kozlowski+dt@linaro.org X-Envelope-To: devicetree@vger.kernel.org X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Sean Anderson To: Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Rob Herring , linux-pci@vger.kernel.org Cc: Michal Simek , Thippeswamy Havalige , linux-arm-kernel@lists.infradead.org, Bjorn Helgaas , linux-kernel@vger.kernel.org, Sean Anderson , Conor Dooley , Krzysztof Kozlowski , devicetree@vger.kernel.org Subject: [PATCH v3 1/7] dt-bindings: pci: xilinx-nwl: Add phys Date: Mon, 20 May 2024 10:53:56 -0400 Message-Id: <20240520145402.2526481-2-sean.anderson@linux.dev> In-Reply-To: <20240520145402.2526481-1-sean.anderson@linux.dev> References: <20240520145402.2526481-1-sean.anderson@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Add phys properties so Linux can power-on/configure the GTR transcievers. 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