Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1496400lqh; Mon, 6 May 2024 09:16:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWfY5uhF1iuwdwkl/9+3Absh5/ieD0i0SvjSPIUhtOPna9u6ctXVUbLMjnBjty0uH3Kx9S2ALyr+IZApWqq2U45ywJ4sViOVrXhzB0c3A== X-Google-Smtp-Source: AGHT+IFgJEx5d1rVH/xkQVlFKO9hLUpT+iDf0xTS34fryYjUprkur2XYxL57Nsyq7TfONPSUAR4A X-Received: by 2002:a05:6358:88a:b0:186:1d2a:a467 with SMTP id m10-20020a056358088a00b001861d2aa467mr12637933rwj.22.1715012206401; Mon, 06 May 2024 09:16:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715012206; cv=pass; d=google.com; s=arc-20160816; b=gJTbD3NijtNsAaknyNzqYTZkQsNSrNYeGUuwF1Q++t2+r/0m0DGGyLibnbHlKe3mjF T/GWkL3dV+OcPfwuRMljDeVcC7abzT4RqK7SzzNe0djoqtDsrX/YovqdtSoSiXLssY9e qf0tpirLrbBrBuLo9Y7BiWj9JdUjxlMooBqTWeUx3gHeCyvGaqiHhU+7diTlewchPFK8 23nzxwLwuhgtGYEumbjIrOT4ynI/ww14QtbxiuKb7Kj1Kslwp85WbQRWhZRGnX35hTpi dKfKD0NMpFemXPyT4qG+dParGaLqx00obafp+J+ThIlT6YNxt6p1Dj3FaOkyjkgqiuKX 6uSw== 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=b+3dT2d6ER0IlCAsSUbORGIL1TSfGEpzpmkwOt0cz4c=; fh=blXLVe2VXxSl0LDtHfJMubtHyV6yIufA/1z/LwdXJ6o=; b=UE+xh+DM7HmjouWovQ5wc8WEpQ7qOoRi0c+IWoxzzc6NXNerxTgRxBjSWUWaE04lXu zp95FEZllvgus6i5JlJRloWCuhfvTONMHoIUZTfH7khw/wLyzb5NmX1gYCe4OHqSjTOc KB7O/93ZpoJpGo2pnCjwG+7SgfmX/WwAB1e6n7VA1eFccL+ZyElZT9sEo06nbN0NB6tW kloCW3sRp8uSZl8W+OWpGkS5sgz3FM1zyfW1LqxpRjzY4LhwKu0C5JgwJ+Ad1T+5327U Oj6ClDlrzkD5xf30G3wZqroytu2Pp5fv2pi8rujG27Hka0YWz02rDz9WZq++58HAzREQ glaA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=OQ6tviJw; 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-170135-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170135-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 q11-20020a656a8b000000b005f435bce73dsi9021929pgu.361.2024.05.06.09.16.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 09:16:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170135-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=OQ6tviJw; 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-170135-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170135-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 773342867F8 for ; Mon, 6 May 2024 16:16:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 19178156C71; Mon, 6 May 2024 16:15:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="OQ6tviJw" Received: from out-178.mta0.migadu.com (out-178.mta0.migadu.com [91.218.175.178]) (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 A7ACD156678 for ; Mon, 6 May 2024 16:15:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715012131; cv=none; b=HGphfHoB/QZXxQu8Bw+e2GGvTpTflECHQLHv3MFPkQz47T+nWOEZviykFhGJLf+IIdePIPaQRnu94PqEn+kVG8yRvBIm0yFQr7a6eIzx/Ev2HX83egvNW2htXZvU10BOZCR0QzQm83FNjYH4SeD2qeokL2mF7FvJFEyklxzZ4z4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715012131; c=relaxed/simple; bh=TyVattB9P0e8t5wNQ0gFDVFIeSr9GsPdV2eaRo2WGrE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=qikCN4ju3ZuO6o5IoKYwH40DhdfJYUduOsfv/2zSBExeDbpnFr8fPlDebSajsqosrtzdqQt99kd8SXRQf1qTe8lTOgAhr5iG5o6mkE3snUtT2KINOL0vzz6Qz0jZxddULFG9XJF09jNdwam7bqGo+sot68LuztPbDt0RQsR2B3Y= 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=OQ6tviJw; arc=none smtp.client-ip=91.218.175.178 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-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1715012127; 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=b+3dT2d6ER0IlCAsSUbORGIL1TSfGEpzpmkwOt0cz4c=; b=OQ6tviJwGSEY0TWJ3+kEBSIEDqs2zfHC3tbET9g3HdLstFkr1B1N2IrDSCopVx2fYtmlZv nHrXvRullyq92bsuUKlc0EnRNiFjKgqFNPxlAUUGjQJ8RJ5ifkBqzq5DmSoFCAQtU9JpH9 2CHk6kpLFtpSAzPU/iSHqDbCfsr0U/k= From: Sean Anderson To: Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Rob Herring , linux-pci@vger.kernel.org Cc: Michal Simek , Bjorn Helgaas , Thippeswamy Havalige , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sean Anderson , Conor Dooley , Krzysztof Kozlowski , devicetree@vger.kernel.org Subject: [PATCH v2 1/7] dt-bindings: pci: xilinx-nwl: Add phys Date: Mon, 6 May 2024 12:15:04 -0400 Message-Id: <20240506161510.2841755-2-sean.anderson@linux.dev> In-Reply-To: <20240506161510.2841755-1-sean.anderson@linux.dev> References: <20240506161510.2841755-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 v2: - Remove phy-names - Add an example Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml b/Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml index 426f90a47f35..693b29039a9b 100644 --- a/Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml @@ -61,6 +61,10 @@ properties: interrupt-map: maxItems: 4 + phys: + minItems: 1 + maxItems: 4 + power-domains: maxItems: 1 @@ -110,6 +114,7 @@ examples: - | #include #include + #include #include soc { #address-cells = <2>; @@ -138,6 +143,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