From patchwork Thu Sep 19 22:03:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13808012 Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011027.outbound.protection.outlook.com [52.101.65.27]) (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 46AA91B3F30 for ; Thu, 19 Sep 2024 22:04:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.27 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726783463; cv=fail; b=RTqpG0lbSXPzHPmXXCB7G6h0rjdtqpcwaA/e3v5kaboGDvgc3SyqCVGe9ILpd56NMY37FAKHIPI3Y2VfCWDPUTneXdVdS/n6SRsNa2lTgdvmHaa5n2oEw3IRZeODTPF+ErScbwaR0qq86duyCrEpd+mUxBff62onyYNZ/H1/EdQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726783463; c=relaxed/simple; bh=AJPStt4WswboRKarhA2+QgaL5U1YDLWo9KX39o8OVcI=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=YpuwMO1OGps/Yu2jxENvpGwbXjfEDjl3TTAgatc79d1hD+LcY0HLLYjDDD81wCxoiEv93mA14y9EiP0zvwhtuGxE7ZGgP+HhX/qqu6wCojtne4neY/2yMtf2ddMI/1dJxKHsLFK65aiMNI9JkSnTrIk7dpxFcgJFam7yTA+tUBU= 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=Hq+5r6xZ; arc=fail smtp.client-ip=52.101.65.27 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="Hq+5r6xZ" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rh2z6hkAsHDjMjJyPML9691Xx7oJvqpYgb54PBBp6ZrIr/Baa/lU1SSzzx9SZ7MXyseXqYZZVnbStAwLMfnkp7KYIJrTxYF9tKZLg06PXGDfeN3HbA8VyhsTYdbg2qIPQ+w66yi7NE6SAF1E0HRYtqtcjuE5Y2+8LrYHOLJwiHo5X2Vg7NeWnsAogwWZyz+c6ngMoGPt6rwGHns3Yo3p/GyrfiWaM17gIBwNvXGUAXCHe9ItQp/X+NnCmr7wHjml55N1Nb3O6lQdgVoNlmg1IZnjJxYsssOAnczzMMeqqClHyDJHfkj+ZL29pfMB+3md42jFnHjt53OZNPSzU6bFgQ== 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=XdkYMfy9kpiMcfKu4+dscn4KqVI80K4mSkMR/TqkLms=; b=Fm2+dNgowMbQ0C1Bj/M3g3sWAjIVNaOUcZ9RxLIrlN7nOSCN2PQKY9mg1lnPPi3JRNmRNRH8nCJIGLnJ0TUB40BRiMHyuvNtoXaKVNaILror0c9th4GZrtBOYFyoYVxdAC/htl4QXKV2vuGUt8YQ/NEJkqRRshP0Dmgg/urhhAmaiT7612y9/raoadEtxljr2P34/66d8XU9iYmq6UvI8JTHNzFZj676s3CsTLJ7QE+216ISTOxppqB+0le3xT5UMZeHEAy2AuByyoxZsRqwv1ju+kDFM9/nu9/7dVQ+xnjS43dQOY/tYzk8aA39cpBOLBWbaM7C7GdBiFs7PGYatw== 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=XdkYMfy9kpiMcfKu4+dscn4KqVI80K4mSkMR/TqkLms=; b=Hq+5r6xZlW2YgjOejFEcslW67doT/g/QhO65/6o8PfrA7ENZ1oec3SpT1G+vVIWDq9dauPFsHqIhnEG3B1/a0r7l9l4lg/w/W8ssYilr+yKv9TrbnaQXj77UNUK9nhQDG+vF0v/wZkQEErfv+WLKpR5VwQFuaOIn3s6QXIereBRNlgZQQAB3htxMF1PgrgrCPkFtwzfSwEPcshQPzQa7yVyBEIqRuj0TfrU47OIw5FRBHUV5tDoizOO8nlD0tLNe80Ibi3Iu+HMxbjCRwkg+IBteGXjvbEeiYa2XAc6Nly8yUgYnwnAJ0GkLXfYhhOhfCHrHVqLKox/cDS8M5hTRsw== 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 GVXPR04MB9849.eurprd04.prod.outlook.com (2603:10a6:150:112::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.22; Thu, 19 Sep 2024 22:04:18 +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.018; Thu, 19 Sep 2024 22:04:18 +0000 From: Frank Li Date: Thu, 19 Sep 2024 18:03:07 -0400 Subject: [PATCH 7/9] dt-bindings: PCI: fsl,imx6q-pcie-ep: Add compatible string fsl,imx8q-pcie-ep Message-Id: <20240919-pcie_ep_range-v1-7-b3e9d62780b7@nxp.com> References: <20240919-pcie_ep_range-v1-0-b3e9d62780b7@nxp.com> In-Reply-To: <20240919-pcie_ep_range-v1-0-b3e9d62780b7@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=1726783409; l=2191; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=AJPStt4WswboRKarhA2+QgaL5U1YDLWo9KX39o8OVcI=; b=loK9f2CH7KtQ6aDZA7wDfMhvP1co0M14BzW9AcFyLBvVK40/C7OSN6A5Ho1RFXfvaE9UvQKUp HTi9Fr6g1dpAC6TcSSAESQsw+DtBRqnOZxeARbuy4jJ7fX2YeGb/dLy X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0057.namprd05.prod.outlook.com (2603:10b6:a03:33f::32) 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_|GVXPR04MB9849:EE_ X-MS-Office365-Filtering-Correlation-Id: 80558c30-f353-4cc7-96a8-08dcd8f70218 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|7416014|376014|366016|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?kx2O+3O6cBQl3OEgG8CevkSClmGRgyb?= =?utf-8?q?ti/upuVZY3c+Ppx85owbUfFNQJva7w0OJjB+XIac1PsNOODgzIF5VVJbuIVul5oQ5?= =?utf-8?q?DgijbrxRZAQcHoK9+gFxFSe7hxH7FUYcOGZGWm1XAb8g0t7m4OZdmQ7W85MCJjxc3?= =?utf-8?q?+6DBoi5Vc71RK7bvpUjsy6pg28WsvH3bpWFyxqeINCmItjmG0z19aIzV954n9b87z?= =?utf-8?q?ZI3o/8C46B9lE86iFTPMs8V16qXpUWbIUO1KXUnnRQK4BQkMEkVko9aRf5Aq6XaWy?= =?utf-8?q?34ef3fxF3nEK8YMh7fwtA0D7WduX7bu0JRfIgwT4NtmiAjCqQ6l30C+OqusyTqNaZ?= =?utf-8?q?eXpJlGsvb1Lnhx254bFFxGqmJmmjen7g1Udi0Z/X28QJWoVoJ0E78c00JukZVTAmD?= =?utf-8?q?GqxTw9yyjF6SZHX+5VqjRwArpUHd6LrdIXZBV3Lv/u8rn4/ezeOtjEb5flvgEpdBw?= =?utf-8?q?mhxTiG9CCxcW8/Z/bbJe19l5iEgHKEe4rTz3+GCWsyH2JrEoCSf/Upzo1zOTjYCpC?= =?utf-8?q?WQdDXuYwKmky8IaE5iWb4OUIf83ZhY3Z7J+RW02KAs9zUBt7U/jQ6BOQASw4/sSjb?= =?utf-8?q?sIrweBWMnIti3F7LInEc57Hcvq6ZxI1eAfpOE/7W3GCBATbFhpiUhrO/SDNLKlJZO?= =?utf-8?q?qMQTYb/s1/8fI13uvEZwWc//IFfptL+w20PJBsDtvqtANZfCMFJnWUq5hNtxiq9dI?= =?utf-8?q?fQK8WJx8LxXA8CpS0a5tdCwrSJc1K71NemPXL0xRn6TtzrfqGB4ASNf0tvVgMz1Kv?= =?utf-8?q?dvCfL8Zb2Ae+AHF3wDmJuRAJCR/m4k8ZpKJNDe1pn97fnG1oMdbz15KnnvDIv4/X+?= =?utf-8?q?mADSUPuAM0Ur+9faQdGQIjoNoQ54es4bvR0j1BLSXZX+ufkZC+8je7018qcKt7UAu?= =?utf-8?q?EphFF1p9kOYhsjAacN7Ky4Mj0y7u0iN6NLDq7SeqQN1nkoIdZMEG26iGZ9Xifn8hq?= =?utf-8?q?kjW0d1r0SRSEeF3zgyXRv54ujokslnKmVlEXEXtN/yMT0frbuBinyT9hq1KMHXF6X?= =?utf-8?q?q/QwvSvZ8KjluB15FGiEMx2IWjHxfxq/m4FeHYwNyrEP+IlCmIGLtt/NMAnU+tXfj?= =?utf-8?q?vXoO5XrSFX8kwH/7XmYN2G1OubCyiIokYe7nr5heflDitABRLFh57n5GBREtwotMk?= =?utf-8?q?5AWhh6Jpkdtajtg9GGAnVtsbrLYCqzDXACFfyT4dLNLqJt36eDTeC711AeLH2UmRZ?= =?utf-8?q?sxFdaagVON94k/Mq4CNu34hiXr84i2c1iGzwJH3QTz+j0woMTTweNqmDyCsKMZ0sh?= =?utf-8?q?n7aCx+ndOD7fJ8DkQB/hEER3//1WbEMvoN90wa6GXv6Hl2Ozd9cbigAV14p7hROai?= =?utf-8?q?yOEHkSSMb5cUKBZwwtsWvt4+EoqZ6Y+vQrYz+/4lkn7zmgOoo5PTiMM=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)(52116014)(7416014)(376014)(366016)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?NR1KlH6BAmkrOD2XXSpQULotxqUz?= =?utf-8?q?N0vJ2sUxBUlbLLG1QqFsESYn2DE2BxRcqCsRc6YigIl4rSYoY4xnnCfas2jqjfqnh?= =?utf-8?q?EFKKbq+MipO9vArHiZLTGrvz+EbDZrvKbqK4Veu2ar9/zv4kyVWD/GIzX8OBagi3a?= =?utf-8?q?wc7kuqFQovDNvJjQy2n8SzPMetTIAjcLwLAf53WxmsSLFF+98sDu8n2O4B+i9HEhB?= =?utf-8?q?YBfdb8X4xN55LeudeeudZPYQMm7IoynuabS9bekpIcnp1vwZjnUF6oAez3UGmwRHV?= =?utf-8?q?2eobpAd9KWwDadLO9Id/6btbDjh3wcs0V9yr6wTT30UpN44UwqCmh3eKCj1sUf95k?= =?utf-8?q?Km/vMphKUwLqnNGwbFz/v2udgncHRzsVNI4KuaDjX5tyLG9dLyWZd9v4n55mF9asi?= =?utf-8?q?no4u+BFl0kGAsAy/ZbHPqG35C01+402oBFXnxAVoYbWWcURfjyRTP2eK0LAJJiK0F?= =?utf-8?q?huG0C+EyJFZybpr+vR9UR5byM1xqF6wZFraoqIM53V68+H77zZhRtmhIc9xSz4heV?= =?utf-8?q?x6U4NHkkH71pdGZudTVF2NhH+NNlo/MX19l8KN6C1FmM0AkyyKzsfK8cmTbH/uvHb?= =?utf-8?q?FaLdvwkiFLIhhqKwzk/2tWFikUgFp4aBUrzAhbvQjQ9eRrmmcFO/j61Q1D6vopKvT?= =?utf-8?q?coyMlOjasz79v/g/QkZEjkaj5fFA/IoKg84qypdLWI66qmAqtNPftSCzKRvdfHP1u?= =?utf-8?q?wwow8IXLHl8VzVhDwGP4znzVzS5wSeIQJsJOqO2P3LeZnYLm9a+JzFwRooi/pp0/+?= =?utf-8?q?7gdFNnYXDvzbKxRitmQ1qzatNmcjULUyk9CxalznYhmWQoKHFZgF9btVGwf5GaHw6?= =?utf-8?q?LjrSAH6PrfmokPJkxCLQhWKC/8UU+EyOdIYG3qYOtd+FlkuMtXq9n6UXgk8JVpYyW?= =?utf-8?q?oApTsBzYFffp7oWp0CeJt3ffTTKGvaaLybtmanqYNTAroeR3uC+3mL1k/grqp02BJ?= =?utf-8?q?TrhwhMiwoGxf2/dZffnl+sheTWqr4wjFC8ygUOxDT9nLuP9ocuo/CPgEJyhbJ0Uka?= =?utf-8?q?lNQMAEaaBe5cOMaPcVkfskEYFXssYIIsUJiRY58ISyWou3cSlbDXSHGS2kwAjJ7ng?= =?utf-8?q?8lDv2lntmeDMrGS+7P/iPSNJgC0al9lUeCh+Ds5CF+wYtSTgwITLIACWGl8nl/KVn?= =?utf-8?q?1YPRQ60YHK2t8TI000EzS/0j20n/EF6Zo86dnwW1hpahIAH8Sjl33frh5oacvck7E?= =?utf-8?q?fXM+52RMgXjo3Gk3X82yyVPfIf0a7LhA3Zjn/ABEsbPZD5dpRZQxEldYZ31gsA5Kc?= =?utf-8?q?HcbPoXVGkis3h81ppgh823h2Ju8TYROrU7v8p+L/HJH3OBRQeJO5ObG4XQmdcDkYv?= =?utf-8?q?Y3+/FZ2xGgfK262elJ0JSsahLMTv2EnDWDMnMBXLqV3MTJyfDUscJj/uWAIo/erJI?= =?utf-8?q?N8/jr92q3BmzHDB4bOLUhju7eAvQsNsy4kgOgvSsZAbDE0TD5Y+T7V8XoCheOyMYf?= =?utf-8?q?c35swEBdi9qTtypr7bn8yuoiKJVuqbmBdYUfhpDRw0XsymHbrm0FFz3WPeEE2O7nf?= =?utf-8?q?1Ir5+UT2bz9Z?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 80558c30-f353-4cc7-96a8-08dcd8f70218 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2024 22:04:18.4235 (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: vKTZQDVc/CQ7AbIeHAjR1l5ZQ5v/SCCivUh/Ch2Ae2Q0T68rwZ1DCrIFA/3fmovJ5oOaqV7KdF29/UpFkSwVfA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9849 Add new compatible string fsl,imx8q-pcie-ep for iMX8Q. Mark 'ranges' property as required because CPU address is difference PCI address. Signed-off-by: Frank Li --- .../devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml | 42 +++++++++++++++++++++- 1 file changed, 41 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..6f6eb1dfff40a 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: @@ -45,6 +46,9 @@ properties: items: - const: dma + ranges: + maxItems: 1 + required: - compatible - reg @@ -74,6 +78,21 @@ allOf: - const: dbi2 - const: atu + - if: + properties: + compatible: + enum: + - fsl,imx8q-pcie-ep + then: + properties: + reg: + maxItems: 1 + reg-names: + items: + - const: dbi + required: + - ranges + - if: properties: compatible: @@ -109,7 +128,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 +145,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