From patchwork Tue Nov 19 19:44:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13880482 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2077.outbound.protection.outlook.com [40.107.22.77]) (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 A71741D54E7; Tue, 19 Nov 2024 19:45:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.77 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732045505; cv=fail; b=KBVIprrwE/Q681PvUdqwsU6KkqX5hpo5hfB2qbLN7FKykyznNwOb+gsJkwWm6R2ljraFLOLfT6Ynoxibrc/gmmWb0v3gsdAK0JKPhFPo55MJxbKaGn8GhL8qs/Jw5+ilMS2wbQQO3g3t+hNxg28Cvt+TXiuZQe+8qC09hzuXDLE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732045505; c=relaxed/simple; bh=KCFf/kpOBLVWg/CB7YyvqJwaYB8a0PfjuuAqUcU9aFM=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=OT+fhALNquG9dhyXf3VSfp7MrROXsSSWQvLEXVotepq8L6A2kO9uLgcE7xO+Uq5Nb58+R3IAJKEheidzB8bj3rGYyC3bng9ElR/OyEi8E6oafJg5Ki0YTowrD1wSofrLU46RluYhzFMWJLNyT0puYIw/XzkRhzOoY/pAVfcf0EI= 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=iyqxNOhv; arc=fail smtp.client-ip=40.107.22.77 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="iyqxNOhv" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=s7ewZ5mPiaQyy6dMT5pbLEjMVbMMF01UOtunjOQa0aHhCfkCA7DWjPXc4c3MYYSnl9+Io/288SZ7ZJMiquowR66Djw0HB7IHu1qLKjurFSD3gSERwetxPe0v4dWmpe9b1mq8zKwkf1bw1ix1mbT3SO8ylpelAU07vSYk8E4RZoJoOQDCdU2n19BzzUxWyfbrjd+hphqAQ7vHL2lYNQeDEBudap8IKvL+wsHaIzDS734iy8lM3pTHmyIfrrvGKdu4L5YtZ2bLqF6Qd/YWpbMlvm+ixgRYXtxazYmAb+2QjABsRAW6GLhuHgqDYygmsQ0+j/XYTdiBrtPmvMnUlPScqQ== 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=xo880m49XDBtiS+4QbnI4MX0ENP0IFEjlOSwgPnwq6Q=; b=Z2BDKhZwIjWUp6tAxQzQh7cJyoLwVO1XGIrod2j/MB5RPsR6pi8vHHKRFUKMqptv24WkWcilGPtiApQgDob3sKrnzh/1YeD+PYs+3TSEg+sF8nirjCHYSQqtf27eIjDmbYJfh+T8lJ6VYgUpclJ63TxtS8c/eaHHfztFqcCqJn751O1613Wt+qOB/RauPRWGPYSlJVX1QUDlvBbx5KVl9Rk4gkV/kUyAjwUV8nI6TZjVg6oYWMHqrU55yRkmPnamUFyCs0xGRIZ/gr1tM8xbx8Vq23xOYUFPfSoqQ7iyNW+KundYaBXLYV/UmCUO6jPAaL/kB2vXbBJ3+VA+aGeZfQ== 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=xo880m49XDBtiS+4QbnI4MX0ENP0IFEjlOSwgPnwq6Q=; b=iyqxNOhveUk1tiOHccV13C+uHS3Nuchoyqkv3Hs8BzOWHiH/LJy8y9B9NHka3nnxoUutnuQ8d4ebzLgCrs/6g/odcCXTGL9Tc4B89lFbqYf3Epe7r3w8H5j/ES5GS1YH4Za/eYwLY3PdQXV1knkosmJf6NglrtNRsRVs63vx6RdLrWYZrDr8/kKEjCzL4erZCRErJP1f3zEsML2vGQKE8smYyfdkftRsZ+n1Ro9jqmOEkEAUWCQWFaWnc2XErL5XU6WnrLdrTnMLB57PlNgtgVSOQGyKg7oY86mp1FuzW8gRaDV6WwyLNkaIHJCaEn0z0Cy0cCjX1Z1K3F1c5sZP2w== 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 GVXPR04MB11068.eurprd04.prod.outlook.com (2603:10a6:150:215::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.22; Tue, 19 Nov 2024 19:45:00 +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.8158.021; Tue, 19 Nov 2024 19:44:59 +0000 From: Frank Li Date: Tue, 19 Nov 2024 14:44:23 -0500 Subject: [PATCH v8 5/7] dt-bindings: PCI: fsl,imx6q-pcie-ep: Add compatible string fsl,imx8q-pcie-ep Message-Id: <20241119-pci_fixup_addr-v8-5-c4bfa5193288@nxp.com> References: <20241119-pci_fixup_addr-v8-0-c4bfa5193288@nxp.com> In-Reply-To: <20241119-pci_fixup_addr-v8-0-c4bfa5193288@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=1732045469; l=2245; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=KCFf/kpOBLVWg/CB7YyvqJwaYB8a0PfjuuAqUcU9aFM=; b=EkYvMVCH/Bzr/fRcfMaFf1qNPMxU2/f3B8LGbJF8zNEzeda5732d8hQ64ffPQu9js4BxynKzw tablQmaPlhKCofN9MWcbNDZJa3YsFbY6j4JjpFaZggAlg/lluGLeH14 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0009.namprd05.prod.outlook.com (2603:10b6:a03:33b::14) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|GVXPR04MB11068:EE_ X-MS-Office365-Filtering-Correlation-Id: db05c448-bcd7-43ec-1d57-08dd08d2a73b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|376014|7416014|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?ytAD7DPH/LfXaJZLC+bUQBK5bmkaHjL?= =?utf-8?q?xPBfQEv0O/5HBqMLP9nSJdB9NE4aePGQdMD1tT3I5t+y/UYR44AVOauWwJoN/Fctw?= =?utf-8?q?Zg0XToczYGtah/hQqIVMk8itVQAb/I+q3mOaUqb5MZav9OF7Zu16GQmiaTWUMI4RT?= =?utf-8?q?W5io3GdS8Prh0GGLE/hf3ylCZtFLJv9dMQBph5B0E9cRBmL16p90oIA3ZaNHLgw/9?= =?utf-8?q?PGV1ZTRMPxdN7AOtabVTX8dLHIsxMJ7cP/iI4Dxb3knULnY4SbOIsTbG7sJyu9Z0t?= =?utf-8?q?4l1IxtEEIcRtC00j94Ts6gNLzz18NgAkD0cfEvEFGjoCtCqGFSHUXRPceIxLfp1qu?= =?utf-8?q?deZ9mJhefHMWr2AZA3qkfOLxY0cRA9IOqhWGbq+TEeOu9COor5FvPDjoMDpgLn48o?= =?utf-8?q?xcRpI4JwW4UGNA3rGvClvii8kgWeKw0CE6u7tUyC01ImF1xRDl4F1gWDKoLK9j+jQ?= =?utf-8?q?mz3SUL+LQ+LtRLGKwmSPHvQsKR8+TnWDKFf/HisPzDU76H3OJ6qX1MWz30BYHNaUl?= =?utf-8?q?t786gsmUoOKYG8wu6JMLXPA1h2M1+KsmznFPF6i26O3tBgOOdsPNGalux2toallIy?= =?utf-8?q?mPLZrLWlQq594+Dg5cMaWKEansv8lnIhjIAQ4vm8Kla3rY6HGuOi3enrsKq74bcxZ?= =?utf-8?q?8EG4hkPOOT0kBwGJgJqP03nfrADcq/72Pmwiby7NdMfkJo6HbOxoSpT/vHBuhG3J+?= =?utf-8?q?naM0H074oZw/P048iarkACl4l2mcNRcLQDEzX8BAHAPGe6CEso1xTH0MLMzjiBfKY?= =?utf-8?q?a5OytC2R1rsQQ7JToaGzyY9Cxny9lGZVCjbbvzBxltRxQ6+h9Bp6Zcki5d5HZ3RbY?= =?utf-8?q?CmiF52vveU2mh970P5ZmI8xJRdoDxSX1+/+T47yaSq3o5kQH6OCSaQOWCK6QLjKC/?= =?utf-8?q?MTgkS1giJezGxN8qcSglknFCF+X62CTHW/eQh7AYAnVzi9DcQYUjjQUIpjZGJR0ka?= =?utf-8?q?5EHLqDXwDTohro6bDMN6WeInNb/hul/dAOvKSpQJbeny8UpjVciG4sjdNE/ace9Wl?= =?utf-8?q?XAH9e3hX8DX/yWmyI7nv+C1tpMcNbDNcHggIyxBEtDRwoVm4Ie1HcfsviJ81g3f1x?= =?utf-8?q?+WOXDXrEvIYtDy8cAWIDa4/oXOwLy4EDyBBJCybtpuOTdbmV6M/ewmwgpNkjv/wN8?= =?utf-8?q?VJ++ax92sX+/fA0Xbng2cq8D2raRcpUHrXIQYbeVBDf18d+OBIPPhI76egIvhFIvf?= =?utf-8?q?QAue2+yW8H0F/eJjVlpk0jlnD3rMMCZlZ2bKcvzzoHRZPGamoVMA8cHg4fpYouwMt?= =?utf-8?q?heGTX99TvkwxxDGIBioZz5hJVl13ukFbLTrNACBTk44X2nNEipYxfeQUNrVVHi4w/?= =?utf-8?q?Q8EsUNf2V888?= 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)(366016)(52116014)(376014)(7416014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?kuS3J+B52apbO2emsF4DpouIpPhQ?= =?utf-8?q?Eua/d26k74u22FIX6vzEllvmPAc6N0ecvslrHX8Bi4CULY5Kxy3ZYuTYZcFWzm9Wb?= =?utf-8?q?z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IgKCFYSN6/kh2GzAurUCqp3JQBp5EwwMgKncb8OWVIEce+VXh66S9He4Zoqa?= =?utf-8?q?uqlnEgTnZwOY7UWm+JEgpWlhN3k7npdJPYz/ZWlSlcqT/IyWgD4z+HD1ZQT8Pj6/F?= =?utf-8?q?k+itPLIMWCmFhhg3cqJxsYXS2/LND0bdGANFB+uQTzdY0T40z80eUjZnqbgZcFQ9q?= =?utf-8?q?9hJl9GcqHapePmAm8trw34zceImYLLK11BokbeFI++Xo1YG6EnY/53u3DcKAyN0Op?= =?utf-8?q?sBch7Z0U1q+p/4ZFJXUGW/pay5mQyWPPIc8QMU517xgTLUwq8SnIt/aKexdIWUKPg?= =?utf-8?q?FV64y5ef+45FlBok0JFxhZ2dTM5OSIi7/AXztRYQ9K/WSxYhu8paDfdq560IGOpUg?= =?utf-8?q?7PuW7oucpz8tM8A8Kut25BLYdBchS0Xv7cd9H7c1JA0fGTsBbqYqAX//Zc4BXCA11?= =?utf-8?q?6Fh2315kSjGz6mSMq4Sdib1ws1GbMllpQXZyAPN/red4ERg4Gi8AIUv0luvjN0Hp/?= =?utf-8?q?4zDqobyzN/qmvgd9u2fb1KRXh4vKK39k0t2EZ6qDGZ18Y10V+3HFxGvzShxkm7w4f?= =?utf-8?q?NXieNDzB9+Hs?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: db05c448-bcd7-43ec-1d57-08dd08d2a73b X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Nov 2024 19:44:59.9425 (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: Y/rElYdKCtK4aoGvI5kfRRVsOtTYGVOG+NePP6ANUBcA3FSjm1uqUOcmWB2AktpAF0fe8zJ/KqklyoQaG0i6pw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB11068 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 v8 - 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