Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp557971lqh; Fri, 31 May 2024 09:15:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXhPKdkEjx23uVPJCkUbXRXTuT/idIKAhKazZiFdmIhRD1Q99P4eRIyTz+E2wh7q+/BPrxdOdAIaNOliohRsqPR59NGn2mWgNMluHjNZQ== X-Google-Smtp-Source: AGHT+IFzzIsGqnanEqNGK2IllAPwyuJxsqmzIM3xTldYALTu/tpN8jSDDsHS4Agle0y17aRgZiQC X-Received: by 2002:a17:903:120b:b0:1e3:dfdc:6972 with SMTP id d9443c01a7336-1f636ffed28mr27245985ad.9.1717172119517; Fri, 31 May 2024 09:15:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717172119; cv=pass; d=google.com; s=arc-20160816; b=YpBuyQT5TfEH74B24faQLsDbeX5vpPupVKwrkA5kmF8L3qjxUeWBiO+3hIi/FVBrI+ R1QfYTRan9o8ZGXvd3mn72oe17hSsmpKv2OMen8QlgT8UlP5uW3VGYU7mPr2HtTlAd20 lxrlNe/g/xynlVKFthHKcfiMmoOJ+z1uALiY6dGuSf8+xqJvCD0GsgA/Rsafe+ORLTkd kRfJWUppVnoMrwSZS32h9KQIzq19Ts8hv24uWjTyYHfUMCub4ybGgBgCkuTf8LWPixvJ YIM816PAF/17OT7ioJMleshZLt0mt1l8lfJalOXtI77qtr7KYGVfnT7IKdy28yEcZqcB zXNg== 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=cZqpbYK0acYzL/XrtMy6W52K47SmPfVIoW1GfOOCZgI=; fh=WTuZ1SUWCBL76mRrPKfh1IbPTus9Eo3L4AGm7mb7urA=; b=FsWuqBheojkTNpgM8XNAsyvjBMRM2GfInFbJEXuSeIEItLjhF8dglXd8sFhOmCVTws QDum/j9hFMTbQBnAZ6fMnnA/HNTxfny6OC2v+i0YIek2oJV5K3DviIrcj+mEvud4Bzf1 bBB1HgsFy5YJWNy9Pm29k0rn5yGGjktf1NJY/f0AZ9wunYLvT4nuJKwLkBJd8YxmlReZ CZAokeLo31NwAVAkPonBGrPtP8vGyOnsOoE8SPHd/d0lTvC4XZVSIezAW+Bvfzddc4Dq aDtWgNVrPyXNI7PDI9YTNcWM/hAFiUocilnJBlS4q4r76BEU/sMxyMnMJe3KD+wVe5CJ SJmw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=g0BEU0Z5; 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-197121-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197121-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f632401695si18740875ad.455.2024.05.31.09.15.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 09:15:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197121-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=g0BEU0Z5; 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-197121-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197121-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id EB4B9289443 for ; Fri, 31 May 2024 16:14:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 63BA0176182; Fri, 31 May 2024 16:13:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="g0BEU0Z5" Received: from out-177.mta0.migadu.com (out-177.mta0.migadu.com [91.218.175.177]) (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 D6114158D9C for ; Fri, 31 May 2024 16:13:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717172033; cv=none; b=Rn1jfsOfHVPKwVXTTh9hPCZoLzejHvycHCUxDYFV8kF5co3uhZOzsYuW18hnjJbTwOGBfxizjZErn8ePNJKREsAVEOTkBMVOj6+DcCOLVtoENpcMmxw78YbvG0ieJLaOtphcA173M590vVz+rVkwdeap27KYLV3tnPVrSrEimXA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717172033; c=relaxed/simple; bh=EzyIjuJj/J5dssuEwuYMPWZIo1X0zzcFoeRzZ79QhU0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=h5mZ+uRvm8zl7emSSYkuA30GoNBULfEc5pTv4c+BNjskGWchIxPnEyevD0F1s+eKXpz2zx+C7zeZzqZ4NjLYlF54YqOm2YKTXgXo1+lgqUtzNuxpqagyOgmGJ0uFN/Hgbr4MKwPpLmT/FJgY6+tGTP0zBAf4WqhZA+h804rPszU= 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=g0BEU0Z5; arc=none smtp.client-ip=91.218.175.177 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=1717172030; 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=cZqpbYK0acYzL/XrtMy6W52K47SmPfVIoW1GfOOCZgI=; b=g0BEU0Z5fo+CppAYRK/JgTR3WszFtmSJ9G6hMLCOCNO3acaJebGGoixYy1870PiBsFGFeg /VBB6X04H4RjW/ksrKfq/tfWAs+DEVye/TL1ckZZuI5dvg/cPgh8mJIW0lOM/pqNdaF0cb FMMmwkT2k712z9wAN9HokGMzc53/UeA= X-Envelope-To: kw@linux.com X-Envelope-To: robh@kernel.org X-Envelope-To: linux-pci@vger.kernel.org X-Envelope-To: thippeswamy.havalige@amd.com X-Envelope-To: linux-arm-kernel@lists.infradead.org X-Envelope-To: markus.elfring@web.de X-Envelope-To: dan.carpenter@linaro.org X-Envelope-To: linux-kernel@vger.kernel.org X-Envelope-To: bhelgaas@google.com X-Envelope-To: michal.simek@amd.com 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: Thippeswamy Havalige , linux-arm-kernel@lists.infradead.org, Markus Elfring , Dan Carpenter , linux-kernel@vger.kernel.org, Bjorn Helgaas , Michal Simek , Sean Anderson , Conor Dooley , Krzysztof Kozlowski , devicetree@vger.kernel.org Subject: [PATCH v4 1/7] dt-bindings: pci: xilinx-nwl: Add phys property Date: Fri, 31 May 2024 12:13:31 -0400 Message-Id: <20240531161337.864994-2-sean.anderson@linux.dev> In-Reply-To: <20240531161337.864994-1-sean.anderson@linux.dev> References: <20240531161337.864994-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 transceivers (xlnx,zynqmp-psgtr-v1.1). Signed-off-by: Sean Anderson Reviewed-by: Rob Herring (Arm) --- Changes in v4: - Clarify commit subject/message 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