Message ID | 20240708-pci2_upstream-v7-1-ac00b8174f89@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4264EC3DA41 for <linux-arm-kernel@archiver.kernel.org>; Mon, 8 Jul 2024 17:09:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gV08PDInB95HNGYt/mV+eg3/3PupCSil+Z3uzpzZ9oY=; b=xdgLKQsGGR9jqriCDTe4MJ50LP KiC4zs0IED9JMvYlPX7rTYb7nnK9MgLRGSjGInViG+WCbGlmUoCfIh6Ae6XJwh//W1BZTA8rC11KU FR/LPYXHNSshC6+9GgsCq2YMRiUP4ZgDHn+c6RHrlGonFM4Tr9TR3NXmEP7Y7tE0Cbr6WCySZ4b10 nhpKdcZssG/4WEo/b19zOoeQBHn70YHe58QnuRiDbaVS/4Lz85gYoK/p1CrRsRqOAj/J5Sl5PFfWO wy2jl5ZgwIiAjtG4k7yfM/pJWu6lbTNoYV4UbWiljfZmwI79YI89BhxoBMFNn421MbFLItHqHdSIi tDQd+qyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQrrW-00000004XYW-1z9P; Mon, 08 Jul 2024 17:09:14 +0000 Received: from mail-northeuropeazlp170120003.outbound.protection.outlook.com ([2a01:111:f403:c200::3] helo=DU2PR03CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQrqt-00000004XIX-3IWN for linux-arm-kernel@lists.infradead.org; Mon, 08 Jul 2024 17:08:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O2cVksMZaxqj25xj8gxe7z1SdCYDFkynWbE8Wr3Up0ba9lCh/CR3gkGWjH6kLdg3pXl8JHktaEKTdQMmxVnJKJA9vjiQs6epLEkKjA4IKNNan9ktrxBy+lMsXP077a+hIfpgp7zyoVC1XsutIL4L5IU+E+t0Gn3X0HRpmNCPuWEV+pLo2B/8i/MntJ5npdhyrplVIE07zDsaFVRcrSJAc3mXPIdQyWI6r2/SE9gTz2dkYAPLsVUOoU+yAW3TIIzf799ekL13i0P9vGeJ2gFNoD3DCcIWXetfo8S+bvtavl+jTuQFYiOocK/sjV5r+CIg3VScJOJqkdY3q0RJTtFPug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gV08PDInB95HNGYt/mV+eg3/3PupCSil+Z3uzpzZ9oY=; b=Toyixv3dt8P/j5K6dVzHv2cjbAATyXOF6CkTlBhBoIB3YseC/fN3L5wqp5SUn6oi0/Co9PZe4EHH6VoxM57ypZF4QIwNXazFFVg7Eg4kjr6LO0V3cqaoIC7JM5lwizfovFQsZJoE4fMfC7coVrVJh+z9IWNg0XgsntRfLQnSlzYez1ycNh0scCM8t+HcBSyfo4eGt9uPi7EiojCq2ZoVbiB6+LJhgPbIafCnSbojzA5wtX0m/UxU2jo+3grP2/NRLI+ae6yxwL7Ag7Y6q9yrRp7RZ4LONnOqCcq1EXjOV6QF3v+OAImDECbxpP4NxGdl4OgBNGucveoYbpqC8o80AA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gV08PDInB95HNGYt/mV+eg3/3PupCSil+Z3uzpzZ9oY=; b=ET+EdSC1KwMqp6IxNRnmwiRit5f00tY9FLzd1bpJGI9PMWLaEvPiOQnfCLtHLRJaSqQu8ghL6UMf8L/x4QOPZxWfCgzNI/YNI2M2Qb7+tc2CUP2CyPraU7+V1vfVmFySl2jOTgC33/Hk+rSsgIkWT9Zv3MNTzY3ZljCn43BHk34= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by DBBPR04MB7867.eurprd04.prod.outlook.com (2603:10a6:10:1e5::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.35; Mon, 8 Jul 2024 17:08:29 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7741.033; Mon, 8 Jul 2024 17:08:29 +0000 From: Frank Li <Frank.Li@nxp.com> Date: Mon, 08 Jul 2024 13:08:05 -0400 Subject: [PATCH v7 01/10] PCI: imx6: Fix establish link failure in EP mode for iMX8MM and iMX8MP Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240708-pci2_upstream-v7-1-ac00b8174f89@nxp.com> References: <20240708-pci2_upstream-v7-0-ac00b8174f89@nxp.com> In-Reply-To: <20240708-pci2_upstream-v7-0-ac00b8174f89@nxp.com> To: Richard Zhu <hongxing.zhu@nxp.com>, Lucas Stach <l.stach@pengutronix.de>, Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy?= =?utf-8?q?=C5=84ski?= <kw@linux.com>, Rob Herring <robh@kernel.org>, Bjorn Helgaas <bhelgaas@google.com>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Philipp Zabel <p.zabel@pengutronix.de>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: linux-pci@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, devicetree@vger.kernel.org, Frank Li <Frank.Li@nxp.com> X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1720458497; l=1527; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=ANVarESKV+O6tlN/FaWd8tQfK1xN7/HQ77vO4gvZSgQ=; b=1IZKWaqEHxFdmX7g8K9hpBEVn4jluQEzZh/gw7sNY9OY+4CWjTi0yZKS+m18CnPYkR/XEjasO YSwPxAmbeqlBAMUpl+xf4HuEXPNxZt5QRGY6Xt8XEzZrpbUn6ZqgmBK X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR13CA0198.namprd13.prod.outlook.com (2603:10b6:a03:2c3::23) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DBBPR04MB7867:EE_ X-MS-Office365-Filtering-Correlation-Id: 998b2198-f93d-4e16-6556-08dc9f7096b9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|52116014|7416014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?LIagYC4h6WFCixljBU1tNZXM1DC1XFI?= =?utf-8?q?ZBiS+BxvwXPy8VfbfLlOrb3lvhewj8E1C2aynuB091t5+SeLdvnI6ct/WwhR1iQsc?= =?utf-8?q?8WmQQc+De7cFTR7ciDQ5UnyJJt4oGW/dfbB378583E8kfTut0oj1jwfIzxynEx2Sy?= =?utf-8?q?H5sWwdJqLAOA6ApmYHXSPBXv7/2gIXzUUn6QWfHOMx8jO7k68UDMlq3Nmmy/x47np?= =?utf-8?q?ueGVUMr9FwG0CaADNsO26qOdnm2YXH7Oah6I+5UwOu+6LaQiv/UGiHvXval9uhKX1?= =?utf-8?q?gfXQYizuNCiHMv0kLBgVw8FcyWLA3lBCFKpWV8TeRreGS/ylLJ8z0RIhEhVE6sy7h?= =?utf-8?q?Wh+FIVQXTkcYCE6RnTrLjsGZZEFGN2maDWLgvqZLvCK2bIwmOmRZYbkM2YnNqLo7a?= =?utf-8?q?/kBVzyoRXghoRJJXnd3zME1h3TX9zc80kpJkmj+XiBtChQOpVsaLDE//gtk9mQirZ?= =?utf-8?q?p8Se/oY3rfhCB/hWc6ghkaSVqrkRCaE00yctmH2Gb3xJeTK5m4d4xsy8gVyvjW5+B?= =?utf-8?q?n7WXIyXzsO3nrjmINmq1PKCYJFSJE1uCrqgdbmEqQ0/asfGPmLWvTc8QI9ucuI8SL?= =?utf-8?q?mIoZN0H8vb+ND+QAYnyvb7kpDrXSwGW9NMYwr74mw9QYZlqNtz32+p6I+yd/8S5bI?= =?utf-8?q?m8FZnZMYWTo+cMAcV/QHW6tQM4qoNqxkm95F/zqJcLFijeYG1k+gEBk9jAZUBGppu?= =?utf-8?q?/9aSP4gWb7pZAuYugYlvXq1qYZ/LSnEw8wstnxbaYMhcbyUEy+5PoPez3ZCsxoGiO?= =?utf-8?q?wqLAdrP1Vt/2EGmcH1DHNYobP+eNBrfMukelLUzHy/VUEdrckpnK87YGJ6qKFC3HI?= =?utf-8?q?t05jLexBicv6rAU+QdX87p3u/L6lu3V3PpKRQYcGcb83dPFkWhoFwW/ESHETOAdf8?= =?utf-8?q?EkMaf863tmDqubQnjVGSkFt31mEgA6Edha38LxcRLN/KRDhJxiOSTs2ZhL8v6eArK?= =?utf-8?q?O1oxYctau5P9F3JfkdpWZmwUq54eRDATsZCwaynZWxs9W8TCGxRBPlFuHtg7+6Ef6?= =?utf-8?q?ByYERP7ZpIPcmghfkM/HWkXKYIrh40I6aysafrweEwd2gEYnyVABV3jUNU0k0tgMJ?= =?utf-8?q?b9cSIjzJW7e0QdsCnGHdLtRarDQzYSWbRuyjTCVCtsPY6SdfL6DiVOnwtNazImzTL?= =?utf-8?q?1gV0aImpxLL6K9mid/EynHLtfj8Ghiks1+IH8I4ZG1WuFqSaXbwWNcX/D/i2mKrIt?= =?utf-8?q?POpKmIczZJw9m6+E4ggnZ0Okw9fUEc8CD6Dm3fZ6OYFnabxx9XAZn61ASYpyvyAmK?= =?utf-8?q?vJ+GfvU9fEL6qnm+6x8vedqymG+x06ipvK9pu1QTPa9f2YwzULEGcdg/1LSW9SHSc?= =?utf-8?q?WtKaPKlnHo49yo9iqlFagopRKbfusQ01Mi59l9ZHCX2JgRKSgIqMwRk=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(52116014)(7416014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?dkmxei+UZSRr7ul/brhBCLctseKA?= =?utf-8?q?2CT6oSP2E49Tp5LUY5u4Z+E9pd5d6crpnUl6CwadmcCGkJYfSTqAx/uAepk1ErEo3?= =?utf-8?q?a4oCcHauRpSjA2SLv8O165fqUdOk7Jbxg0eMJZV7bn54vfns2Xqr6htZkAJavYQle?= =?utf-8?q?QZWLPYGKYpeAH1UDTQw+8Mz19ddmNfZRyEr9HyzyqjfUmFZGf+sPHX1FXC9ASIzqM?= =?utf-8?q?11gbe6Vv7X05aW9gjKPbYCLoL5OKa1bpyNGrm1VTiLTldEEQM58koM7S2rkERRJ/b?= =?utf-8?q?nbmZWaHl0yrfBDyeKZbObfseSRU9USvlY/NDE7hrWxSM67LehyJr6qE8HhZpZxazr?= =?utf-8?q?tY9204n9wfDphYkvqTUOl3PC+TYPPDauTZzSEjmu4KMh4vipnQn0oirlufXJT109I?= =?utf-8?q?2dyls0OgA2zypJ5LuyvtnVjhvt4cn9qvcFvHXzBBu0iDaZEreMQ4oQDcXwOgBDut8?= =?utf-8?q?bL4+I+R7P/FPz7HHqRVZM4VBKnUSnH4y1iBABMNcMPLszC03Y1KCuaAJsTjVD3xMY?= =?utf-8?q?RLPOCChm+i2/n12G2wsZlW2ASDu5MPcycHyPkmrlQVg+VOe54j29dQlarlKZLUx0g?= =?utf-8?q?NCJon8j4Vpo+tl/9vYT+WQ6XTgMejhKuzKfowPrPuEUCBcezh+DZlqlmgzgzL/89J?= =?utf-8?q?tnIkuRAzDB+Q7udSt289Ns/JLn3q1YOJO9SsdB/YP+f2MyzlfT+iZ1Re4n2mC7ikO?= =?utf-8?q?LNSP4HsIU2NGz4P9fST7CTke7xrZIMsOQ4WQEsJlPcpYrOXGBdPu2j0U/3aSYEnf4?= =?utf-8?q?283Vjx/0Z4z3B7UGfVPXZg6Zvwq70IIO9gKcPNafg36TLXTTuhEnw9/NAggriBDfz?= =?utf-8?q?JMWIH6HBNxuAp4iKFSdaA0AI9l7N7K4k/NnBaHSusIQhK0kuiT0M54xqPk20hOKsY?= =?utf-8?q?A53MuHE8j3higTuVx+xT0Xk/FW7ic+c9zRKp9+ZwJ5l6a1CKKVfUok1njyZFrJbEX?= =?utf-8?q?yZ7uxA1MAmhwLQp6hX/4sCMC4xVVrSRwmWm8zhnbycVCT/23vz0Jbn25S53SRZtFi?= =?utf-8?q?b3mXd1ZX7Ke+zUtkF4/LiXTcS08/Qaxr/15Ui7v5E0sPtdfeM5MoPJW6U0Bferkx3?= =?utf-8?q?L68DOWnVLeoTqwiJsq43cYFyGejS/fTn2Tr43+eGlaZLlDE29uTjwPuok1ldka71l?= =?utf-8?q?hQoKkxJEfJ6cW+fiod8sZLEi+f+Eqz2TUS5wcr5xXsJfsFBrr7yMUltTL6XDFiGq7?= =?utf-8?q?wuix7zeDQpFzeBTlJGWBYv4yEFdk+TU1o37mAIhLqvhWSPPfJ1XQwn5LjpwMx6WNr?= =?utf-8?q?dvZ41RWe+ZBx6rp84Iij7POaHXPhd8S42Mgw0GwJo5hVSi1xYhonOzjx9N4I6bmkY?= =?utf-8?q?e9TqVL1g5HV+hzZdh2SBmpBZJS5A89D/ec6Zu/wbYekSlaZCTGc0pQ9+VzS4fZD/7?= =?utf-8?q?AURgi61DSMOdidvOw2POLzZesd9IvH9VM2QaPQqih0ggSWGvSBAL7GyfXlVIdrbYK?= =?utf-8?q?Bj1jQGqK/iR0DEzW7Avaw/xWNNU7YQ95vIljaZSmMC3nvYQAwQGS2gDI=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 998b2198-f93d-4e16-6556-08dc9f7096b9 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2024 17:08:29.4625 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2XkY5T7VVNr4rsLXG6gtfc514zFaQ8m0zgC2FfkvSRG8aKk9e3Jn66LXA+Od4/L4cK3hY1ycnaUjACQ/eiB6TQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7867 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240708_100835_874780_5FF3C8D0 X-CRM114-Status: GOOD ( 11.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
PCI: imx6: Fix\rename\clean up and add lut information for imx95
|
expand
|
diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c index 917c69edee1d5..9a71b8aa09b3c 100644 --- a/drivers/pci/controller/dwc/pci-imx6.c +++ b/drivers/pci/controller/dwc/pci-imx6.c @@ -1578,7 +1578,8 @@ static const struct imx6_pcie_drvdata drvdata[] = { }, [IMX8MM_EP] = { .variant = IMX8MM_EP, - .flags = IMX6_PCIE_FLAG_HAS_PHYDRV, + .flags = IMX6_PCIE_FLAG_HAS_APP_RESET | + IMX6_PCIE_FLAG_HAS_PHYDRV, .mode = DW_PCIE_EP_TYPE, .gpr = "fsl,imx8mm-iomuxc-gpr", .clk_names = imx8mm_clks, @@ -1589,7 +1590,8 @@ static const struct imx6_pcie_drvdata drvdata[] = { }, [IMX8MP_EP] = { .variant = IMX8MP_EP, - .flags = IMX6_PCIE_FLAG_HAS_PHYDRV, + .flags = IMX6_PCIE_FLAG_HAS_APP_RESET | + IMX6_PCIE_FLAG_HAS_PHYDRV, .mode = DW_PCIE_EP_TYPE, .gpr = "fsl,imx8mp-iomuxc-gpr", .clk_names = imx8mm_clks,