Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2504156lqo; Mon, 20 May 2024 07:54:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUQlGzRGkRwfciv7MGZfV9q+xziPM/s251AWb5FtP5P9NooTDMqMk8cq7gk9MFt0/mQsVltnoQKUncnxrvp/OwcbTE/apTyWkNfCa8nNA== X-Google-Smtp-Source: AGHT+IGSbdMpJ72q/tlBBctN4viFvjXQXg+qF4egsMtkvlmh2lzg3epKtr2tzYQ9Q6jUYTMF2NFn X-Received: by 2002:a54:4402:0:b0:3c5:f87b:684 with SMTP id 5614622812f47-3c99704c3b1mr27557685b6e.15.1716216868034; Mon, 20 May 2024 07:54:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716216868; cv=pass; d=google.com; s=arc-20160816; b=ntzu+8mcr8IFN6eM0U4l/FbACGGNz6OabEWxCDYWaYN+82OlqPth17a0YiBcb7C2A0 yGElx7AdoEmmrDRBLNRtYjUNstkyDmx898pP9sArrmH/AtzWovFdvsG0oAg6ZGYx5cc7 ICARXAC7x0WQEgZJTocf/8fDHJOEgUy3wcnRAZD2ZsxE0gKvIlh1rWCngoHBu3nGoWkf k0VT5DEKUySnMzWASXc5kz+4eZNY/GyCQqINyW2rdzcpfR6XvZoSINJ+8PHLWdidcatg Lp03/Y/2fSrO9z35qvP0qsULsy6O2jE3ttoioaQ5BTYvHUZ6CsfP5FO7VXCAHHqiPgI+ VcvA== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=w1h/xR/QccO1Eert9Isb8A9fPFsSylLSp7IZB8Olt3o=; fh=0OnlGthJkc5eJHRwdN+jKFNuCG58ChHAD3g5GE4HBJg=; b=psinRRAGLGmEQEWuMlxVLsLknWIRF7bDhAi5VIshv7uaqeLVCr70gpTTEu4lnquuXj A2ZIl4BY8XXn/dCvblSRRwqc1yNHvMXm82GsTfWxq0svyCiG26g7M2Trz3BuvkX3y0CH GtwWnNsTFP7xtyDA0TPjyXJZcJWUkPIXDhN9aGa3f+mrRtzrDZz7+wo80qbHBdMSlRt8 6ivSy5JdUBZHCXTb9upkiB1OxxiyJ+u0Oot9HHXiF4PorqG+Myoo7cgO7XUdYd1sY0LO qQ1HhKK209CN2vm2jHsgXp5yXqzmNsdDrpZbG+suPbAzlEg2ZXovdrhFEy9tR7zFGXzA Yglw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=kW7+iekB; 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-183860-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183860-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-792bf30b5a7si2523589685a.257.2024.05.20.07.54.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 07:54:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183860-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=kW7+iekB; 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-183860-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183860-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BC6CA1C21C00 for ; Mon, 20 May 2024 14:54:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E470F136E0D; Mon, 20 May 2024 14:54:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="kW7+iekB" Received: from out-184.mta0.migadu.com (out-184.mta0.migadu.com [91.218.175.184]) (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 7D1D11E878 for ; Mon, 20 May 2024 14:54:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716216858; cv=none; b=IXw8MEBAYj+j4kVYEnPLS3mTdCUHxW4RWo65sLsj/eqJlvkOsCNPUBuxocDDFW3bp/23OvRcm2dGDUX528Gv8Od7iPjv3X7dvNQUY5IqlZ/k6WPKy3XxcNsao975kVNWOMbKc5mhB9/dtwAPJmkgKZnRRWlglAB4i74t/ATuMN4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716216858; c=relaxed/simple; bh=IGoXuzhEewN0WiDN4wZvChE7YzHTsgmvn+wDiFNDyig=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=o39ChTtvvhn/3wC4g7/+zhTvZDPhGMikocpgNW25wxpLLWnKU0TgEIJfrC2fi/tFZVPDe06Mcng8Utnk2k5N8r6vRyfKPRpfdz/vdt0/KfrgcDfR88MtmTaD537/gmBwSSdO1WSZmyl3DxsvfMaknMl5/TTwHnEAgKGo0hAk/Uc= 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=kW7+iekB; arc=none smtp.client-ip=91.218.175.184 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=1716216852; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=w1h/xR/QccO1Eert9Isb8A9fPFsSylLSp7IZB8Olt3o=; b=kW7+iekB97Kle4UEBLetMFA3K+gkpRyBCG/sZ/6cu0q/OnlA1xFFy5rWIkbPl1IDdHw+jt 4gcGqSKezSkT+0Ao9p5SdkoXYwBk7oAWfsLOjJuxVxKwuZSOCqy14v+P+OP6ETqR90cyqB 0s7adWTxfurczQZ3O+2hPPePUZAy39w= 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: bharat.kumar.gogada@xilinx.com X-Envelope-To: bharatku@xilinx.com X-Envelope-To: helgaas@kernel.org X-Envelope-To: conor+dt@kernel.org X-Envelope-To: krzysztof.kozlowski+dt@linaro.org X-Envelope-To: lorenzo.pieralisi@arm.com X-Envelope-To: michal.simek@xilinx.com 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 , Bharat Kumar Gogada , Bharat Kumar Gogada , Bjorn Helgaas , Conor Dooley , Krzysztof Kozlowski , Lorenzo Pieralisi , Michal Simek , devicetree@vger.kernel.org Subject: [PATCH v3 0/7] PCI: xilinx-nwl: Add phy support Date: Mon, 20 May 2024 10:53:55 -0400 Message-Id: <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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Add phy subsystem support for the xilinx-nwl PCIe controller. This series also includes several small fixes and improvements. Changes in v3: - Document phys property - Expand off-by-one commit message Changes in v2: - Remove phy-names - Add an example - Get phys by index and not by name Sean Anderson (7): dt-bindings: pci: xilinx-nwl: Add phys PCI: xilinx-nwl: Fix off-by-one in IRQ handler PCI: xilinx-nwl: Fix register misspelling PCI: xilinx-nwl: Rate-limit misc interrupt messages PCI: xilinx-nwl: Clean up clock on probe failure/removal PCI: xilinx-nwl: Add phy support arm64: zynqmp: Add PCIe phys .../bindings/pci/xlnx,nwl-pcie.yaml | 7 + .../boot/dts/xilinx/zynqmp-zcu102-revA.dts | 1 + drivers/pci/controller/pcie-xilinx-nwl.c | 122 ++++++++++++++---- 3 files changed, 107 insertions(+), 23 deletions(-) -- 2.35.1.1320.gc452695387.dirty