From patchwork Mon Oct 21 20:07:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13844609 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2078.outbound.protection.outlook.com [40.107.22.78]) (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 2515B1F7061 for ; Mon, 21 Oct 2024 20:07:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.78 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729541281; cv=fail; b=bKcQpW8gFmSpceK1HQC2hV8os+9i35v2nFR/6K1dHt9CIyNijYjk8zP5o+U9Knd8VedHPxoa3qe9oflZWZbE1mNsK+Q+akXgD48fi1Ik+wE73jdtl8ECrX+Ziyg0IF9h2ueUlj1axMbBNiHeX5cXZymrszEHoCmpiQ3y+RFBCYg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729541281; c=relaxed/simple; bh=xOwP7kvEkIrcZ/CeDAklFFYJhRHhXZJV3LaiInaRPbU=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=h1PADGQejS2tAbGXzYKu8Vzf2IozBFegkXhaI0kJHiI3u0RxO49N9stWwa4ztptGxcw3wRvQNvGMzC14uoWA1NxN7s8ni1IFf2HElrjU1DPIQd8eKVJtCLTVjytwp4MhulBbLqr9kkTXmA/y4pSJ4nvUbNzBogOd0RkAQK91TZE= 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=fmDkrPlo; arc=fail smtp.client-ip=40.107.22.78 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="fmDkrPlo" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=htzpOipjuoybDnmdpjyJ5WqTwZP8wNA6DjctnBcwHXItQLH7RzovUrnraTqzpCbixAQKLD3zzp5OBr6o1xhG16OpvikottXZOANnSL8iRbTWaPEfUEKjoh0eWDSbNVjfe+dr/AWIevyjW/t4PkgZESAL3oUp2wFaES1QZiubjy8qiDIZ9cJqinMFuyg/XXO7mYyt0gQJ+bu3PbiyHZrjcGWsR8DaerTXNRQ1unEBTsinC8L6Gomsg2eivzuEWJFChggxTHmlJd96XgHTNtyvXKe+k6kTERequNO4FlRolQ+uUA8817hAT4bTJPyNG/ZuZnslJDW0btg6Z9nJCfHJjw== 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=EySDpmn2t3TBrfXQwsbftUWGKwgsxNSHHulyrBuHokE=; b=d6CgXM6wCCmmpsPluvCbk7ZdKTygSH2qRaxtA3NzsBALfG64tzqb9RLi+2mTZcW1hwOA7tw+EudOxzSk5DZlnikgM7ZD2b1W/Lunt1wHYqdQY5j5byyUqZfLd94TYnMdJ2z3YRJVXWnw5rtc11Lhs3UQpvVTQjwXZdQQeLyLc2N3gMnX7dcgtTzZp8GRHfBwDHEnZ4vxze2WhcgS4JF7ZsvXlYAdKkUW8WD+E2EItX2AfHX27GZpRHmPgGP+ndlHtbd4gWGPoAe6Y3eROR+b4B/7LPCwV9B9lWMcLR9cdWvsRCiDZ+DzSBkvjWmnIu1sJF9YMk+e3HjpwYlCUQROoA== 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=EySDpmn2t3TBrfXQwsbftUWGKwgsxNSHHulyrBuHokE=; b=fmDkrPlo95SDBnZ/YvSW8mFSpr/aQ0jkCbhXCU79iHz/kYptPBmg72DEsulGXFzRsLQ+2rVWzBxUn0GQXjAPdM30kVD05/OV3Ox1QI2gMoHAQnACfougoah4hN4OHgTAOXvnJQPx3Pbn/0bCU0QtJz6968Bnj9ItdZ2y1RHPJKl+ryoVc4BnRueMG2fsbyIxj5ano+P7x49V7viRmog9mr3OO7BhCXyBZDzTN2IIGbR8GsBpDA4ndJmrTrjnnv6tpVg78qtGZK6w8TQRTXeKevh76d+fDFiB2kWAl9ky1BpG/YI4xjLRrIAUHT6o7ktZkhVaqJuoa6qhOSUbtp0xOA== 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 AM0PR04MB6882.eurprd04.prod.outlook.com (2603:10a6:208:184::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Mon, 21 Oct 2024 20:07:56 +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.8069.024; Mon, 21 Oct 2024 20:07:56 +0000 From: Frank Li Date: Mon, 21 Oct 2024 16:07:37 -0400 Subject: [PATCH v3 2/4] dt-bindings: PCI: fsl,imx6q-pcie-ep: Add compatible string fsl,imx8q-pcie-ep Message-Id: <20241021-pcie_ep_range-v3-2-b13526eb0089@nxp.com> References: <20241021-pcie_ep_range-v3-0-b13526eb0089@nxp.com> In-Reply-To: <20241021-pcie_ep_range-v3-0-b13526eb0089@nxp.com> To: Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy?= =?utf-8?q?=C5=84ski?= , Manivannan Sadhasivam , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Conor Dooley , Abraham I , Saravana Kannan , Jingoo Han , Gustavo Pimentel , Jesper Nilsson , Richard Zhu , Lucas Stach , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@axis.com, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, =?utf-8?q?Krzys?= =?utf-8?q?ztof_Wilczy=C5=84ski?= , Frank Li , Conor Dooley X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1729541264; l=2164; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=xOwP7kvEkIrcZ/CeDAklFFYJhRHhXZJV3LaiInaRPbU=; b=a1F5rE324OXu6nIVpdYsQC3wLw9VVPumrDbJJDApNRRNYYO7OkvDqaBE5k3q5BRt9UBEph2eG zmU6UvskXRNA2f6u51O2SwloFlCNOcO1zj6M1kDIF2g6w1gcW+yYsxI X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SA9PR13CA0071.namprd13.prod.outlook.com (2603:10b6:806:23::16) 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_|AM0PR04MB6882:EE_ X-MS-Office365-Filtering-Correlation-Id: 9e69eb12-e2ea-4c73-4655-08dcf20c0d7c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|7416014|52116014|376014|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?8DlvC56fdpARtK43GvY0Jsk3ZlCGHt5?= =?utf-8?q?EIhgnTlF2yqJtals1FuTJ0FI6EXat5C/26PuaMz4a1Z8zAiotTQodk9opI3l/xoDr?= =?utf-8?q?v04Dt6U+biOxF63k53PPYyosnIwFsGyV+ItIACdjrSI8uckteKQjWR9xFVlNBzu9i?= =?utf-8?q?zHk6MCHATqdeXgsRWrSe7RD5NiNCE17PUWr292FgLuBSPqS8TFRljG+lTBdk/o5Ad?= =?utf-8?q?h9hWX/VJCjSnYt4kkn3VHsXJvJEvVQ+9wU8w9o8R410ouv4Q6U7vYH1eLk20GapFX?= =?utf-8?q?xax4JC3ireNvt3GjZ1Rrkotq9tCYIl4SyW1ktntloH05OcivYhmt3COpSFWCWcAAZ?= =?utf-8?q?Lq3MxFRhpZ9x3ACLQ0n7815+f/LrJBz3HY+GTmiwwT6+uTBoqJmYLQ8168du3gxAy?= =?utf-8?q?80IhsIc9mx8QGyLY78EA7qcQ1JH4fCOYJNlc4QvejG63xsfpXqPjA0uRHFTRsojyT?= =?utf-8?q?XXsYScgHm72cMS9hv7u58HoQxHZQFdX9SRlhz14M4f5fZ1eax3/fZl4YuntIoCKnz?= =?utf-8?q?hfoXM8htZt7skI9v1zH6ZCrCZYtJtkyKe870/gVuifNBn8EbWnrJN75S6sB3NNRBN?= =?utf-8?q?TzE2Rh0CXPGIvKiMZIxZUjL1pFQpeaLdvF9rrs432kletfSAZxhTpUrKkcbtGW61b?= =?utf-8?q?EIVF0sD+PJc/9Hb87oxTAvHa8sgWFCLqJ1nzptnuby9xN3O6xLtJ63rjCVhRivfYd?= =?utf-8?q?sRxsV5UaGqUYoSkvLyamNsb0bb8YvGc8+M5r6q8DIGaH1oW7OAEJAK8XYv0ydjK1F?= =?utf-8?q?I4CHQ42SY8smsFWdivECgLE9qF4WQfgxY37PLmlBB8H9RqEB5rkJ8seYxMyqjDmb+?= =?utf-8?q?yQOqmKjWltTGxyQvpKnxWoEpTeFGKLtgf7SMIMAdz+WDN2KKVZr0pLoXzwzj6rRf5?= =?utf-8?q?jaQyjp9Nb2s0vKS2KOWU1qSMxoQvtwPdXCcVn1GPTXCmlkOS6jI6/1wvmp35qiV0j?= =?utf-8?q?d8J3UtBoLnwHzGEicjWQd8HmNk/brj82sgG3jc8UKzRrjWCT2ATjNZUTtVbD7FzJT?= =?utf-8?q?/Mx5z+zz94l3Gay9yiQr1CCeQRgHhKpaRAt3syxh//oPL3fy9q/JSSZD+jAi6nH9X?= =?utf-8?q?87ixis55IizZqmaVyhncn5WISYyRvlKNS2zN4JTOg/DWZaxga28UiaB0tcqwKFWGa?= =?utf-8?q?l0Sgg2iQ/3ejx1x+Bf6rszNonGNEOo+ac/o2vtqgqU88+MKFoZH/h3lJPk/c4n3Tv?= =?utf-8?q?AGCyVtDw1C75QuoS+j9NbrRUxFOPgKFkDSB58neisnSxT5g3lHRIo2AElFoJmjyXj?= =?utf-8?q?Tl1i+hoQYXQQ2j+jgkUUThWCWbcwv/TEgZxlM45q9bh2kYgm633xFQsIIjd+bolDE?= =?utf-8?q?FOHmnKtuGwbh?= 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)(7416014)(52116014)(376014)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?XlDytFyJ0K3ZH78+TOrFLty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td?= =?utf-8?q?kKUzrrGmgCvp45/jwWEyThggU1M7AR38j7uhBDeJWcxu8zpet/IyGDgDcL/SxX+l/?= =?utf-8?q?gerVkkyKHFGvDQWrbRkXS31RheX+zt2Jj+Gn9CyyV/bdVqmCFiNKO/qR8k2OD8cWo?= =?utf-8?q?kLWbhgQenRuFFd7AdqQj9wHYDuLoqDCnbHE6rJugyV6W2h/JRdULtCQMkyYIirSCU?= =?utf-8?q?YynvIz/E+zHbUB52kDYViKwUj/WwQAfihnllRA4N+whnuL2UiS/th8sr+mdArcwGK?= =?utf-8?q?r1bjD4nQbPT0OUxkbbXwGRZS4qfiaAmZ0FYCgQIuxkiq3uAjsWi85ggUe1QFxFp35?= =?utf-8?q?7nr9WM3Ef4gBGJUGtxve8745vVSPIjtbG2cmXY9TZHARmB5JZFLpjbqLu6GWtkLBT?= =?utf-8?q?lj2cwuR8wIJSn+zK0HR8l9jKvkKbMdF1aNzsp2MfuR8repjUpb1gLJm1Z59s1P7tX?= =?utf-8?q?WaDdoKkoz/c8Y3qFkKIoMSW1cM8g7NlbfCwkTD1f0RjjY84pNhjWI/Rko52DlTFX/?= =?utf-8?q?+thV4sH4Sdv/z9A4OOhc3uEvV7ePMfWhqyZvhyPJhZH65I9POiuoab42rphRDR/IQ?= =?utf-8?q?Af8vl9bnqTuBhGf99x7/MQ2Jsh/Yahl+MURY7rtMkM/xnoMTw7IGj2iaVJmDf8KzJ?= =?utf-8?q?GXiSWP1hl8By?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9e69eb12-e2ea-4c73-4655-08dcf20c0d7c X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2024 20:07:56.0226 (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: lGWx2+F0FVMQQTDOTwh+HGlD8OemZDvY9sO363MvPEKmg60iVdqIv6WVrniKOeHw1Wl4coENR60Hc+WdvFqrlw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6882 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 --- .../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