From patchwork Thu Oct 24 20:41:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13849693 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2065.outbound.protection.outlook.com [40.107.105.65]) (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 7F58C200139; Thu, 24 Oct 2024 20:42:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.65 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729802549; cv=fail; b=l62X/KnS+89kgPuVr7tfNfM2s5PFYnlmG2KrgohctY6Zl+nCP0Mw2WinW/kkTx5YSTCUPZm9LUZ9MKXN5MRUwU33HLolQbBjjI09V6mRsgyp2bRXY7R7iuQK8AB28ScKvmPPDYFCAq9EvUO1i9TXuKPLDMzJLWELDwBg8KMPoLU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729802549; c=relaxed/simple; bh=m/FwtlHiYrAps1mkcMK3XbQDbcLOYoRH/NBYh7k2Qns=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=penub7pxWh07LbUx5daoDb5r899zLQ4OzWFh0dopqk+nTScSFawL3m8w3FNaWWx9dNl/E4tDOrLDpJJHL5pxlWKFXAiaz78vBv1YrceB41bHtfxoA7QCY/enSuDErEPN7YMr7DsgGVmkuYsdE2uTB1S2olEIPLmIeaNpYKIy3R8= 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=l7BNFItf; arc=fail smtp.client-ip=40.107.105.65 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="l7BNFItf" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=bljI9Mf6hGH42DHGdy0NuYDtWrOqv63+s7H0pLmUuQa3QZ4uNl0EZuoM7+ljQjREpa+EupfVgjqvh0En9MbcZEZymVSSx/LxNZiTu+pmX2kB2SpSACUNcmsx/4pLnPfSoIsio6AJEIwJrPtQ7kBdoibYfl5qaTPXvgP3E1pSnJ8nEAjrpDsHpCZ7qeAuLHohWISC9qKmr0TEDZDg05pZF/SHVzPf+RF1MdD1rNK82xkIn5bl2vjHVwWTL8r9bYUMrAU0uQ7PUJ7GGDHNytubGwPmqVcY33qusHXyVjrnXXD8aYfexxquE1OKLgw2FFo/xJM2gzWamKuNdGQajn8FhQ== 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=eXSC/+4XeFnAaeLe8Zg33weCJ32yXdCxNoRWfCy7Uys=; b=jPJ250TGut8KfzTBpR2h6a65fSoKqNWkG1JDVqv0A/Bz3HkPj60M5kV6oApWgQMiloPBylZBEkvsbTVUhmXy9rAW81k6B56oew/DpWyL4IJkM0jTtI9pRx0zLR3oAWzEwdWfhJf992k726v5DBPqkiVy8yq12rjKNrxQxvdLfhLuknmBmjHw4p5j23kddJ+t6KFHn0XOmn8+Uhhu3cqbQvyHhC0WriX7jR+jj1aVhAO0Qz3tW+whRxXR3VV02rzwrU+omW0UwZXZ6UsEXSmGVG1/2PL4e6gPnRHpTFZEEgVHea9TKpOPmHUPtxj36OePial7YqVHUHpCNkmbHTkJ1w== 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=eXSC/+4XeFnAaeLe8Zg33weCJ32yXdCxNoRWfCy7Uys=; b=l7BNFItf6g8Gu2bhdZ/eQ5e1eArF8GiC8T5MY+8zKfOldSZ1UkoCEvya2i9ZWWMDIBRK7PDg/fL6BIwvP7zPPRFK75+8o97mOPTzVTqdsXpLkyp2xNaE49ZkeiR8pmUVLutu6uJyQxvimsOSnObgUxPefzMja/8zigfWBxhhSwzlXbtLTvzVk4nM3ls6H8fKdiOVxEyLnKzhK/1kp+bpiNN5CNYdjTpr4DW1bWgrBvLEl0YFGRCWb/yz37FOLdk3ep2hfauwh0vM5J+K7XtQee/nah8P8QccrzueVe4uKWCmwjycjwhwjStuw4gaIdcVWCXqFLHwMqYkdAXwURNE9A== 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 PA4PR04MB7517.eurprd04.prod.outlook.com (2603:10a6:102:e0::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.21; Thu, 24 Oct 2024 20:42:23 +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; Thu, 24 Oct 2024 20:42:23 +0000 From: Frank Li Date: Thu, 24 Oct 2024 16:41:44 -0400 Subject: [PATCH v4 2/4] dt-bindings: PCI: fsl,imx6q-pcie-ep: Add compatible string fsl,imx8q-pcie-ep Message-Id: <20241024-pcie_ep_range-v4-2-08f8dcd4e481@nxp.com> References: <20241024-pcie_ep_range-v4-0-08f8dcd4e481@nxp.com> In-Reply-To: <20241024-pcie_ep_range-v4-0-08f8dcd4e481@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=1729802524; l=2245; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=m/FwtlHiYrAps1mkcMK3XbQDbcLOYoRH/NBYh7k2Qns=; b=m5Z77eCpz0KfGVrSQ8G0m9mY4FDQI+h8dn+co13soG8oDM99wh1tkact20JO8Dq97bxVTwmXl 8Rg0Ag/aq+fBFEC6ofPqGM7cpioVoj1k5bTDGa47/3tj1SYOq4FrMP+ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR13CA0112.namprd13.prod.outlook.com (2603:10b6:a03:2c5::27) 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_|PA4PR04MB7517:EE_ X-MS-Office365-Filtering-Correlation-Id: 6cea029f-f71f-4246-b4ea-08dcf46c5d04 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|1800799024|7416014|376014|366016|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?yX37Vk5tIBfixdLRFCjJnFlgEuHcW4v?= =?utf-8?q?weBeGdVmpznY/SX4JmHu866RSOlCDBMD9bRogmrga8X4dEZ1klMeockhvvOq1wXrt?= =?utf-8?q?ALDASBAnIoPjbuFU19T9HWf/lwH0ACBS1AR+L6QA/s18yFQ//+peGQartHdAuF3+M?= =?utf-8?q?ggixzl0t0XCGEpKGEFhXMgUzF/BV2ij+2XZbYpkb7PMxMSF0U18qYZFAOZgDcHki9?= =?utf-8?q?nTIx6wd/u++yuDgWqgsVec/2dQqqpIx+WZpNRcW+DoHrw/1U4SmeRVtAC6NqxNOD0?= =?utf-8?q?HQy+aptqa5X3uu11jXb2WPz8jcaiPTD/udFyy4vnR/n3Uwd9xhxNijcxq+WNU/qJs?= =?utf-8?q?Yvl0Kdu+kVzr/ZDVnmVz8OFe/puS/Niveacfh/SrvVIicQS3WXGI2p9yBjRo2ht89?= =?utf-8?q?YDZethZjjwfJYPTIlU+tyANwCvxjDTAiPrPldOeq4Ecdjda+w8X8SorVgQhLQGcG8?= =?utf-8?q?E/lkei+m2csMbHgHn3Mb38QAOxehzLr9Q+PRD34+8KxG4MnoeLlIR5548oxwZ9js0?= =?utf-8?q?5tcHTxwzVCO4EztuLcrHqhA93n05lu3nu3kAYRwz8waoK/5dX23Htsl89iPb+TvtX?= =?utf-8?q?xhIU4EzyLe5fZFPywvr8iXTYkFzw0nrr6koMYzux0ASTVCd1Wzu+SB4B9GounipEL?= =?utf-8?q?/+Lp4hA1cOAhitTUF1dtgImzHP8dmt+Dldz3gruJXlqimzRn7TaFfvO8NGmV6FR6O?= =?utf-8?q?FnxX3I+PSCBqRA9HyDFMpbeZfJ3QQJcfeozw5g1iEPeksbjiKSbqZlfJy1RymKLsg?= =?utf-8?q?P7EdBQYn+nSBR/Ymtf+mgyCJmioQJj60v9aHU96RJ0SsvXN3KJZSjVlMrzfv3NRig?= =?utf-8?q?XpEDq/ENHFyMgfYoFaUjYCV5tC5DXH4SxzGwHl7nhNiX4tylkF9jDTVXrdQaZc3v2?= =?utf-8?q?toTrI81sY82YCFgVqqDqA6VlAwG40ZX8YITUzIYbA5cZpcyiSoEZQJtJ09ioNPU7I?= =?utf-8?q?d8wtjyf8qJ6kyLHq1HvosYyYZk+rLxAo8YET67+hDff+S8Nhr4hYBLqlYBgRr/lX0?= =?utf-8?q?bRUwpFMiepsfJivWWVjpgBSNZvYfe989SZgLYoI7EIaWUQh7bsgy4TFxQXz0+a2k+?= =?utf-8?q?yh21UHkUfNP/RMA3GTwkHk7MgadMh0yUODICEwVsQISLSP/AIAJXNY2wfxant2gGp?= =?utf-8?q?/GCu1AJtLto4yf8ZkjzSytQN+adwJoqEBCS5IYoGRGCTnLeKStLYwl8q9C1tjQLgH?= =?utf-8?q?3tiQ2Ly2mb0MnlKNm9GqY/HLQhO3x2QMh+KSJzTdH1MjmNmu6buHh7P6oacY/fKRu?= =?utf-8?q?R2cJ6bjbSgRJuC6ZaPD+dOP9T8SPPfJhMHRYEwU5C/e445yNy3zz86Pr5FzoxGY6T?= =?utf-8?q?hFXcw/zFNPOK?= 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)(1800799024)(7416014)(376014)(366016)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ZwnxC0w3yJ/ppq2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xwfgR?= =?utf-8?q?YdPBK2v2Me7l2uD/Svny0UBiLUpZyj8fIlGBVQOAH0kHiP2pAbcBTbrzpYUsqAcoT?= =?utf-8?q?XqBqW0WRMbf+NctdK8qiaGuIgLKl3+pxmPi2X4ytcKviuk2WF8HkVKilPC0HDz0OO?= =?utf-8?q?1qE4XQgsmFVyFZyZXnbK7QwHR5wP4/KfrmY3DYCWMN6uLfPB7ECGmIeSFo3A+gOcp?= =?utf-8?q?sqV1CBZ/YXrW0MzOU/YZnmsMOyFBF1ZiUTN+hQ7KidwOBxu63BKVQGBBmGjvwTj3Q?= =?utf-8?q?v4AxWN0J7zNNyaCxzqeZwSvJifrmd41QyFyJHJ57jppetbBOWOhoak2k8KXK/0bIl?= =?utf-8?q?bEKTcgsDTGDMp1oaeCrgYkMtExhUQsigP8IWIdB/dtyQODOEfgHnHAs8EFDPitQkd?= =?utf-8?q?Ujhi9DQqiSx2PPd/ZOgG3Xv10f2c8B0QNwnN8Mo49j28Jnyt0vueXnoj+DZZy6dSS?= =?utf-8?q?sEI2VA7Clqm+zf6YfG210D9fOPpS4F+Yd+h09z+gCgnMcThQ7qGd5iki2FbwTgRlv?= =?utf-8?q?DEy7UorYoTSEZegxMfAfpySW4iTrGn6aEv/5rdbVZeC7fAu75+FfvSXXH5/mqyG7T?= =?utf-8?q?gfd/WT9cLTolbf7lVUppYdF9LFM6MwaGpkWkgut+zjT0fBn5yJ/z4wl11rt7PJ/Ms?= =?utf-8?q?8ZL/ngy4w4iH?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6cea029f-f71f-4246-b4ea-08dcf46c5d04 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2024 20:42:23.4826 (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: JCRUNEVf3E1iSwfEJU5Ca1FimR5vrLD08ghUMvRIvHkEx9LtYOo6I9WzNTNEQQMA4A5yE0xklOi6ph9rrvNqrg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7517 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 v4 - 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