From patchwork Mon Sep 23 18:59:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13809934 Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013064.outbound.protection.outlook.com [52.101.67.64]) (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 DA41E6BB4B for ; Mon, 23 Sep 2024 19:00:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.67.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727118025; cv=fail; b=YhhQuPF4Tma/Hf3IlcwEx4E6mpyJxaz4SMhsLRfKH9AondeGPUi5mwo3ygRVIic3tBbq72I2zAp2l0NAtSa3GPxirUWORSLNB6dvGjfDTpIgFcYYS693V/eZ/hulXJgBDkhV7tIpPARMIQRQBV1GhFuuv+UuxrouQe0L0gQSaZU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727118025; c=relaxed/simple; bh=xBMVKn21RPS80T4SAkqfwyKN2vEMUSzyklVzf6tRkTo=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=kkXYUeE09C7Cfuqbmg2EpjyesasbVP3h6mocXeNiG0WtyuJPRSIc1eTvxmMZ9KC82uZaA/8gv3yLzVN/TaRee85rvmkyKKNS2VtWK8HlZ2gtCWxrnEis2QG7M9xuXCEEQvu7kjla08lrf/c9J2PRrX4Ci3T0///aHc5cdPHN67c= 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=XdpthIi+; arc=fail smtp.client-ip=52.101.67.64 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="XdpthIi+" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dxK+wRI19KHGNCtazkBgAU3d0PjlxkLl79qnhZnfoleck2v4120Y+NDQ7PmqV/vfKfdmIVvG3Wejd8h7Nz3I66c+J+NEuCyujeHCQMBqDwQtOnP3l0tsNEMLuI+cW0maZNInyYcwCzbF5iDg4WpTI5Ki4MeYx7BHCFngjFLmve7nGus3+WbcFLZfZ7lYukuYhTUKs9fqz9NMhNKrDnXaVxU/8Ac4ec6kP/r9dJruWvzwgVl+OqMfgXLIwFHqWDruJsayEvQFy3Byu8JbZ6UExurt9C8iFTREeDNgp4meZrzqemNIUnpoV2i6s/dBOUK/hH7t7oFBLDG8FSVxNsezbQ== 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=jzUSrlm+zJ/50bZADmWnNagaGfKuzqI28+YUGF5rjhw=; b=OpWQK5zweH3hRrFT4wFRaFgvwEsADcpz0t0SKU8BHAxOvfiKJQH0bidraKejG45eVR5V0Gjb+Y51o6WXrW7XNDhZad0JxesTLleq3su0AI/NFBjjYEBrZMvs25opOlqYL88/qWw7sUtdwXACRmM3qLR8rmeifY4JZ0fk9/q54Zeg8rOI02EWHkXi6pE8qbOVGTD8A3ajZNu4JJMPPdE2EncFuov9hir8W/P76jzrBBQYaeRkZFKzaIHm2rbw+LDTvy/Y3+a8pUG0XiRNxNNY8Wl4Pdj197gUCP1FofoKauOglwtFohczfqABtFMNhtN9Nbf/7lF9mxjYgGfV9gqw8g== 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=jzUSrlm+zJ/50bZADmWnNagaGfKuzqI28+YUGF5rjhw=; b=XdpthIi+KdM2mjIggtuwin976qtPf6jdmVMDvJEFSUtOtXIBi0eS86i3FbE7xno5TPEpdbfsKO3wn4yVUdUGZTovpser9wkKMgqrw1hPYKyZKsilU9c1uCT6k8ZYZC+LCPi4T0EpdNZ8t0AIOoPVnk4J06z/xc81JwwwCpgVAyKE7k8SBlmBoTqHt8eas0wvVaYvum0xNpiIXPq2Vzmk578Y+UjfW8XfAeq0f41QnpZOXm/ex7KnqA2AQnpr9QgiRxRZS5VXL47NiIW+PVv5NPM+/nrQO9DDcFADsQUKcFZ8JJIkMkDEwiEr76Kok1UuOsvy83G8JUO6FWr+7ywOQQ== 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 DU0PR04MB9562.eurprd04.prod.outlook.com (2603:10a6:10:321::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.24; Mon, 23 Sep 2024 19:00:15 +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.7982.022; Mon, 23 Sep 2024 19:00:15 +0000 From: Frank Li Date: Mon, 23 Sep 2024 14:59:20 -0400 Subject: [PATCH v2 2/4] dt-bindings: PCI: fsl,imx6q-pcie-ep: Add compatible string fsl,imx8q-pcie-ep Message-Id: <20240923-pcie_ep_range-v2-2-78d2ea434d9f@nxp.com> References: <20240923-pcie_ep_range-v2-0-78d2ea434d9f@nxp.com> In-Reply-To: <20240923-pcie_ep_range-v2-0-78d2ea434d9f@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 X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1727117997; l=2111; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=xBMVKn21RPS80T4SAkqfwyKN2vEMUSzyklVzf6tRkTo=; b=FR05rrpUQQO86aIYr2NrF1V1AbdgBT9zKqDtShSLI5OhRFLw3ZX6PSX83c/OvQ7qlx/yFG487 A0TlTWIhH0uA90R2FfJvWNWpe5z8VlFDdOBx0sA6GDvM0i1JJ6tt/7M X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR13CA0065.namprd13.prod.outlook.com (2603:10b6:a03:2c4::10) 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_|DU0PR04MB9562:EE_ X-MS-Office365-Filtering-Correlation-Id: a2f8eaf8-6797-41ab-c2d4-08dcdc01f55a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|52116014|1800799024|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?c/cDCvinujFcIXMkH8783ZyWS1rHTpS?= =?utf-8?q?id/dpulEAzwvko6R2Hq0O5DveMcgQq+u2f76ge7EKtbwPLYbjd+IJX9kRK9hmRmjQ?= =?utf-8?q?FoOajmhYYkEDgSOI5cSwU663sKmwtvVvEpeO/KZHs7pQtdakerNCM1s/+y5y8BGKI?= =?utf-8?q?C3JXNMj2MEmXwkXZ7P7PgtIsdm3A/ZAlb+r5Bb5pgHMtaL0abttr8ng8qj0D3UNT+?= =?utf-8?q?ykGXxOfE/RGdmpHXg/B5eThOhpKYbyS93UX/SF/OCMap5k9nMN1H5K0Y3boiCA8pe?= =?utf-8?q?IZ8TQR0juLQz8y7FVMOlE/frbtrWXYtr+jxIg2IbMwcs3bp44Wi0746s2mdeOyYJ3?= =?utf-8?q?5LEwrLbbzORWVwitlJiG+HYABz5z6PPWxNXMKveGiIjSmWl32LmKiPZ+xUa1QVL+p?= =?utf-8?q?wriks0QpnEflX6ViZHB5Kfnbja5D48WOLZw8UGqblh4oVXZ98hvhvKNqgWnaMZ0wd?= =?utf-8?q?XRuM5KBRV5vumKsU46LaVzYL9I5YlAhy9B+MaUdCw6/rgK0BCAcfL7XYdszv8pyCH?= =?utf-8?q?G163aM5qDml+FtDDtrE+AnkdWOUMJwsiRayAQ+EefpkKTiyH185er9eFmVxJKF/H4?= =?utf-8?q?Z861SXsMAXSQNpYUu744kpKj9lV1LSKgN9YSbRU5Ivqb1Xxdnz0ZtzAuzIitC4INy?= =?utf-8?q?oC09a5eqBMEHZT+5S2ziDRGRB/0QPkJ4Z9TbQrGnXOu+y1L6x/lBG8jVQeF2eW3cH?= =?utf-8?q?8xLhJTNPKhI4H00YR2q1uC1Pc/12Yn4k/x3PayOFyXht1OyhLoYmrVXwI4VaoKuem?= =?utf-8?q?Q1oiE+qb1tWGEuID4prPJhaOqsy+hg2NQP5PX1sotN9UPoUwzoOKlSXFzOK5jNce+?= =?utf-8?q?CyTjQPjgZFgGcVNLHXe/JNjooGYpEfE3ZHiPDOUg7t0W+Y8lHXcUvzPxvxIrFdG0m?= =?utf-8?q?QMwRIVCBFjgGgQSx1DcA6CF+830LoJJe4GS/qiuiPRq08dYnMR/YF++gw7+qJOyfF?= =?utf-8?q?VnWLbVEg8Tk9xmv9HMb6VDLtefeqiWOsPsHIWI5906Ji0t0VGCLQXPy572E3rI7ef?= =?utf-8?q?cr6vGj0SI8e/vAQiOlqBOp9zXm+XPeNJLKntGRjg1dYtJ8pHbwONBklN+00/X62u0?= =?utf-8?q?ENNG8QKL/YunjPtJ39Fq1EPDRpboQd3+Md+dd6t5GmnfPnEngq9EsdeRx0gjdoLJD?= =?utf-8?q?2AxEJb9Vpmf2NtHwWlDLT4/GjsmFDDP2BWDhyceFzp2X1Rl9PeZ6szxCLKLsf5KpH?= =?utf-8?q?cygIAx4kdQaFbuCrNT81YS63S24UWelPimI2KV8B2J4d6UzAdGhyLwj1NRWdCqsId?= =?utf-8?q?ioB9+caurN+N/YyM9OG/38/2xQoz0pZoatUpkssRhs4CBCwnLFFvGKRw8NDjoy2xJ?= =?utf-8?q?qhM5tKX9xiJKkdqQ10LVL2Hu88TYJFhUbZfOlnhTaOnma3KfhT0hU7Q=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)(52116014)(1800799024)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-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Bcwq7uJhm91RzpJ+Aw3leXVrYI454KnCIDBWC366qtbQ?= =?utf-8?q?a0BxyAGD1jjBxsx4VZ4QvU4kfUq4pU7DDwpIh9tXqNDqQOnFS1Eg77dwJit/O/IbD?= =?utf-8?q?Hv70zHbRfnrJqmUDKeq2v9vLkGLZcefCJCtMWvezaatoGcYhGXeSFB4Tptmp3yr7z?= =?utf-8?q?JdxKbFjgutxjdgpjoGX5zZTSdH40BtvyCHMrmls0F8wGCOgxLaKEpW5jCsjpKReOA?= =?utf-8?q?y5jcprgx/D1qDj91AnmOdeoHlzne8Y9LfR9cC8grvT+vd3hlxi9BpIZA/cde0SFWv?= =?utf-8?q?SBxV456eOekMhAWSaAyNLcNOIjvjlHyZVMkox6OYgcP6VicwUl5p5v6ct8rTjYCp1?= =?utf-8?q?WBinYU25/9PRCq6pq1x5d3WueHfZgjlshQE4GeEExJR9kE97MDUuWxnLQT4A7T3WR?= =?utf-8?q?zETiYFYHtQBvWaWX6rKpppZRnpDI0SU5k4vYqHEU1kdrmaFw8t9aGssz7WxF9cnxj?= =?utf-8?q?AEN6E3dDg0peXnIoThW8CiPRe8lNa0xCrZpWxhRJQXrJSF/8WXUQJraPGJcVCqNgs?= =?utf-8?q?ftw38oBik7SQUZiwRMFGS/VebGKDpOdSVmJFCToVAjM2cORqG1EFn7DbDK7YinSAM?= =?utf-8?q?FDokdU9XH4Xo9inFXL6XT/n0GUKWUI9/E85IgCOhg0eiBjp5w6edm9Tc=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a2f8eaf8-6797-41ab-c2d4-08dcdc01f55a X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Sep 2024 19:00:15.0036 (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: ob/c7yUZwsGVS/HV9ppGjEUeM/7CepG+PwSNOYRW0SEmDNnH+/c7KG8e3eOeRTMqFG3EBkcOglvulWVh3sHOrA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR04MB9562 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. Signed-off-by: Frank Li Acked-by: Conor Dooley --- .../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