Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1496251lqh; Mon, 6 May 2024 09:16:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVoUvBJr/v5hjzmg6hrJH74Zo6j5QJM0PFRLnMebt6BXQnwNIzkfpbCWFoEuFWJwg/VMoCaaB8cGRjaEjrNDJdV/wenkr56UJLq89600g== X-Google-Smtp-Source: AGHT+IG5nt9IiffqKco8vnDWJXrzxRgUmvxHzg1KNkkdq2AFfl2cVAOP2QVpNsqugRUYmwA96EGJ X-Received: by 2002:a17:902:ce8a:b0:1e4:9ad5:a666 with SMTP id f10-20020a170902ce8a00b001e49ad5a666mr13589313plg.25.1715012193300; Mon, 06 May 2024 09:16:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715012193; cv=pass; d=google.com; s=arc-20160816; b=ly+EArdBIUKJu4lE1PEm++jLnHgwnzFRUhlqznR4U98zjrfxls9FcDGAnHsq1JIvYm vRYEWwUmjQXaU1xTmDQKZPLKIF4/AKJfLSusPxG9KPsWhr1jypqS3yxmE1iXjVQWmJdn L+Cx5FAnECF0ORQqZ/N1MPNyYC1NTTROOqbBXpDAPpoCL/K1mZLtjCkSO7XVjbVX8Jr8 sbMkE4eCRpANNzm/veKGt+wJs31+eaueBbxeXgdT4hLPJTTyQZt/EmhcOvUZi5qNVc0o DoAdNinr+dPrBU3JpG4l+QPQlSXIhWBbl9sf6Uuz5rHHgl42470UA++lISRF5W95Jcj1 e2QQ== 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=Zk6JjhRnqU1NmKpybqytM3aM2SwJvKpKlin+sUn82HA=; fh=/APIGS3blnfw2kkr7Hp1IpxCMK3l8BaZX/MzlgMwGeM=; b=MZWOjZqMCbd11H7/TTl7CYdkYVATjaW7NBTcDQ/GL0cStlaHFUcpC4DG15L8kC29CX RtaUSBMrYEVCUBs8UOVH0Iqxo4BZHzcbkaPZb5HwwLKPAWdqeIk78cooa3P2pBv8bn1T WBkkrqaJoUjLPUgeSJ9xBAxiGE9LZoA3CB2eiyDAQXB+HxuEVx2xrilU8VLyIEpizmDg 8WOT7OL7RjVktCoI7qmBBOVreKYRYVukZAETJ05v5VGpIpFURJvAXTJD7HxJfQkNZlzW zAGK3ssh4IDmiYmQPt+mlZwz0KPbIlOQcoDNWcoF9Pcpe4m9/bQuEhypbSmWZ+oel4j2 ZO5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="Up/vr0Ji"; 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-170134-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170134-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. [139.178.88.99]) by mx.google.com with ESMTPS id y8-20020a17090322c800b001e7a248eaafsi8648684plg.6.2024.05.06.09.16.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 09:16:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170134-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=pass header.i=@linux.dev header.s=key1 header.b="Up/vr0Ji"; 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-170134-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170134-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 98A94285F03 for ; Mon, 6 May 2024 16:15:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5BA2D41C84; Mon, 6 May 2024 16:15:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="Up/vr0Ji" Received: from out-171.mta0.migadu.com (out-171.mta0.migadu.com [91.218.175.171]) (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 BF6AC155A5F for ; Mon, 6 May 2024 16:15:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715012129; cv=none; b=Q7GF/Kc+jDAJU2haU1pZ7DUTvA2JN4zi7dsohyM/0+oOW74/OxEuxm6FAgP4Bba+iehW0s+fN9iejU6/wTQKRoy3yS/296h7Dx6c+YME6C5aLH75r3hwNfPq2a6sm7EjG+WflUdBEQ8TwQ1hycwtP3+40PNnQp4jySX40avpPFo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715012129; c=relaxed/simple; bh=x4StvqT0G3jsb6RA7+Xmo22DkQ5abGAlNLPCmO3T64w=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=Yz5+HrGdJ9N8UUaYIURHXzG2yu6ehrXxupkxhN3ZA5TROYLIixjm4OnJx1dNIDtRBXQgAnsbM68rcgV8zc20LJwdd3i7iDSKKadlRW8u3Vn6v1TZOQCentYB+1Us6UFZ0OKrj0qS7eErxIPhlrQUlS+/0rhcdhSmEOLFIseXaqE= 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=Up/vr0Ji; arc=none smtp.client-ip=91.218.175.171 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=1715012125; 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=Zk6JjhRnqU1NmKpybqytM3aM2SwJvKpKlin+sUn82HA=; b=Up/vr0JixRmFIaovyg3Kko/RsHgpjL0Xkk5vad4WFpKB55SqetiqHyaNfrINBGWK2Z0DYE AfFEtTmetJEvY27yDAmEvw+MGyZmg/1uoztvJzFUuYtfBmz7ZvkM/8W6O+AD62h+4BFSqS KAgzrJpPyyhhSizzVLpey17ApSvBAeY= 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 , Bharat Kumar Gogada , Bharat Kumar Gogada , Conor Dooley , Krzysztof Kozlowski , Lorenzo Pieralisi , Michal Simek , devicetree@vger.kernel.org Subject: [PATCH v2 0/7] PCI: xilinx-nwl: Add phy support Date: Mon, 6 May 2024 12:15:03 -0400 Message-Id: <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-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 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 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 | 6 + .../boot/dts/xilinx/zynqmp-zcu102-revA.dts | 1 + drivers/pci/controller/pcie-xilinx-nwl.c | 122 ++++++++++++++---- 3 files changed, 106 insertions(+), 23 deletions(-) -- 2.35.1.1320.gc452695387.dirty