From patchwork Mon Jul 29 20:18:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13745675 X-Patchwork-Delegate: kw@linux.com Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2068.outbound.protection.outlook.com [40.107.22.68]) (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 B854E1891A5; Mon, 29 Jul 2024 20:19:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.68 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722284391; cv=fail; b=dD9xhvzGb8zt68mdLoQ/3X2wWqF/GCjq2g7sJTJVydiWUDkwcvbRhWbzjHAMYL4cC26km/pihnbOsQJWp/+AONIeow5bdlX+VyaWOYiI8pKUswTcbQLKQaymjTf63k7owQEQn9aaklFaDSz8iEAEkBjay/LFJV8NS65T1XZcTbA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722284391; c=relaxed/simple; bh=KdZlyCITxZcXwj6rdScVn7jTqQq3WgNb0RtEfw8b6tA=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=tK0eF2FKeWICM5vRbcl++z3eKBxl7C8Y02KmxHCUFahl4DKymEwpvT0mJoLs3ZiNCJ/PW3V0M8PUMbCSwbcv3cWm8GDkiW4INTW4gHxpD2kh8C8EvtogPoLVXVjBzamnzU6l+jNcJ4QqlpCggz6df5trL/UrJN29fRBrIJA1B5E= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=ai5Wt+cs; arc=fail smtp.client-ip=40.107.22.68 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="ai5Wt+cs" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WEaDqVT4iLB/A0Mka09DZnalNfOFpLkgmauLGyhWvZMs9IQSqwBawtPqDJV0LN+1ICRv9gI1SFfuKNibLq0ij5UQoxlQU9qinPUBswLTQME2c+abzNcvNdTmCZQ4O/A43vg3lJBy733x2WbRDEgQ4kn06RkqdZiofcrBjc8cBxg5Av6/xT2GpVSYSeY91rxjxpedwnyftUUshGMLrwDatUJxKDuiLf0YL6CPHrHudTSbyHZ36x2k36CYPi+/DxGjspiFcMXji7GOEa2vjS2JtdZTDIT+PG4n0ciHPaK3zcYRKgij4bHy360nKpd9Zgfi30Rso3LWu6GOO06XJBC/Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=r2iprTHuLx7USQWsCBZ4VtJzBtVOi1XxZNwYrdt/NJA=; b=IIjWtwzLW8BnEoambqFpY/GMw4AwFv7twHxLFp2O7vC0hiWZTVbad4Ip4wJx/Jy5WirGJ1IK5k8Th7zinu1Xky/h3iAB24pffb3LX7c9QlWMl9fUACIuVWX5aSyD0Kqfp+yK/rBTGiLRAW32koMMAIUFGG7q6ubXpAo2pJcWWnofWvbjfNLaNmgz8KyRJBoMLzehH7GDEEavxHosGOkmqH6oktNTYVcLuu4BpwAznRt87zIQ6x+v2EC7213O5b9Z2ZOIgukxdNMP2aeP5/UpOqbdbHx5Pwk9EA39wOHTTnBsMEQ+zD6T4rk8Vhh2Vwtstvif9ptXoJjNPtql1VWGsw== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r2iprTHuLx7USQWsCBZ4VtJzBtVOi1XxZNwYrdt/NJA=; b=ai5Wt+csG1vGfdP5IluEPeqZA0nYgKnLyS7iUtvoWxUHcu5AM940eLsMsuaYsQBX1o917g4bjP6SH3uPKYX20htxi6Ul6R87fGdOnFluZuREZIyIhGPoBb55GJbgCWe7Jl93pXqzPX3nG84PeXlFl6Mz8d9H2ghpioIFVgd9AuTuoJTSn7wuoxh9aO7oYqsSRoA4+uMrMh7+2mHR4iu4XKNUKZzSU8ad7MifV3iusUI5uIK78xs2obc+OoXSQKt9M9LpuZu52calV1E59eeI8x4hlikGhs9TAApW0NqnxPnSCtcRrI84tjsVFOvC1cXBu89SSSMihbnpj9DtOyDGNA== 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 DBAPR04MB7382.eurprd04.prod.outlook.com (2603:10a6:10:1ab::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.27; Mon, 29 Jul 2024 20:19:46 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%5]) with mapi id 15.20.7807.026; Mon, 29 Jul 2024 20:19:46 +0000 From: Frank Li Date: Mon, 29 Jul 2024 16:18:18 -0400 Subject: [PATCH v8 11/11] PCI: imx6: Add i.MX8Q PCIe root complex (RC) support Message-Id: <20240729-pci2_upstream-v8-11-b68ee5ef2b4d@nxp.com> References: <20240729-pci2_upstream-v8-0-b68ee5ef2b4d@nxp.com> In-Reply-To: <20240729-pci2_upstream-v8-0-b68ee5ef2b4d@nxp.com> To: Richard Zhu , Lucas Stach , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy?= =?utf-8?q?=C5=84ski?= , Rob Herring , Bjorn Helgaas , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Philipp Zabel , Liam Girdwood , Mark Brown , Manivannan Sadhasivam , Krzysztof Kozlowski , Conor Dooley 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 X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1722284317; l=3899; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=FeU0M7scoVtlq9n7CVtHi+M9qoXqi9J/fKpHzWWulhc=; b=ly3UYvzhU1A3G+y1qaOQQb5qwRHB3R/VA6CXczl0nDpWHA7oEfKYTPsH5ivFHu2OdMjqnDXR/ Yosu0/a0icZDq1BnkWMMwJQDvdkObthOSZvfuGzZiXgxxBpOTk7hxoJ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0069.namprd03.prod.outlook.com (2603:10b6:a03:331::14) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DBAPR04MB7382:EE_ X-MS-Office365-Filtering-Correlation-Id: 0997430e-39f8-41f3-f562-08dcb00bc9fe X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|366016|52116014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?J2KKce9TVyluVe4VmKSVe10NBsab7If?= =?utf-8?q?Q6L3zV7HOI/PUbeodOMVfPtp0djCRc7JUusl1dnxWPX5fUJgEH4fIYO6FMDwXKd3V?= =?utf-8?q?sIkXHZNUw/AXiXyJLoS47+C9e4GkbsTd3+jA6mAL3z4/vdV4XazZbRyOQwqOj2Ps7?= =?utf-8?q?kKyP4QFbCbDErDJJr5hfEcwpywsy6qOSi1dWG5TE+jZx9oi8q2XnYnmyTPuZaOWit?= =?utf-8?q?S/5JYAketfIOajH+yjagdOeypcktQPazggt3BFdKf+fZg5Cpv8QOj2qTYTNnaIaXd?= =?utf-8?q?u77T4v+Oihb58t8znavpa4GQdECkOZmMVFd2StwIB3CEyrzP5+7On2n2HToQfBOus?= =?utf-8?q?HCfsgYZ0UvXJZDdgVYfdJCFZbWqs9BO9ZJP3o0vl2nLVGDh74A0io/XXguDwDYV3M?= =?utf-8?q?Bz3hlvzDzxach1fTaDVf3kmSMi57CaTSOWlP7eEN/K7xsktwv+XTRhhcHXJG2PsuS?= =?utf-8?q?l/CHq3IdWudnVr5nkIMKzk9IB1SgPhuzs1LfW2lzhX0j/HBqx/aX1whB5DcRgAKrU?= =?utf-8?q?7X2JX0tX43GfpGhsCKYxPDPwQHFOwndkOA8oIRxZWNfjFkju7qPWRxyMPSITlBCaV?= =?utf-8?q?uhkgabC+oYTvIhfxJWTjJ4X0+ILhca/FpyS3+Qw+BhGk3CEr0vgz1liB9YfpiTqjE?= =?utf-8?q?DWDvA38TQbTwY3/2iJh+BA0ZBRPASYB/4Q5pauB848v2dxIuCtgURekpTqEiWOsHI?= =?utf-8?q?RC19I0xLOv4By7QtHEB88InHs1uu45yi5me3OQJ4LW5i4YfM1iqD61mEPKAZ11urb?= =?utf-8?q?IMFUiWQj1Xh1ld8RMCzijWUcDZneJjG74eAGnZ9RLMGgUyaIMi1uJ5oPcY94x1/JZ?= =?utf-8?q?9Sofa2zkZ2e5eEQ2DFWXWnmpw65hO6yZe3zN2u7hVyaU6dFYAyrc0aSQSY1T3qUvG?= =?utf-8?q?cGz9xvkYSACPFjOkMqYwyiqYMKZ828L4Yq3y0ueNOLHa1Fs1+BakpyLgMFFtw1toh?= =?utf-8?q?aeW7ypgMqz3nglQf3V7Mxs/OwDLf0gP1yWl6nBPAuxD0tKatOosy/Lvu1J8zaPy4y?= =?utf-8?q?/iyem1mowHv54Lo7P/Ahe/Jhlyi/5bSQGy5TqGrHuX3Ei0h33byTAfUzhbusJJORn?= =?utf-8?q?gWXUEuxXpv9B3dRKXCC4Rn4QQWTLC5AM95xvHGiv30KoyYRpuzabCgHZilYR5Goqj?= =?utf-8?q?SxSSiaOvVPgHqGk+47hRquouMc0KFx5d1YpEq8Mp4xd8AQuu9p8UH08kUQzhJvlia?= =?utf-8?q?WpkO1aq3Y23edJnnHEfxdFaZ4kUrxjqxBorAeh5gOPI2+4PrET/h9RZxPJZTHoqf/?= =?utf-8?q?3IHlLfEfzXXbl5ia8mN6nkIIjei3dTCTIybsBHNefxuQLTUT+eFlbTp4ehlYMl22n?= =?utf-8?q?fK+aMkBavKkW+MKEXAi/P6AlMcyqKPOvRR4f/O0nsv1tlrA/w6/+w44=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)(376014)(7416014)(366016)(52116014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?1rWbNo16hzWFnMT89nqRtD5gl0RQ?= =?utf-8?q?kwnp/0SptA3gFgtIDybGy0+mWz7Oldf4qI0Vlgo3Igh0+knvWFhHesdJRWEcGe60Y?= =?utf-8?q?rZNmXtAk/4gK+7orrZhREMZY/ucynmB3XLk+nwuyJz/hNISmRIZsrUdSIA5vddgy3?= =?utf-8?q?pUiQCnVL5+p9pYsGJCUYLox8hsBcAoj9sThAZfDWo7eBWNbShjAGcIaG4d5gMLS/l?= =?utf-8?q?py5U2Or87kzS4JPKye3d1ad1XbHtd1pavmteTFjo8nRQzZeVwa1jHBHbPo1iw9DR7?= =?utf-8?q?6QCMnUhZ3a5fKyBA3sk1XoOAA3pe4gx0IMv5lTRj3Ecnyk0T0Ux70U23CphFM3SRH?= =?utf-8?q?uUImoRWc7epYskMCqAQO4m4FQzK3Qt9KzTQ/z+Q4GliXJuBh0t9iTMdtWkxWXlDOC?= =?utf-8?q?jeOla96CvZBwrfPcAWB2p7XVoeBYp+DfkicQzZ0N9Yuf/uRyby7jOB1rhYWVMbjpJ?= =?utf-8?q?TGM6xb/r1wq0okK1g5N4kSSApLzMeTCLdUF79tFldAqMxsRypVB3e9xC2Q7e8H0JJ?= =?utf-8?q?o1YbiRyPGhaZpjzp8lCunEPrdTqP931Lw8NGZE6qks8/vCNTtlSCrF/HVe5zwXUXS?= =?utf-8?q?1hlzSTR4lV3DDXC3Hd4S//GwaF6g9WcQCDv5hFt3bLFH8JAh6g5zJCEUQWD9C2RA3?= =?utf-8?q?FRshSy/zgvGDQricG5Wmdlo8f8ujHS8L/qnp4OZaz0n6PoKIMYSi1pGBGuEzx/ADN?= =?utf-8?q?0Kfj52pKKtVOruKJt9ZIdTr4S/TaK4hms3XGv5cTBXKowp0czgkW6Bl1wMq0VeT1Z?= =?utf-8?q?MXPeJtvIfTLJky7lxV/YR2uM0b/tzysOzyg2SseVwtNAGihBfduyCfLt/9q6y6BMt?= =?utf-8?q?21lkHdMoL8gz7W71tmEahgjA29gv4cPAFZBP9Tej0p6KmV5aEbGy2fvVhoFodXOlu?= =?utf-8?q?DfGPszsViGHq0YSbINuHYJAQmfCF+kx+7yNjAnjdwRBfKfAf8zw+4WQeXsnEGiPjK?= =?utf-8?q?TUglWsE4FscY2N2S30zOEgLO/BnNqZY93eFS4RyIpJXV+0VAj2fCR3KVEzDacGbIX?= =?utf-8?q?tTT/y+7ozURv69SbNQw5M88fSgRrsGFCvaxnE+lSVwCHw4n4PxvptaobQU4ajholI?= =?utf-8?q?7B8j3Vd39sqZU3wGZDx070Czw1cMEzQxIuXu4wFBJlC16mBlEzfnMtY6iwu27qYoV?= =?utf-8?q?fHY4b9Zhu5BdGg7y5N4kncRlAMjPk/GpxaNewOrYjCYl+s/VcRsJdrGdyorwgp/en?= =?utf-8?q?Ps40PAG+yrsVH8+Fyz4EWLNlFXPNYS+ZkOH+uQCED1lwVUluEwLF8W7S6wECTmwm0?= =?utf-8?q?azYPsZWECbjA3WqkpkJlqClDNz0GLFQ6kO/O3Yc+iGSM86/6Y8M4VF5YJRuyVPT5q?= =?utf-8?q?MxMchryvrtOqmy9LxIOKLlJkO9Z8HyEXYZsjKBuuBl5jmQR/3Sg5jrKsb/xCL0YbB?= =?utf-8?q?AdWIat6DQ44LfMgsnCP0emUTYoA0BslTQ3YaDTFpKZ2ZfjJSv9kRWxBD8aIbu1iex?= =?utf-8?q?hNQlCWE3PFbXrbcGW3RpJRYzQuoYvJdMD8kEvb5iTgTyAH/TxeDiUHgbqiE/8gptg?= =?utf-8?q?O6G1aBDQHxXD?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0997430e-39f8-41f3-f562-08dcb00bc9fe X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jul 2024 20:19:46.0696 (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: XWmMQG3yh4r/XtOrOvrLZdsdOe6hFUKnwl3beQoUjpTao+jf+gC1VWjGryUjPGcV5Rdw3yHD6ixc8pWS+D9kQg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7382 From: Richard Zhu Implement i.MX8Q (i.MX8QM, i.MX8QXP, and i.MX8DXL) PCIe RC support. While the controller resembles that of iMX8MP, the PHY differs significantly. Notably, there's a distinction between PCI bus addresses and CPU addresses. Introduce IMX_PCIE_FLAG_CPU_ADDR_FIXUP in drvdata::flags to indicate driver need the cpu_addr_fixup() callback to facilitate CPU address to PCI bus address conversion according to "ranges" property. Signed-off-by: Richard Zhu Reviewed-by: Manivannan Sadhasivam Signed-off-by: Frank Li --- drivers/pci/controller/dwc/pci-imx6.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c index 91aab0288fdcb..4928cea05f6fe 100644 --- a/drivers/pci/controller/dwc/pci-imx6.c +++ b/drivers/pci/controller/dwc/pci-imx6.c @@ -65,6 +65,7 @@ enum imx_pcie_variants { IMX8MQ, IMX8MM, IMX8MP, + IMX8Q, IMX95, IMX8MQ_EP, IMX8MM_EP, @@ -80,6 +81,7 @@ enum imx_pcie_variants { #define IMX_PCIE_FLAG_HAS_PHY_RESET BIT(5) #define IMX_PCIE_FLAG_HAS_SERDES BIT(6) #define IMX_PCIE_FLAG_SUPPORT_64BIT BIT(7) +#define IMX_PCIE_FLAG_CPU_ADDR_FIXUP BIT(8) #define imx_check_flag(pci, val) (pci->drvdata->flags & val) @@ -1011,6 +1013,22 @@ static void imx_pcie_host_exit(struct dw_pcie_rp *pp) regulator_disable(imx_pcie->vpcie); } +static u64 imx_pcie_cpu_addr_fixup(struct dw_pcie *pcie, u64 cpu_addr) +{ + struct imx_pcie *imx_pcie = to_imx_pcie(pcie); + struct dw_pcie_rp *pp = &pcie->pp; + struct resource_entry *entry; + unsigned int offset; + + if (!(imx_pcie->drvdata->flags & IMX_PCIE_FLAG_CPU_ADDR_FIXUP)) + return cpu_addr; + + entry = resource_list_first_type(&pp->bridge->windows, IORESOURCE_MEM); + offset = entry->offset; + + return (cpu_addr - offset); +} + static const struct dw_pcie_host_ops imx_pcie_host_ops = { .init = imx_pcie_host_init, .deinit = imx_pcie_host_exit, @@ -1019,6 +1037,7 @@ static const struct dw_pcie_host_ops imx_pcie_host_ops = { static const struct dw_pcie_ops dw_pcie_ops = { .start_link = imx_pcie_start_link, .stop_link = imx_pcie_stop_link, + .cpu_addr_fixup = imx_pcie_cpu_addr_fixup, }; static void imx_pcie_ep_init(struct dw_pcie_ep *ep) @@ -1461,6 +1480,7 @@ static const char * const imx6q_clks[] = {"pcie_bus", "pcie", "pcie_phy"}; static const char * const imx8mm_clks[] = {"pcie_bus", "pcie", "pcie_aux"}; static const char * const imx8mq_clks[] = {"pcie_bus", "pcie", "pcie_phy", "pcie_aux"}; static const char * const imx6sx_clks[] = {"pcie_bus", "pcie", "pcie_phy", "pcie_inbound_axi"}; +static const char * const imx8q_clks[] = {"mstr", "slv", "dbi"}; static const struct imx_pcie_drvdata drvdata[] = { [IMX6Q] = { @@ -1564,6 +1584,13 @@ static const struct imx_pcie_drvdata drvdata[] = { .mode_mask[0] = IMX6Q_GPR12_DEVICE_TYPE, .enable_ref_clk = imx8mm_pcie_enable_ref_clk, }, + [IMX8Q] = { + .variant = IMX8Q, + .flags = IMX_PCIE_FLAG_HAS_PHYDRV | + IMX_PCIE_FLAG_CPU_ADDR_FIXUP, + .clk_names = imx8q_clks, + .clks_cnt = ARRAY_SIZE(imx8q_clks), + }, [IMX95] = { .variant = IMX95, .flags = IMX_PCIE_FLAG_HAS_SERDES, @@ -1641,6 +1668,7 @@ static const struct of_device_id imx_pcie_of_match[] = { { .compatible = "fsl,imx8mq-pcie", .data = &drvdata[IMX8MQ], }, { .compatible = "fsl,imx8mm-pcie", .data = &drvdata[IMX8MM], }, { .compatible = "fsl,imx8mp-pcie", .data = &drvdata[IMX8MP], }, + { .compatible = "fsl,imx8q-pcie", .data = &drvdata[IMX8Q], }, { .compatible = "fsl,imx95-pcie", .data = &drvdata[IMX95], }, { .compatible = "fsl,imx8mq-pcie-ep", .data = &drvdata[IMX8MQ_EP], }, { .compatible = "fsl,imx8mm-pcie-ep", .data = &drvdata[IMX8MM_EP], },