From patchwork Mon Oct 28 19:05:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13853913 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2040.outbound.protection.outlook.com [40.107.21.40]) (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 DD11E1E1021 for ; Mon, 28 Oct 2024 19:06:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.40 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730142397; cv=fail; b=o3VzghWXJhS/gEiuDwFWmxaCxBtwcVWK8jP/2YrK7PWOnNAF/MMAj50kvGWx4jTcFsH5ir4EfLQeXIedoWEmfKgYOLNK2nxiH4OuKO93QddSQL+wrZSHS+8c1aA5IhLPLblij/PIvMcL4As8al6l9OcgomwcZsH2nR0V4etEe+8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730142397; c=relaxed/simple; bh=RzDiJjc+I6wcWk13KTVhystqp6RElq6XYrrJPcrtUXI=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=YYuQBCUm1rjWrsxKK0s51FsRjGuSAumi0Qw+Ea8i56ENfdYWpfnWEGDS8OZfvkNjq3tHFkznOYfeanHZUSfe0o4fwaTQhcigXlGxIJ5jkrs3i0De/NavytxufVp7P3elbwbgofLy4tBNZhHkatTIL87iIgj3Rj3oWxetD3QudB0= 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=N44izmjO; arc=fail smtp.client-ip=40.107.21.40 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="N44izmjO" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=sSV+ijxIhHNlbKkF4M6O4HgbJnOQNTIpVEn5Ir2S5Lgj0CrlWC8agsZ/31TGylcjMD4MdMBP9wo4qrFVgTBgLlU/SJto08/DQWj5FmID3XBi+uRnQMsnGvkWL+YhwBEn3VZzG9fNUmoVftHREgt/Exvyp8AAshe80m3DvKUOmSDZZtHzE3vZAy6AasbrSldFeRrlyjPEuYi/XKyzXM3W8s6RrpsWsM/VqDq0bpbpFC6BRHYETYAe4Nw+lI3bsSX1BCkEKp7YTg7vSZ4hhmQeduxqSJmymp3tOqhtmNI2rt8kTW2HURXjSXloqfwE5HORehJnFpmczyAS7mErO0orBw== 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=/fLhtILW+VZvuJWqnGcQ5qJ8MgmTM/8+pr67M3KgLGg=; b=ENpnqWiLJBBLV+VCKlM30qePXQpCzPBVLwk2VvO8T/TI0U7JOIJHFwbUXF2cN//oakm/UzLO2CAlJ56UulQeH+W6VAyaqslOKH+AEHhUALXDVyxHeFNhy8lnksZ12x72V1KxmKLnl8FuVgJW48wdjMytMcVyqo8c7P7/J65z9AS3oaRZhvbWArkMyb77z2iNw+/i8gmOZbQKsduWqCQIYaHODBFrC7zzdFXbttDdisz4J//v+JbTmOALdCrcFZr2CxVIDwfU0I23hi/UMpk4v2giki9Gn9XCuuGeZPlNybrES9PrKtent7we61jR4G5615VRjvEkZDyWjxIAT3ZzSQ== 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=/fLhtILW+VZvuJWqnGcQ5qJ8MgmTM/8+pr67M3KgLGg=; b=N44izmjOI78GLcEWrcxyAngSHk8NPOM8ScBeG6C6KQdKDCNVhhGb+rZSaJJTRsdUmDnAn+QaxShl5uPzm/x6oc4Q5UhjGq/t68pvctNxMfTuMdPazGJAWfeBCAw/tfuAyVKufOsLGWenMQw02OKfTEk1tfF5u9xxvtofOo0oSnJ68WQaurJxSJQu24EloGVhooLspRXtLo/i6/DGLRExJXPS1cfRcMPvjbUJ83cizpkGO8z+/ZlDB2NeBKWchKXDWjjIU9GVMgIUbPnuOi5hWfTvmrf3rp4kyzkCog1Q+H2V3fxAX+CaKHaxQ0y1lkYlHuyiOQIX0jqVOTL1MFRcDw== 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 DBBPR04MB7946.eurprd04.prod.outlook.com (2603:10a6:10:1ec::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.25; Mon, 28 Oct 2024 19:06:31 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8093.021; Mon, 28 Oct 2024 19:06:31 +0000 From: Frank Li Date: Mon, 28 Oct 2024 15:05:59 -0400 Subject: [PATCH v6 5/7] dt-bindings: PCI: fsl,imx6q-pcie-ep: Add compatible string fsl,imx8q-pcie-ep Message-Id: <20241028-pci_fixup_addr-v6-5-ebebcd8fd4ff@nxp.com> References: <20241028-pci_fixup_addr-v6-0-ebebcd8fd4ff@nxp.com> In-Reply-To: <20241028-pci_fixup_addr-v6-0-ebebcd8fd4ff@nxp.com> To: Rob Herring , Saravana Kannan , Jingoo Han , Manivannan Sadhasivam , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy?= =?utf-8?q?=C5=84ski?= , Bjorn Helgaas , Richard Zhu , Lucas Stach , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, Frank Li , Conor Dooley X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1730142363; l=2245; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=RzDiJjc+I6wcWk13KTVhystqp6RElq6XYrrJPcrtUXI=; b=4pLCC0gu4iUv8H3jhxnhRvuIaw/u0nXT1sQLIFaamEuBI4cI2BBNKfVSbOkgwvowA/asZbAt6 PlbQkvTs0tnDhy+C0RON5/FEnA+7pRc0hrxhondKCLzaAboBcbUHIO4 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR03CA0005.namprd03.prod.outlook.com (2603:10b6:a02:a8::18) 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_|DBBPR04MB7946:EE_ X-MS-Office365-Filtering-Correlation-Id: e22b3740-aac1-45f4-f963-08dcf783a1e2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|366016|7416014|376014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?6+x8v9Q1vvGWQyvwWIXe7jpcjthQ/Ea?= =?utf-8?q?grsEccU02hZIW2h2PU3+1ih45b5L/ZNHBCvh7SaC0T57qWbbwdDkydbi4suczjt2W?= =?utf-8?q?1NUfIRKm9KUjF58hZmxIOILWG84oY/tBqT0EGOXVFLi9oJJUIG7q4OnhueSNZb9Vb?= =?utf-8?q?wTcAdXiWaBodH5yoiFsEMKvL9515n+lKDmROrj64Ry/KHhJ3u4/mgEsJP4kNxIqR0?= =?utf-8?q?A1aVY9jxcS0BxBl7RGHgQxVwYhlDzBF9qUvX7TS/1P8RFEcKVc6PS4mFDAJFSYx1w?= =?utf-8?q?W3NvLzSSsH6hUyRW8gzq0wtwewZj0a8mNNMS1Vr2q2VO2kNgfPAVTxUOtdohxYx0l?= =?utf-8?q?8cKIRlJxi/bkNS5lyTw+3IycL5n0sHmgGLrB7eamdSJrVIaKdFJZ8ongyQsg0lIr9?= =?utf-8?q?oYIWEqTHomWQl4qDqLNAaS8hCbI7Tkc0EFDLCJs8M3Ld0nwYMTAeWbFGaDDLak50H?= =?utf-8?q?CRFXdekiPV9+JuyumCwwA/dlAU6YRe0O2SFmmsU+dpLVuLcASyvCjEQFPSZUAQhRG?= =?utf-8?q?p8QvXJuni+ezNF/jacZTDcmlgZAVfWjypvzXx0kWUM93UqJf5EGGA7d3FTo1ZKvzd?= =?utf-8?q?+TOJE5mXMbLaL85668Xc7kSEpMox7+QO1lj8fEoQ+XMgDe8X79Ts+SveKWJhO2kCX?= =?utf-8?q?pseyDsT4yYXH6PHs3FMvazzQJsQCTvsu1bdk6bxoqHSekP2/twdTG1BxbReHqv1AF?= =?utf-8?q?sx7f8GWAAsAmf3VOYRqva3YLQKCfIL6r0qLN+JIz771N5WHv8jaFWWGq7zdKKhP3N?= =?utf-8?q?di7M9W2++0S+A5eD4NM3baYMi1khVwLwBZfE/FRDYpnc/Bd/SXDCB7e3CrZ6zTTdB?= =?utf-8?q?mO8Zs+b82EygzcjKFcaGOqjf253qVLPKILtTHAfyTF9Zrv4bds/eOqe5mrTlsCw8t?= =?utf-8?q?/7lsXmrV3AsSkvcRn48t2aXdvL+I7w7RU2penzG3fc7Afjk6yksqh23ahp+0h0QtT?= =?utf-8?q?OHAgyjQ/A2OCxcxjKAeLEgEN6Gm5iJj6MYLtiv3+hfd3NBSTbbUO6A8ZpKh6QFSew?= =?utf-8?q?s8W1wGrLrbFdh0zZ0n9cOraaiJAZBCsIsQIr4Q7ReHlZS8T7oKnYBZavGtCfpiG5z?= =?utf-8?q?51/+LMpyD3W0oGopvnmok2Bn2mUAuDjftXGdqqpX0jvfs7E4Asj4+8ZDXBMNf2LJC?= =?utf-8?q?DkJKsiDNa/Ok7i3nXg2TbeVK5L9Xsz/3w2TukwbMWymLD73cQUMExPo0VvJ1HC6Hi?= =?utf-8?q?1wFKr4FoZveSvUlhubkSkSmaxVs/NOMcgVLOCpbBzSEYmJu/1FD9IKc+xs03y/gLE?= =?utf-8?q?IA+5Q1L7Qvd5N/xIr/ooam+2sRinFVLmatlRvIFmflFQx47KMwl3AVWmiVZtwVZ8B?= =?utf-8?q?URK2NUJgsNB/?= 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)(52116014)(366016)(7416014)(376014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?E8NX2BYmqI0pAYYJg+CKA5R7YM0I?= =?utf-8?q?5Rc/bf/Ns6bDXx663OfzpLF4cay168GUNV388PhCCFoILSfIV7bvTtoTD3q5fA3S/?= =?utf-8?q?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w90+i7kTJzGIRLuuMYmZJUY4aordX/6wLGK5Tpzl/ZlUYUsish/kKKA6GWOuUKi8S?= =?utf-8?q?t0turdEb1rVFaA3c5/VG781g0G6ag216sLVqxGQkJDWlND7uDBbLWbzImhCc06Q5S?= =?utf-8?q?a4DQVkozZGJ4WANhmwKd/CpeMVQv23sGL9Gk4+Mu4wB0FQtkjJcBuPgcvx6KT8ST5?= =?utf-8?q?8l6Xj2kR3BZbZFNVA3A5XgY2nMJ6kJe+FM1l8XxL4cByd0ii0Q7I+bzf9x7p/cEAZ?= =?utf-8?q?hjtWuGJK10O1QmyWXsxJOjFcqa8+Dln4WwVe3QkYjZo0zVA5+KFYUwxkMVcLtYkff?= =?utf-8?q?pRTy3z6SWai6D/moQwPf8VVecLr8oKnV4plz5SWv7Hdn3dEd9EZq/duBHLj5tz38c?= =?utf-8?q?masFIFa3YssHmciwId1weSuaVwmqg81zOHuCvE7wq/bkXgAL1S8UYhdfHQZB0Iads?= =?utf-8?q?vlihG+BA6cl/r2TlbIKtuX5y701Ee7KRYCp3Irb/mh+mYycoFZDuKxTxNJo7SDysl?= =?utf-8?q?QNHnuHDrzIcOf4Ut0Ggl/AflvgI60mbuT0IQt/PYuz0L2ywgVz5d1dqaePksWiQFt?= =?utf-8?q?XP+kvaxN4zpY?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e22b3740-aac1-45f4-f963-08dcf783a1e2 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2024 19:06:30.9591 (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: ecl2W0LQDKHR13T4eIaNja4FRVInU+ehU/8l4+DPFb2nzx8mqLk4VFf6C/QygXAFVWT/Q/SAqTV1LmtkU71QDA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7946 Add new compatible string fsl,imx8q-pcie-ep for iMX8Q. reg-names only needs 'dbi' and 'addr_space' because the others are located at default offset. The clock-names align Root Complex (RC)'s naming. Acked-by: Conor Dooley Signed-off-by: Frank Li --- Change from v3 to v6 - none Change from v2 to v3 - Add conor review tag --- .../devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml | 38 +++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml index 84ca12e8b25be..7bd00faa1f2c3 100644 --- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml @@ -22,6 +22,7 @@ properties: - fsl,imx8mm-pcie-ep - fsl,imx8mq-pcie-ep - fsl,imx8mp-pcie-ep + - fsl,imx8q-pcie-ep - fsl,imx95-pcie-ep clocks: @@ -74,6 +75,20 @@ allOf: - const: dbi2 - const: atu + - if: + properties: + compatible: + enum: + - fsl,imx8q-pcie-ep + then: + properties: + reg: + maxItems: 2 + reg-names: + items: + - const: dbi + - const: addr_space + - if: properties: compatible: @@ -109,7 +124,14 @@ allOf: - const: pcie_bus - const: pcie_phy - const: pcie_aux - else: + + - if: + properties: + compatible: + enum: + - fsl,imx8mm-pcie-ep + - fsl,imx8mp-pcie-ep + then: properties: clocks: maxItems: 3 @@ -119,6 +141,20 @@ allOf: - const: pcie_bus - const: pcie_aux + - if: + properties: + compatible: + enum: + - fsl,imxq-pcie-ep + then: + properties: + clocks: + maxItems: 3 + clock-names: + items: + - const: dbi + - const: mstr + - const: slv unevaluatedProperties: false