From patchwork Mon Jun 17 20:16:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13701390 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2052.outbound.protection.outlook.com [40.107.103.52]) (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 76580199250 for ; Mon, 17 Jun 2024 20:18:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.52 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718655496; cv=fail; b=tWm4BM4QR9yFw2rrRZkQSbMzxs8zN8m49VzrOOkkgde+xPB+xn1VLhHnDZv8f6FigcaxtzvxJZ+hDLu2R6UYdT3YBIHH1XDIe/SdsTQkJ+z4v07xP8tBA7hGGcKMgDzsKgkymg9az6jkdkOfWHgXIijRV19Ef1KPsdVJj49IV34= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718655496; c=relaxed/simple; bh=oUE4Xraffo59G2Cwd8H4tTqx6L0ogBtrTELPu1EChAY=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=YrPVMoLbhecbhtutGCATCJ09QgtN1WcVEXZNtjEF7uXU/iK9gpt+QO66EmwdRRSq4Th3F60eqzeOr1xpPKhfueI1AUI5a4vB1+4QrHN2Zpjjzt8UhO/6uPmysprH2w6V+YaL/gV6Q2WH9jgAd+9Mx/5xI/ZzdRTuDPZdi2QEtaA= 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=WPb0E5Bi; arc=fail smtp.client-ip=40.107.103.52 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="WPb0E5Bi" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=miUfPUbOgaE+M0Jd9mJ1tQFsR7bzG30M1FN1DdZusX1S3x5capQWeSi3Dzgm+/158HsKqEqmsGLWMGYBWicjcfAJgc/v1l3gAgJX0eLEEiAfoKo3f2RQYMit7UkuhavFu56+DkDo8/xp9m/8lYNReYoU+7KLu0hd5rX5uif1gOlwBLN7ZT6E+Ef0ckzZli3cdQFjVoArkpbggl4++RgpvGCxvQdNWp6K+uRsypEJTIv7xXPm6lalwAU66Hfo5gn4hW62v1zBBKHjY818jjW5kQuOrCm1p82Bmbv5TENlBa1hvPVGOfmmdGwsyq9xfwSnE5+3ri2SLhfdSs6BlzhE7w== 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=dC7y+lP9FT72dkYcb1wFYmrUmi+o7+nTwO+CyeeNizk=; b=B++CxYH84rmCcUwULqCEN0vfOAYM54VfkOPvyz2Trjwoai2uCRP7PIEZvssQYwv3XE2MySRc2K8szItNDrTPP1P91YB0yvFokBw3kA+jWSFfQMjdgpSQZMIdSUqq8jB3cORFYPme4Pvp3/CING8lTHOpJ8daCmjv7KTdPkA7OpZdu3oeA2FamGk0Lfn/xA0IVja6uBn2Q1OH6fMCtWj066kGT1AHHilohNR0ETZ+V3wqTmDSQkH2hs1Ihicbr6/GeeIHlohRPhdUi0nMapfIFNvTSyB7fO5IeTMzUEpDImx4+c5Zsz/oo38UyiefZBwuki9HlHoYzSBv6uKc1djBYA== 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=dC7y+lP9FT72dkYcb1wFYmrUmi+o7+nTwO+CyeeNizk=; b=WPb0E5BiAC+nF8acv7WB/lLnlNE4X1D1mBpIUgL7cMyjL0bSnY+8A6pRHCJjIBar9cKpVSdsIAnSK3fLGi85mrXzK324qm/YHodl9EMOvj8146/DcX5XL+gydjVK/Wp+xarYFqUTti8sjFhDzCyWiofooqaTxyZpCFhX0Q3Rk2A= 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 PA4PR04MB7997.eurprd04.prod.outlook.com (2603:10a6:102:c9::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.30; Mon, 17 Jun 2024 20:18:11 +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.7677.030; Mon, 17 Jun 2024 20:18:11 +0000 From: Frank Li Date: Mon, 17 Jun 2024 16:16:46 -0400 Subject: [PATCH v6 10/10] PCI: imx6: Add i.MX8Q PCIe root complex (RC) support Message-Id: <20240617-pci2_upstream-v6-10-e0821238f997@nxp.com> References: <20240617-pci2_upstream-v6-0-e0821238f997@nxp.com> In-Reply-To: <20240617-pci2_upstream-v6-0-e0821238f997@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=1718655424; l=4310; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=bs2t+q/XMnPn03SopOxTsr3xZ1eWXCjxU4EhUtgm1ZU=; b=nuwisvUxo56sAGjhNYVjrLNsb+zYdTaBYmKUjoGmQB0yr+t7sVHBh1P63o3bx5jILtqnq6GnK EKu48i1nnXRDd5Ma/6kCUh78xH0CuEA/BEy3MGTSznspk+PW3bnpA9W X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0116.namprd05.prod.outlook.com (2603:10b6:a03:334::31) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PA4PR04MB7997:EE_ X-MS-Office365-Filtering-Correlation-Id: eccbf4b9-5b6d-47b1-70fc-08dc8f0a9c59 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|376011|7416011|1800799021|366013|52116011|38350700011|921017; X-Microsoft-Antispam-Message-Info: =?utf-8?q?n/Mb8kkFi6GWnuyJORqNWAYSMrHWP9K?= =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= =?utf-8?q?AjiNW/DUYTLDNWyBY90FrxDFjBQyVX84ztiQEriWUjBMS1djktWWoi0GXvqymyfLo?= =?utf-8?q?1yXAss8ezKItxjSBdLSBnMTJVKjL+lOjvVkFMMJyDMXnys0YFdkhEW0TFr2nQvZaN?= =?utf-8?q?BCzMX7lZFDX9N+yHSG35FYUQ6DJDR5hiXEvYcSdolR5tlqJjMKU8cCU2ajDSaJTWR?= =?utf-8?q?XOR7yTK0neHL+Rrxb27u4kjsXbbXB0pS3tnNwOk4HJmNWnn6Kg/DoOsOuwIbgZ5wT?= =?utf-8?q?qWaVWBaZl9o6zzICtdpgTHaCjS2C+sbWeF7Y2kk3+6cpCTKzOlx6O4HMFX4alU/4P?= =?utf-8?q?A5QZ4zWZM5Xb32TJpq6tYSK49Ves9MwPOSFP+jg67nam8g7M2DkpbrJRfEx8MAsuo?= =?utf-8?q?45BQB9EUPzcTkdJuU6ep1MfxERGvkJUtPI6oW7+HFKkC21cFeYlYfp/gKT5/SIM+r?= =?utf-8?q?L+soS9oaladL?= 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:(13230037)(376011)(7416011)(1800799021)(366013)(52116011)(38350700011)(921017);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?HdJdcbidlHcaxHDnR3ebp2ihkHOv?= =?utf-8?q?qF+1t0lVBEZhrwZpHXVTVHV65CkdnVU1/pArOfAgTN/EMQSkFm3EdSIsaUyWyBOve?= =?utf-8?q?+mIPnfqx2c9V6ofNZSX1Q8Uhcwk8MqXU7tPkLpfnD15fo0gd5/7nvrhb4In9whGUN?= =?utf-8?q?KZNWScSnjmYFxGoHNRgYqyA8FV3HwcNziCkGkIFUm1nQg0rnzZS47aJi4TkVSI3hp?= =?utf-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?= =?utf-8?q?idwot4btfZiPOAUtNfd5ZYakJN3ChUoUb7Ew6JQ0MwMh9N48/1EMX8VzXryzoQwY1?= =?utf-8?q?AAoWjLkN7CcAQw89qiJ4eMjwlYg+wS+XCfsinutfOjw9KF3Ic5u7/GvUWy3WF7HBw?= =?utf-8?q?6hE5XitdPdvmXb3c5jrrM7Br8W2lGvjTbgRfRIuzhqdEybBH33vjMlmUTP7RWSTTn?= =?utf-8?q?l4vUngPCWVAqHC1RM6LP5cK3J2DzFHmuZ0wUdOzJmSMORGxkZ9NuKfdFos7Ol3gh0?= =?utf-8?q?5kzhPUKLUu4oJZV9TrRd8NgP0hnn1mFpw6FZKly7YKy8V5VERgBp5F9K5b1LeaoEX?= =?utf-8?q?8nIujQGo/csU8r8CAu/Vgvup9ynXVVeH65r2eOhjPd3S7Fxfu5mcQuASB3/PjMYR6?= =?utf-8?q?O7x5llVE+BuIEwNcQq+eNgiG77TK95ilPtgqLqx7b7J+oSGNQvUTvAxvhCv4WKqaY?= =?utf-8?q?pgYtCnG8VX2r?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: eccbf4b9-5b6d-47b1-70fc-08dc8f0a9c59 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2024 20:18:11.6111 (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: yYoAPJmAhOE+nh80Osf2Flp6pqX6UisglL8ceBL2re9iIkFsJqnb88h+hIGgPJxpcHsGui0z6t8XMnq/Fp+8Pw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7997 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 "range" property. Signed-off-by: Richard Zhu Signed-off-by: Frank Li --- drivers/pci/controller/dwc/pci-imx6.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c index 18c133f5a56fc..d2533d889d120 100644 --- a/drivers/pci/controller/dwc/pci-imx6.c +++ b/drivers/pci/controller/dwc/pci-imx6.c @@ -66,6 +66,7 @@ enum imx_pcie_variants { IMX8MQ, IMX8MM, IMX8MP, + IMX8Q, IMX95, IMX8MQ_EP, IMX8MM_EP, @@ -81,6 +82,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) @@ -1012,6 +1014,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, @@ -1020,6 +1038,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) @@ -1449,6 +1468,13 @@ static int imx_pcie_probe(struct platform_device *pdev) if (ret < 0) return ret; + if (imx_check_flag(imx_pcie, IMX_PCIE_FLAG_CPU_ADDR_FIXUP)) { + if (!resource_list_first_type(&pci->pp.bridge->windows, IORESOURCE_MEM)) { + dw_pcie_host_deinit(&pci->pp); + return dev_err_probe(dev, -EINVAL, "DTS Miss PCI memory range"); + } + } + if (pci_msi_enabled()) { u8 offset = dw_pcie_find_capability(pci, PCI_CAP_ID_MSI); @@ -1473,6 +1499,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] = { @@ -1576,6 +1603,13 @@ static const struct imx_pcie_drvdata drvdata[] = { .mode_mask[0] = IMX6Q_GPR12_DEVICE_TYPE, .set_ref_clk = imx8mm_pcie_set_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, @@ -1653,6 +1687,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], },