From patchwork Mon Jul 29 20:18:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13745676 Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013052.outbound.protection.outlook.com [52.101.67.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 68D7E37708; Mon, 29 Jul 2024 20:18:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.67.52 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722284330; cv=fail; b=Z3imQVqVzAxPuGVIF2tsYme6/GNZWRYUWlovfH2hASLm/QbtalVrNviC4j2KJTuVPPk6IClfqhra3PiMxJpIRn41SrIZ8Ah7Qh4MA41svNXmxI6zy09QmR/H5PJPenv89ukfNg1mT0mVxW/TrYlQfbovO5EuQl7+E7Ukekc4Q1E= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722284330; c=relaxed/simple; bh=Ffs1+RB8zVSXRpBvSqedgow8kXkvN9nVsdLWI+U0kAU=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=fJu5UjQjg8xRuSTbCmGr0o5+2UxodI0Rl0YWDInGENSWm2uVURPNObEM3ieJleSCO67bQezvxTYPdFYzgeE6SXVxy0U8B7VVcvxzKqtYAQgHQZ0NB8J+BIuU8a01LqfmHQ2IrkEquwmW9WelPI8Zsh+T6UQKUCSOf2Ct9eZSGTc= 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=YUYrhZva; arc=fail smtp.client-ip=52.101.67.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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="YUYrhZva" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ly4d6JDBOhmmRkvBxCw3SL3mFdQecmnoYZ0mqtdSmSKSi9rOnY/9oEfiVa3ePMwLKmCrIgAAELMChicQDszkkqYSdxkde0PHq6D8Qu3YoAwENPhn2KWK2VWUjDj+Nu4nhz/+HK+LTK+XTEmU5dYSP2vBZbB0c2IzxzljJpNsNz/tp3w+eNsqx2Df7C5F9UsODmiikG3jeqHY4JxXeq/ay2Q57EgdPiW6zAYV3wHuDjrDHZJtexpqIGnuk3N9Ryl5RZxgLZP46BZTKxDGgcvgje825NStHw9UcXhQZHTtUgHkyftA/DiJ5lO23HcLikqHysPQtI36lALV4cf5s4QQVA== 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=wgF23gu8zop/1zsRCishfLSSZV7ex2erAzBR3fsZWJ0=; b=QELfBnee9vA04SDm3nDoUyCwCZpDyjkc66iZleHJaDa/QCz4h7zk1z/pxOq6gFZLnUJAzEOdCfuOWsahFbbFo7sHjt7ZmzJIPsdz7loJDrf/F+EVPf2fdCe2F1nBYffP6vS9feIQ4bb2O1B7+secqe5lDLRHVOUvm1f8K/YPPAOHhBAyuSYhB5UsZ2Z009YSpSGE408N5w88vlsQ35/TlN08TUcR8N1frNEixrA3ZBT2r4wqlXuPutsc7r+0Qq8WdbT/FYv8GggSKU3Nvg9ukzT373wF4QpeMazbNOiY3I0uG06GQcvkwzg6lI0fM1Rz8QSq6u7ZuQE9qPgO0rc4LA== 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=wgF23gu8zop/1zsRCishfLSSZV7ex2erAzBR3fsZWJ0=; b=YUYrhZva376K531UJ0XqxPYo1uzvOYdqnpXm/eyjbupXrLfvpqOxUEH1IFlJxv6GY28exEEQQBX5ViikuPVr3evoc9omqUE2J2eZVg+p81vFnYL4BGRVJrZP3Z+53JbA8t9fOotBK2QcxjlkG9KHBSS5OumHmR96xSmIMRV98Un2yK0s/Fqo2b26WQu6IyaE02AGxaVbKHzfDsX20XKbmep7UKSSqMS5tPSuu/k8aVC2V5adP1yCLdBVGTUy0KDWMquqWyj0cOHLjXrttRoPQl9OH2//doUNYx3cXCgBIhzy7QIMeh+nbwxbeK+i6jo0Fojb+prAr34AW52tdE1Paw== 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 PA2PR04MB10240.eurprd04.prod.outlook.com (2603:10a6:102:410::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Mon, 29 Jul 2024 20:18:43 +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:18:43 +0000 From: Frank Li Subject: [PATCH v8 00/11] PCI: imx6: Fix\rename\clean up and add lut information for imx95 Date: Mon, 29 Jul 2024 16:18:07 -0400 Message-Id: <20240729-pci2_upstream-v8-0-b68ee5ef2b4d@nxp.com> X-B4-Tracking: v=1; b=H4sIAAD5p2YC/3XQy26DMBAF0F+JvC7VePwasup/VFXlF40XAYRTl Cri32uycQF1eS2fey0/WI5TipmdTw82xTnlNPQl0MuJ+Yvtv2KTQskMASUgmmb0CT+/x3ybor0 24EPgreWKa8GKGafYpfuz7/2j5EvKt2H6edbPfD39r2nmDTSuVdiREEKDfuvv46sfrmztmbFaA XJvsVgbwHgVnQ7abK2otizvrSiWQEguXXBSwNbKahUc3iyLjeQJAplyYber/likvVXFGgXWmhg cRdxaXa3mh1297gIhR0Fd2+52TbUGDrtm/SsP4Igb2VFb7bIsv3TABboQAgAA 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 , Jason Liu , Conor Dooley X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1722284317; l=6156; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Ffs1+RB8zVSXRpBvSqedgow8kXkvN9nVsdLWI+U0kAU=; b=F+I/R76AA9lkCiBJWjRITKL3DGltBqAYHnLCApRYj66IMAIi7IMFmEK1se6TwyZD6ZdQPvhKC aT6F9xKxK1CCWimEkmj9k8ag3d09kPCCFL0RBx/xcxzdQ8bCtF9UlPP 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: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PA2PR04MB10240:EE_ X-MS-Office365-Filtering-Correlation-Id: 5e97f76e-3b43-488f-999c-08dcb00ba4a0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|7416014|376014|52116014|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?BgRUVN71brlUhhvvtrQjw2COf7SbVk8?= =?utf-8?q?pbw6Mu+gUy8rnexXMt9foGbhghSJutl+2nFjHZ0W5pCWNP/FPPcy3/DfynilQiIgj?= =?utf-8?q?noHKju7XrHdk9x1OtHqwzoTyUcS0nEIuSZJkixsXcQ/dTIecVLrIcJMm1oXtZr2gp?= =?utf-8?q?fAK2Z+YMYveY/CqjbRak/UZmq9ua/lstzxzrAXfWi8v01CCiMcxvEeaI3ZHw/H1GP?= =?utf-8?q?dBebrX5vL8C/vKbftcn/aJ6HIwx3Ayn+rNYlqr1P9IA2F/qbHkW9Bhoabk0jvOkaF?= =?utf-8?q?WylWZFOxOeMJbapVFD/8rHvHHpHwgLw/v6UgZRD6faoye/8xvoPOQlYju/06UyZIF?= =?utf-8?q?JJf/kKGV54HmAJPaTDxiLiF4EjH5VvUvNsscKimv2Sv9z2jPu9glfZqMT9zWh0tqv?= =?utf-8?q?caai5efmW1bnwwv+LzD7V0h2bAkF4TbT11mnIVojZ7Y1rTvdvos62FaPwEkouqRFs?= =?utf-8?q?XA2fpl1BCp8moLxtyiS3rLL04F7wIGYAxJKvfHwtOdmAHAtpMEqWTRiA67gegzYon?= =?utf-8?q?mmO6ML3OSHlwoDQk5gqY7VAbbtMG8/E+vBtyIcTCaVBDhLKjRptnPtS7mFyJ9xXTL?= =?utf-8?q?txc48R5DjJ8kuCjFKlSTWsOoJ/fFawEs4m6k/deaLHcOHcRUGwHtlxwkKn/At1wrH?= =?utf-8?q?VT9C65TK0teSYFi8+OXut90sUR0/ZtDiVr4wyhcfUASIBfc47v4XyudTGN31vN0lR?= =?utf-8?q?2MogJ9T8OxkRsUiPtAy0ii2KcPX5L4VdfgqioxoiAGmvTFyj9krd2XwJdjbBrtqSp?= =?utf-8?q?+40MDloG4tSEA7raujjeuoCXGu7pf0Qq+krkJ5q0WbVirrSYOlmyF4WuTRP45bwD7?= =?utf-8?q?zh6snmmH8Ab/l6D3S4gfSBhK76NdYZJ8Ey14ntA78w1TomSeXov2h9iZ+kPmtITks?= =?utf-8?q?WHMflgWY3jlEMlyXrFS5OHXSpqMXkfFJ8qbU/l8wJh1oVd+VdFvhymkTuZvlxcSab?= =?utf-8?q?4VK3dfxZsOdaklkKX+haE3yDUPVmUxryWXdWD1NYy2teFtCspNDnCdgy8S1PlR4Hh?= =?utf-8?q?kNBARJ1mt3GvF0MykDGPNXoYXtC35FaPIbNxY3VVoePcounG0/2NjVULs1OmO0jfT?= =?utf-8?q?0PEblwc7v2IMXvwTIrN8UktZvOVJWn1SSIQo983qZNNbRqpcu1vJz60bbCKGV+hOW?= =?utf-8?q?Y8PgWKiNEoi8R1VLyYUPhCQ4IOpYzDLX1eZUGT09WRkK/xjBHbsoRrLHP+k+1sa1V?= =?utf-8?q?jB1GdUByaXMbdHPYmrAC7/s05wtanCFuZHgTAEwdWLQqaU/6j9VSSFvXB9169oIDd?= =?utf-8?q?4eH8Be4vHG45rYmMx6R5M7OvHFScpQZ6vWT1FqmCNGkJEJXWwBX6xYKiJWM60wCGW?= =?utf-8?q?VzBImqGQrElA?= 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)(1800799024)(7416014)(376014)(52116014)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?gXfhukVMdxgYEdaNkjIGStgab5pO?= =?utf-8?q?FBf9JTGZAQ508qlVlI8dyUJhITfLatC9s/hf6uD021NLY/ppqIUd32PwQikRD4MXI?= =?utf-8?q?8TR3V7/BYveiBRVXXDbYXPDGaFQmKK2P7Le9cz4KKjob4VmTHXewCMpbvCf+9Ya0c?= =?utf-8?q?oFkJ53PYIbMuY+QMTezk0AxPsXMBbFbjiptXQYjlWrFxrD0LS/YX/y3Ghb9af2yH9?= =?utf-8?q?9bROBNflI717Dv8neehyGwNxx4KjkrGkeTylP8CuN7DQ/dOyCcdrh88P8F1YhRnaW?= =?utf-8?q?xSIFukAo5CrhkDm81JbOrcCqIIT1Hn5PO7EMi3r37ehTiBd0ThYOGe/qISCLK3ODu?= =?utf-8?q?1vd/8cYkYJfRX10UAtecdJBkKAFiWuXApqVTkEFU65INxXH5RieKyy5JAbyBO97fL?= =?utf-8?q?wUrJTo+KizMbU4k1hW0sqTsdiRb7cmuaMvnzYnyTSE13llJAAyXcX3qABaR6IbfUT?= =?utf-8?q?KJLO649mFu6izi9Pey/zNAjavYv/LTdXPRsD99o0xvrLXfzHeILj0yyvBU/YQmSvS?= =?utf-8?q?HgZNh76L76Ql3aktvNTLiJ1vfPe5MgnDk1aCwhB3pbaLM80/vVJLSHmJzsd5guMKt?= =?utf-8?q?Ec6L7hx8CoXIAAeGioQcdBVqUnsF+m2NudDxiMXxY/PipoTJZ5ZUdIGWdpAkyxqZP?= =?utf-8?q?scgeS0pIlPDe+kYLXXZZb7S123slKJ36bjdaCI/MZk8uG7gKDnpAOnBcq62Mps+kk?= =?utf-8?q?OA4oOioXgExgF8mHS24cGXIdPRMhZH0xXqs2RIzi+hIx5SYO3xHcm9ThT+/EsHEE8?= =?utf-8?q?uvQQMOwht7p/+YyUEhM3R9Z/23cxZ9uFy+jd3mBSQ8WOYWilg6z3LsWnKqe5rCQ03?= =?utf-8?q?nc3uuOarEf6hIfJ1TPLMwRJh6vFlaEkZ/IK4VU6NQ1XVMRuL6UB15fnYaq3AbNPTB?= =?utf-8?q?bV0qNzjJyVi1iDIG3HrLlwRzeLe/n+bG2czANrgDP2paPsYTO5T32DmruMcE5ot8C?= =?utf-8?q?WpY337M7S9U5wZbNvboSnZ1yYDaB8IsjmiiUTCINXlp6b6NDYKzkL2VKegiLNo+K9?= =?utf-8?q?lY7PyRqFDgtpFLaLBt4uOn2vYlZBHeLuzHFYT2AIjMIu9h6TlBBg0baabTC++Fu9T?= =?utf-8?q?PEh+LHtBFBhWfL0m1kydUn7r3h1TGsP2o/DY0FpbWMBBDDXOmvAEMNwbOpneslTK/?= =?utf-8?q?0g+UZyshBlgJeCBHvOYTCGutfLumKLnQx07P83TQPeG2XEO3VKmC4gDf4UjJAXgKG?= =?utf-8?q?5NZAPDf2qmPz2T3l7fAkAxJYlztIov/GA+ak/vImlpC6zzWY9SO48GcpLXfFUtHzl?= =?utf-8?q?76Ps/m3IRYES35LQ0+CJMGQsrNVIb9YUPBlKei0maETZlhLuBOIZX4IyDq9T7r3i3?= =?utf-8?q?IdSQtHIze5QSbAebsCehLLfXhAUfnHK9aEg2XjZACz9Yk31rA2djT2x9Hrp6td45y?= =?utf-8?q?LJWYawlRGkytqDEFGb3esBZpUrw9FNwFbueqkxsX8cMiKMN5xqRqeXhf9R9+rK/1o?= =?utf-8?q?T4uVEWDyvZ1T5XCeOUxXxTA9gp8oOFyzkkM2oRvWBiS5x2bjeVVuswZX2O4lhrlKJ?= =?utf-8?q?t04vyJCnj9XM?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5e97f76e-3b43-488f-999c-08dcb00ba4a0 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:18:43.4587 (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: ynlqHsBAmwiqFjtLOXJcwlzBTUwfZXVv4YOIAhJpxMq+4tIJPnmYIeZeC0glBVY97W4dboPe66WAAdQB8ZNsPA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA2PR04MB10240 Fixed 8mp EP mode problem. imx6 actaully for all imx chips (imx6*, imx7*, imx8*, imx9*). To avoid confuse, rename all imx6_* to imx_*, IMX6_* to IMX_*. pci-imx6.c to pci-imx.c to avoid confuse. Using callback to reduce switch case for core reset and refclk. Base on linux 6.11-rc1 To: Richard Zhu To: Lucas Stach To: Lorenzo Pieralisi To: Krzysztof WilczyƄski To: Rob Herring To: Bjorn Helgaas To: Shawn Guo To: Sascha Hauer To: Pengutronix Kernel Team To: Fabio Estevam To: NXP Linux Team To: Philipp Zabel To: Liam Girdwood To: Mark Brown To: Manivannan Sadhasivam To: Krzysztof Kozlowski To: Conor Dooley Cc: linux-pci@vger.kernel.org Cc: imx@lists.linux.dev Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: bpf@vger.kernel.org Cc: devicetree@vger.kernel.org Signed-off-by: Frank Li Changes in v8: - Rebase to 6.11-rc1 - Add Mani's review tags for 2, 6, 8, 9, 10 - Add fix patch PCI: imx6: Fix missing call to phy_power_off() in error handling - keep enable_ref_clk(), I will add more code to make disabe/enable symtric - Link to v7: https://lore.kernel.org/r/20240708-pci2_upstream-v7-0-ac00b8174f89@nxp.com Changes in v7: - rework commit message for PCI: imx6: Fix i.MX8MP PCIe EP's occasional failure to trigger MSI - Add Mani's review tags for patch 1, 5 - Fix errata number in commit message for patch 6 - replace set_ref_clk with enable_ref_clk in patch 4 - using regmap_set(clear)_bits in patch 4 - Use exactly the same logic with original code at patch 4 - Add errata doc link for patch 6 - Fix miss "." at comment form patch 6. - order include header for patch 9 - use cap register to set_speed for patch 9 - use PCIe in error msg for patch 9 - Remove reduntant ':' at patch 9' subject. - Change range to ranges for patch 10. - Change error code to -ENODEV for patch 10. - Link to v6: https://lore.kernel.org/r/20240617-pci2_upstream-v6-0-e0821238f997@nxp.com Changes in v6: - Base on Linux 6.10-rc1 by Bjorn's required. - Remove imx95 LUT patch because it need more time to work out the solution. This patch add 8qxp and 8qm and support and some bug fixes. - Link to v5: https://lore.kernel.org/r/20240528-pci2_upstream-v5-0-750aa7edb8e2@nxp.com Changes in v5: - Rebase to linux-pci next. fix conflict with gpiod change - Add rob and cornor's review tag - Link to v4: https://lore.kernel.org/r/20240507-pci2_upstream-v4-0-e8c80d874057@nxp.com Changes in v4: - Improve comment message for patch 1 and 2. - Rework commit message for patch 3 and add mani's review tag - Remove file rename patch and update maintainer patch - [PATCH v3 06/11] PCI: imx: Simplify switch-case logic by involve set_ref_clk callback remove extra space. keep original comments format (wrap at 80 column width) update error message "'Failed to enable PCIe REFCLK'" - PATCH v3 07/11] PCI: imx: Simplify switch-case logic by involve core_reset callback keep exact the logic as original code - Add patch to update comment about workaround ERR010728 - Add patch about help function imx_pcie_match_device() - Using bus device notify to update LUT information for imx95 to avoid parse iommu-map and msi-map in driver code. Bus notify will better and only update lut when device added. - split patch call PHY interface function. - Improve commit message for imx8q. remove local-address dts proptery. and use standard "range" to convert cpu address to bus address. - Check entry in cpu_fix function is too late. Check it at probe - Link to v3: https://lore.kernel.org/r/20240402-pci2_upstream-v3-0-803414bdb430@nxp.com Changes in v3: - Add an EP fixed patch PCI: imx6: Fix PCIe link down when i.MX8MM and i.MX8MP PCIe is EP mode PCI: imx6: Fix i.MX8MP PCIe EP can not trigger MSI - Add 8qxp rc support dt-bing yaml pass binding check make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8 dt_binding_check DT_SCHEMA_FILES=fsl,imx6q-pcie.yaml LINT Documentation/devicetree/bindings DTEX Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.example.dts CHKDT Documentation/devicetree/bindings/processed-schema.json SCHEMA Documentation/devicetree/bindings/processed-schema.json DTC_CHK Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.example.dtb - Link to v2: https://lore.kernel.org/r/20240304-pci2_upstream-v2-0-ad07c5eb6d67@nxp.com Changes in v2: - remove file to 'pcie-imx.c' - keep CONFIG unchange. - Link to v1: https://lore.kernel.org/r/20240227-pci2_upstream-v1-0-b952f8333606@nxp.com --- Frank Li (7): PCI: imx6: Fix missing call to phy_power_off() in error handling PCI: imx6: Rename imx6_* with imx_* PCI: imx6: Introduce SoC specific callbacks for controlling REFCLK PCI: imx6: Simplify switch-case logic by involve core_reset callback PCI: imx6: Improve comment for workaround ERR010728 PCI: imx6: Consolidate redundant if-checks PCI: imx6: Call common PHY API to set mode, speed, and submode Richard Zhu (4): PCI: imx6: Fix establish link failure in EP mode for iMX8MM and iMX8MP PCI: imx6: Fix i.MX8MP PCIe EP's occasional failure to trigger MSI dt-bindings: imx6q-pcie: Add i.MX8Q pcie compatible string PCI: imx6: Add i.MX8Q PCIe root complex (RC) support .../devicetree/bindings/pci/fsl,imx6q-pcie.yaml | 16 + drivers/pci/controller/dwc/pci-imx6.c | 989 +++++++++++---------- 2 files changed, 542 insertions(+), 463 deletions(-) --- base-commit: c428091cdcf7f368ad9884f8caa68b79cd6c333a change-id: 20240227-pci2_upstream-0cdd19a15163 Best regards, --- Frank Li