From patchwork Tue Oct 29 16:36:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13855154 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2061.outbound.protection.outlook.com [40.107.20.61]) (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 13A602040BB for ; Tue, 29 Oct 2024 16:37:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.61 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730219837; cv=fail; b=DDNnsj5O1/TYQtvlZf0HHjXXuSSrm2StPVIhKBhyt8nrX7VCtZrbgMEUU2q5VdmEQTLfgWkIlWjTem4QztdnHY3+teeRzKoyK4toxt70/e2BUlTkXSgiIPIcYANcH7UMp1nL+Dpbvlf0CWKfyCUIAdQCsKrlFu6hz3ctQgNiV6M= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730219837; c=relaxed/simple; bh=UZs/9ItHp52qTaKjFxZYB4V5+jvB1u6qYUMVnsusbtc=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=Rg5ivO2+oMnYKtF2lHr6jzXCl4JfScenSuzZv+y/HNSIrlVEYvOa8+us2J5vVMiioEaefL99xWFAJlGYErC2DVQ4wTmEx9krfzIYVSmD0zu87wu7gaAR/ccnYxfIxJSSxXL9zsxUbx3RSJP2QG2QRo2F/vMrrkBUSBixU0UPJWU= 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=lxVMvKBb; arc=fail smtp.client-ip=40.107.20.61 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="lxVMvKBb" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=L7Jth3E+fJdus3LnAmz2khReek8JkSC0lOvN8RA8aBa784ChUbwlwR68KUK3Hr+KlEbpmgDFz/ua0y/Oo3IRKb64pZ9Jy5UhVlFJgIsBJ/R4s/+6yHrRtd6OIv/LEk0u46tPY7K+CifYFu4lVfwoPidNj+foXtQeYAU4uIFiQs3LhSrJTQPg+TTGGssU965/I1FX5tFpzq2c+LKYasrKrsFlZqblXVLrIi2NbKxhcs5DuzgpWN5DG6rJnvga1xPxuIgU+GcOtSSzJBHkKKSna5V4npS/yKSX7mrJWyV2Ev4GoHswQgdQrJn08iVIeOSc1EJciWKKypVMWzBjaittqw== 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=R8W/MN5dTLwVKfDTf/LqjNNpJdK6uYbSr2j3BbcfCR8=; b=nkxYPL0K27obdxLuuRiyDQ7Y9yapw6maGga0iIkNyVr4ogoggA0av4eo8HFAdU3J/PElOk6OHnZ+S2J77S6sKNAoFDSxtkW/IPfNMsMU9yS36f0tHWxoltXvDXmh8iQArVgaO5psStiYmaCvfqghN7ArRjLDqZI2YglCutNs+uNyYO+1IEYoGVnp7Ej/dRxf35UGJjxcCjnKN7RB4Ntzg2qeVtl3iGfx405m79TSK50rjckgO5OEre/QKPgmFobFBz8LFl3/sL04SYelFFRPprO4OibbDL7l9rTP72doEygutHqBvU9lF0aOa8SLBDBSEW4Sx8zse4Ra9/QsqZVB/w== 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=R8W/MN5dTLwVKfDTf/LqjNNpJdK6uYbSr2j3BbcfCR8=; b=lxVMvKBb4SP5DU7U+SPogvjJIz55a+eKqURcUXExzC4TfWGFNF+qqO21Ye2uvU+J0iR40Ro/ueyqfC0UGSjBMxI4nikOI3B2viEge/TBS7kFYc4I44rxnsz97Qxqvwnsd/dC4zqrlmGlyD7nv64F37CZuWzu3sWwtFUIyiFiE5FsVzjG/FSp1wqk0lzUXAzlY/jBRPLOfW65Qh/jBeA/4Rh6RTLq3lhAPvzPSafyX2+QLSkINrCjIrBrehASa3fregL2zA3G4JiZiTymtZGZJ7LHTDXAb0nQCiKL8vnGKY77DRDevzXnWQBDKA28Dl0y9bVS0fDF4J4IWIFiqbQeZQ== 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 DBBPR04MB7577.eurprd04.prod.outlook.com (2603:10a6:10:206::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.32; Tue, 29 Oct 2024 16:37:12 +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.027; Tue, 29 Oct 2024 16:37:12 +0000 From: Frank Li Date: Tue, 29 Oct 2024 12:36:38 -0400 Subject: [PATCH v7 5/7] dt-bindings: PCI: fsl,imx6q-pcie-ep: Add compatible string fsl,imx8q-pcie-ep Message-Id: <20241029-pci_fixup_addr-v7-5-8310dc24fb7c@nxp.com> References: <20241029-pci_fixup_addr-v7-0-8310dc24fb7c@nxp.com> In-Reply-To: <20241029-pci_fixup_addr-v7-0-8310dc24fb7c@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=1730219803; l=2245; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=UZs/9ItHp52qTaKjFxZYB4V5+jvB1u6qYUMVnsusbtc=; b=4epCvFW/6EZO1xZs7xlAeOR1Zr2YfkWMVGeyHsFEPIYCOd+4quY/T3i3rit7D82dIGNoJ+0dB 52tIcdI/Eh9Bio8LLIbzAzvLjpbpDzNd0e04kopNakSKKDav2T95wch X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY5PR13CA0035.namprd13.prod.outlook.com (2603:10b6:a03:180::48) To DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) 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_|DBBPR04MB7577:EE_ X-MS-Office365-Filtering-Correlation-Id: a3c8e11b-850a-4637-b0b9-08dcf837f062 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|7416014|52116014|376014|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?QC4T8ujGntK27kXV5rbsLgeb7jjRa2o?= =?utf-8?q?h9fwYjIq9AZjvIGq/mcZpFefzy5GhyU3VvIh6PKwqpdKWPz7EkJvi+E6/QavVYo9a?= =?utf-8?q?cUpflLNz6ocxZ0B7Jyrl/A9aUzMZPXDNMad6nHk3C1iZfHvIPDw7fW5RH2j7qBfX1?= =?utf-8?q?2srrGwaUQG264fnXCdkzXZo2LGSbo1umICofgcXOYznASz8QOqLX25maQLhRLytaA?= =?utf-8?q?3Iq+uuYjPanS2s1NKqHYy16XAWE3PMC4IqvWWqY2AiiG+5p0gEDLB0xzw3cMw9kaZ?= =?utf-8?q?J863eh5CNrwVA8s90yfAs/JY3G7/iOpelgxi1ZSgeP6G3vBGYXZ6Sh19jnuuWzSL3?= =?utf-8?q?abfTJ3EkvLhp+8XbJnDYd9rSRxRVc6UH57So/H+CMjeQL5v8PjCnziLxJYGRx0tRn?= =?utf-8?q?O2tV6SLzWSGS3OgpfnPUE31y3beavZTDk1GAwJUW38D9BGcAXu/YeVBgsBRwnr0dl?= =?utf-8?q?m5F+5yXvyOuYJIbyLJbcIoC1x9Koh/HOZAvMzNAF/2FftxkbRMB01dgFrgYSDYf7g?= =?utf-8?q?jTHD3/MUnjh3QqU8FRacuA//zInO2/GcS99f9lpthcmAnY+Ou2tpaTfdwEoFip28E?= =?utf-8?q?/zwKczgVqqJ2SxYzylA0ecTFZNza/sUtfF5h3MOEIMLkaDJp7EFnySDUhCAOWo1uu?= =?utf-8?q?3typ/wnpYYY3TDjz1kQ/AadN5o+w2KKaiOYg5VE+SnWcD15sgBpDcdKHl6X9aYK3v?= =?utf-8?q?T8Mj3OhnO3Ra1OlyZf6L6RFCzs1Lv9nHRLMlU0WikSL33zzo8R5n7kv1Qf9U8Swz+?= =?utf-8?q?iFJRjvIjZnV6xjJiWbLPLUEV5TrXi3/U4I5chv48BFy7S67o7sakO/xbF067w1ub6?= =?utf-8?q?7yxip0ka9RbUMRJK+PTFf6U0r356QnjXP8uk1Or1Yyxqezh41Q7DI+YowHJVSrluN?= =?utf-8?q?q14XjIBSP0d2L7DECVYwFwYRL2SpbTEgUR8EFa39idusNZO0wcETvmIzoCBcL3N50?= =?utf-8?q?FBkv1UGUW+WKVEfOM+a1mffIpuoML5Il5ALFdy3suahqAPdZ0T1bZNi2LOCxiVdIh?= =?utf-8?q?/PE4awP8g4d5Wb/UIBxZfdCiNX9nsKb5pCYOyxUSjsyo/jS4qxmlRj/3fKgVRHMLG?= =?utf-8?q?VgvCMZdt4Dpp1UaP4i4zjV4OmRqI//M7b3KbbscV7nqjXRitvyUsllzOk4oHmEgd3?= =?utf-8?q?QCTeF7q1U7Q2jhfXxMtXZgRFG1vpdPBiSSSLAUAROgw6Ptas+fZxnL33bZGCnp34S?= =?utf-8?q?eMaQjuNG1gFMB3vEqk11gXJX8TW8Pplbk+xHLLHxJ5VD7gwE7ejAJgYFFVTvj+GJM?= =?utf-8?q?ymozxu2OY05atTuUbUZ7HNFwwYRBQud+8JNVywRZcnSGf+iEqWfDXMojTMkTT2znB?= =?utf-8?q?gB8Ovp/Eez5t?= 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)(7416014)(52116014)(376014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?zixWWI6uKP0sZbz3iSQNAe4iXAyg?= =?utf-8?q?ROkPLF2jKAkwBqnYyZ0K5R8Rvjc2sDxgSPwA4kFy3LnuGZg9zIkHOL1do0Uwf13WK?= =?utf-8?q?RqVzbnVzm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FZDVzqyFsFkGCWU8F4Q8ekXX4iEfHo3lc2xxTvypxBwL50ArVDX3zd3DMzDbv/KS?= =?utf-8?q?2CpV0GnoEpKLKe4HSo8UiqwGZaqyMo5Pj0HtgZEZs1OxAEXAg+sDSnceABd4jm7d7?= =?utf-8?q?ptZcACvzxonNxFvYkogu/NMm2cqBQ1qjDjEAfa22yK1kkcp6wyipf21OP1kwnM3QG?= =?utf-8?q?T5R9FMcmbZcwwWcjzTXuw4dS3CkCbJPIeGrS1bxpbrmLSJ6vaaJcYLNn9wg4hNpBV?= =?utf-8?q?NWNtAs6Jy7bIGveSUAtc8P3qW8NeX+DJypHvFPzgMIi05NmHDuBtlmeRgsH+uJmG8?= =?utf-8?q?E3WXQfQ+uh+3oH9w1f3Q9s42mSup6aJQgjMhc8pof4gJpHQ45r8LS+PjJSaplizuB?= =?utf-8?q?P4eAI+z/ZLJKtiKXLoiZnSBz2k1IF8uoKL6rXNFbRitrYAduuWA0w72PlnqkLf4U/?= =?utf-8?q?s80wJkfqNTbNiQmbN6JXGDOInRwBNmQjKxtkgOquz6MVwFkL4V1s2nefMR59/+lUW?= =?utf-8?q?SaxTqyQ9VHBFYg0cV/ApFZ9an48V/9xuQ/Jj+RFymN4TEulg8sx/4tQroFwPl12X6?= =?utf-8?q?ASUobgWuI/EF?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a3c8e11b-850a-4637-b0b9-08dcf837f062 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9626.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2024 16:37:12.3294 (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: ooMA0Hj/I63qBY0jcnHG5f9ucnmdZgGpGbkFEA+y9VbwVMOZNE+W4CNMBXIuWYSr0Vi0fcL7Uy8OaZSjeOkSzg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7577 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 v7 - 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