From patchwork Tue Jun 25 21:17:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13712057 X-Patchwork-Delegate: kw@linux.com Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2043.outbound.protection.outlook.com [40.107.104.43]) (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 0E091149003; Tue, 25 Jun 2024 21:18:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719350292; cv=fail; b=nG/cAP7ZZUlIlwlzD9HuGaGsUFO7MY0l4kZtlsVHpCzXyrpXrwz9rxDoI09pVfkoQQR5EWORB4rFe8goPxW7o4nqLiXMNzJP7ghuGNNMhH50jhqB3yRCd/8FqmRekiAOy/KeA114rjYgYifAhXThFQgYUVzBgDlH4vBPJi+Us5o= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719350292; c=relaxed/simple; bh=nCCLwtBYQx3c7UJfcwwMSlH5XTHYyKBA+4kL57jDYtc=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=SvuJMNDX8+fdO9sMUkCigAE+7TTgRltVampos1upYuU5uE3iiFrSilLqTjlUNFafpqB2MXV/1iQtKk0pQUdui4mdNGrZ4krqa4/0Z/gsBs16RJ6cs6aYs4RR4g6EDCXbXKlecRHi5HpnmcWIfcHAKbsYrOH4b/a4RyArorlY4qs= 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=MlyZ4N0P; arc=fail smtp.client-ip=40.107.104.43 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="MlyZ4N0P" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ixiVYQMh7vTqhqzrhWFMJP42TffWxm45r8RTxK1hIvye/7NGTPVvUvjdHXR2pDeTAcRismzeZbc5icTg5ki6BnJd56Q7sAmJgwLn1V+XUoaZqXikOUQ/KfioSfcXzT36WJeHQCxK38TG4rWNTPVZFRcw3EGIxU7PLvDVap4ddxGX9EOLyfPmu+JjFbVAUfZFz/j2H2rk9+LJ9viON2buJBuV1alAq9E8P2UOcJqSKGF03jo6N6cT0B/Cn70KjRoiW3MOhHr6Jm/JmbYZRSzY0vtkNBTfj1wjvTJLeepR/s1ceefTDVOCIGOGtu/m1S9F3tUzNSLepcmnhjv5G1XNkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=ZfCc4y7nVpDJAoud6gt1KGOcKHmWc8fhbkc8NFhmcqg=; b=Ng6vF7wjZe0xO/5fTuIO8t7r2/HahIvjfGmfXvqb6vngvF6LJWpIh8Lhr17nxrU9mWJl4InbIP5ehRO349BUyt3lP3NMLDjcpkSUzvvKWdQH9LgzRIdV/AHslIYzkR4RaDSzhVCqAb1Ub0sOBnW7c5biqV6XstFbc3bK8+x1pLFv8a6yoiLdFNU+UMxGLr0Ep94Z+hl7RTnAWg43uEjYkrygBYv8LaspbihMwdPcigfafH8O2oPB8Xoo6lxi3oabGv/KOk5JTHm+RR5vH2bukyh0o+eB+4o9IF4WjoxFzZeDIrd1X/7IXPHgpeGXTfYb3SgAKAMlymPsMHnpeyMn8g== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZfCc4y7nVpDJAoud6gt1KGOcKHmWc8fhbkc8NFhmcqg=; b=MlyZ4N0PROEL7wErupSKeuDCkW3mld9NucxC95a6VmYBimHqgJE9PV3GJHIbJkbQA2YHCqzZ3eJwTKJz/fChER4YKtnbO6YLCSbgU5I/BzveVinxKrLEO50cmyw+FKcQnZ1PDgER+gbOJivRFSWoyIM4v2D40QKr77Mc8MR19bI= 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 DBBPR04MB7978.eurprd04.prod.outlook.com (2603:10a6:10:1e9::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.30; Tue, 25 Jun 2024 21:18:04 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7698.025; Tue, 25 Jun 2024 21:18:04 +0000 From: Frank Li To: Bjorn Helgaas , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-pci@vger.kernel.org (open list:PCI SUBSYSTEM), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH 1/2] dt-bindings: PCI: layerscape-pci: Fix property 'fsl,pcie-scfg' type Date: Tue, 25 Jun 2024 17:17:46 -0400 Message-Id: <20240625211748.4041882-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SJ0PR05CA0089.namprd05.prod.outlook.com (2603:10b6:a03:332::34) 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_|DBBPR04MB7978:EE_ X-MS-Office365-Filtering-Correlation-Id: 6b1e956d-acc2-447e-d005-08dc955c4cc0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230038|1800799022|366014|7416012|376012|52116012|38350700012; X-Microsoft-Antispam-Message-Info: gV4yu7qF/KQ1FG36klpkqUO/TjmsKu7lmkEThSZ+ddDRHCNAaXU1drrhYmff1x9q8VYv6amcGI5FJYKCZnzap8k2T9Su38QtzR3yYim6P3jh78xAA5efF+SFgE0c1zvUQ8kvNq/720Vj8VTeO6sNags6EeIVax65YB//BvoiYKIfT8kC0nvXsp9wnUQlUvAreaPdxYsD8TGK3L4CGBKNjI7cn/PiSaoPWOEGYdwlsBEX4hWry8WuTSA27EzL6MtPAtiGNNMLvGQnArPIY5RLug6qja39jBwvnVlYbaUGYhsLx9pjs2GWp78u0BHHkqiwn8nymUvWZ8aTU8quxyxDUA4tbJCNCdx8cICh/SS4N/CMLbouOggpK9r6zSQe+DPYS3DtmpKO8nQEuvn4UBELVEPyTG2nmACPzolNgGIDYuLCQ91MTTMerNobmv8jM8Wv2C9y9vUj0CRaCWNR3uL1PdRawMXDLbgd3XXqxL54qPGxcNn+gOTkd1Q6w3cKicQ0JtQ4uNbK2msjtmBDuQ/XyNsvmAZQuvoWi90OfcBtOnfPG/BYlCeeW7Ov9IykC8WCUWP0RWi2PbtNJ7oxqwC2GicWH21dYomVUbJHgT3/+8FyMItjl7XABzQuB4YuKfe3kY/RIWIU18iLK4902fMhr1K0VqzmCrJVUJWVVNilp4Utd0sbM5jAyojWHdI5gwmxW/oh1QfbnZtypEac10CbXgOdCkTWdcs7GNBX1bnOIViiHa4nQsWOhSaNUTuj8naA4scZZeKxVUO1RKQUXUp49xyJXZlBuW3E2pj3ebKrHuAifXsnfMoc6Eukp8GpyDt8/zGqTZEWa7ETDFhUGo1VB0LUWQOqScNIcX0lD+iTD6Na3d88EPGq0H8uwkdNSH0sw/rXo8MLVuUS+aAIFhvkzrJButdfePw4MdHr9U9mllJc+CwfHGl9BGRd4k34qCUNgFgrMYUUWd3cNxEt03KAryZLR+ApxzLeEvDdPwyo6mgP5eVZn/VJ2GoYvycV6HhDzqKViNgw2dA1wq86YP4ZZOcz/P9GuJiwj/pTgHYJMX1YwaPYV9M6cMvFnKjScsYSq27yjM0SSX5RsD82S/iuoi7XEiXRNUjBj9viw2cXqOVaiYl//qSHv4wLv20U58uBNXBuG4JPGqq4JB6nqf9A9linO60kqilRtMJ57PLLDX3kQY0UlORpJersNSjyeE125sdWNOLaLTIiM5maAbCey/qnmmgDQqZeuQVX6aT5Sc1hB59Q7sTc/PkAbcQehbsBHrCWcgKi8s6/0u8pVMXEgGHHUS4ymd50IAFo+TUiEoNbWy6D4o3o815aNAkRcXa540fQwFhqJslmRghD1GDNgttFWp35KqP1LZixxE3wUBs= 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:(13230038)(1800799022)(366014)(7416012)(376012)(52116012)(38350700012);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: VACKRL2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3bkq87UtLws/ttBT6xpAPGKo7upa08G0pNn2HvEa+m8T4hpjYsYa1aVmh4T1Q0rbE9nxSN94TkEwJ04mapXJ/HlvrB50GZwXSd9Ypbo0cL6IAI075Z+G1oQHcxEJkf8SvYbatTqwesBcOyLUN+3SjosVSeS8QhIc7LkCt5ffHTanzn76QA8/Kl4+7EPUCV5y72mExPIju0TnXPezsUkWKj98YjS9qDpqjLVgX2m878Esz8PvTrFUXaQb3vUjacBixh8MvJwmAycgxbgt0BpMHtagBzaF0UXnK1CftYUrv0e21+N21H7TUOOBmLY4lLn98okUEMhJ4FIjJgRqI/NJAsGMVIoFjghxE5kHbXMKK4o4KQFLAOHlVyfwq1xJHncAEGHSI49TpsmCnmQ8vSfQ/NSkQ1kC7BEJEbyaNYPNgUW8braXwRvXGTKT967ZONRd/U6zKBWiSNfJ8cy3xmf6Ax6e7ozRhVhVF9hTtkpp6C2VnGZM3ng6dx4IT34orBd3nJSPpSKQwpB5KW X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6b1e956d-acc2-447e-d005-08dc955c4cc0 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2024 21:18:03.9843 (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: x5zjTtnOi6HDI8nJe1uC5d+bRwlVs9GA6pwRfegyTTZ61bhk4fb7Qku8MyLHwGhxSG64I+GkezpsqL0pVCob1w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7978 fsl,pcie-scfg actually need an argument when there are more than one PCIe instances. Change it to phandle-array and use items to descript each field means. Signed-off-by: Frank Li --- .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml b/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml index 793986c5af7ff..679c2989de7a2 100644 --- a/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml @@ -43,10 +43,16 @@ properties: - const: config fsl,pcie-scfg: - $ref: /schemas/types.yaml#/definitions/phandle + $ref: /schemas/types.yaml#/definitions/phandle-array description: A phandle to the SCFG device node. The second entry is the physical PCIe controller index starting from '0'. This is used to get SCFG PEXN registers. + items: + items: + - description: A phandle to the SCFG device node + - description: PCIe controller index starting from '0' + minItems: 1 + maxItems: 1 big-endian: $ref: /schemas/types.yaml#/definitions/flag From patchwork Tue Jun 25 21:17:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13712058 X-Patchwork-Delegate: kw@linux.com Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2043.outbound.protection.outlook.com [40.107.104.43]) (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 73A1017E8EC; Tue, 25 Jun 2024 21:18:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719350294; cv=fail; b=jbwI9NFCtey0jOYjlmFvfDO4htrFxXyF68DDvWjGdZoGr849tktlbHPFkgS1jm5qtobf5A4NP7ljfj0yuln2gYwbED4OZB3IQ3HZlDaAt+nzgrZP94mvEW5tMxCDCis8gvKVl5XbmDaVeUCzHWPJ+YzyHLHvH6ERY6eaUW0rRkM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719350294; c=relaxed/simple; bh=HrZTEzYuMVekSAyxQZbHnRojJRZvvfuI3U1T8nC5Ivo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=uIBGl3njlMX7Qs1hf82wMmoErQTb9TAQUyN/4JSeJwoQQjT9IhsLkSpeSXlfKOP4GvUJznW0ZoxJsOYvATPq7YJIVsAY8edCH9mNTRjfv4unU0fFl9J6ePXXur6yOxIHYrEqSMrdNiu3l4k1UR2hfWiyEtgdGK0oLZYbKPGxulU= 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=kbpIMihd; arc=fail smtp.client-ip=40.107.104.43 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="kbpIMihd" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HzVn3ipombia6NIr0q/1VRnGRXjN12y4MnNXGGh1ilb47iFkJpYBN5yOTSqaY5rSuRAkL6pIpZAyJDoqp1Qex+2t+iYDPdA3+QhPyIMeB+AnJOw/Wtr5DKPwAuPlZdCF4KyI6TwC7H2To4zoEYAZyhMsnn+Wyaa3cYb68ih7S6svuCiMUai/FGs6a/EWWTA9W0N+s8Bw2pWWNhtCNwtNifYnL9jAonu8MqohvNBiX54uV3Y3UlEfrg9vAsrqrWI2OZp8Awwy4s0nEkOXQfXYzYWMMpPAFEI2dCUJSh7VOlvIpRvcBEiWqKynyr0qvnbcr+rfVwknqrnBpPHWA7Ip1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=4Chwjj6VN0sBp9NVXoNwUk64/KJdJ06W2cRfzQHz3VQ=; b=ZkdpONNYL5GWQelfo2Bp+iIwjiuiHYEaW0tIWg8IxefW0/JGgvDb6u5j/9GM2RFqbIoMaVMQDEhzuRyfxmwIlANmtbZDy4gMwppG9s6iQOyBd6ejHhgL7Sgr8kqXOIwMOg23Rf9we2MY8XTYU7v26bdZN4zYo/gQLw3MwXRzCcX5J/Bnl2h4r3akZ9Ss+wHNv312Tn3t8c9bWjxJFOmOLD5E8LKTf+EAW9JRzNdHRB9lsjk7f37g/wBJep1p4m+k3WnJFRHB85ZsC2cZMpwFTxJLt9cZhCCI6FKYsbXKQO0J7CWQKyw5tOzm0iDNPjW420T227hnF9rJjZkXNMY1UA== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4Chwjj6VN0sBp9NVXoNwUk64/KJdJ06W2cRfzQHz3VQ=; b=kbpIMihdkuVzxs+rxLqnRb8owyf8sn6IHY+nrV3UUX7RyohQILruAVSGcolWswtaFhKi3suA9/QeQjL/sEq/ukX7oufXxIXcauqAU4+1rcwypXsCPlU487KzbwcV2GYHOEzuuCC3HdlvrQ6F+XzOthVRX2EmOuPDgXAXrR0mzJU= 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 DBBPR04MB7978.eurprd04.prod.outlook.com (2603:10a6:10:1e9::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.30; Tue, 25 Jun 2024 21:18:07 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7698.025; Tue, 25 Jun 2024 21:18:07 +0000 From: Frank Li To: Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy?= =?utf-8?q?=C5=84ski?= , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Conor Dooley , linux-pci@vger.kernel.org (open list:PCI NATIVE HOST BRIDGE AND ENDPOINT DRIVERS), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH 2/2] dt-bindings: PCI: layerscape-pci-ep: Allow fallback to fsl,ls-pcie-ep Date: Tue, 25 Jun 2024 17:17:47 -0400 Message-Id: <20240625211748.4041882-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625211748.4041882-1-Frank.Li@nxp.com> References: <20240625211748.4041882-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ0PR05CA0089.namprd05.prod.outlook.com (2603:10b6:a03:332::34) 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_|DBBPR04MB7978:EE_ X-MS-Office365-Filtering-Correlation-Id: e3ea020e-fbcf-4e8a-bba4-08dc955c4ea7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: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kxX2wFuwO6sotBtE87tIYxOS2+JoYk5ahqomItsUpC9CShINLkPjn7VOFLQlnDOWd1r79NnjxY48we4FSmVYJq7J9SpS+i+og0u6SttOB9QJGUUkmK9b7RPRgMq6t5mZeV0oMznWjxDug6Eubx6HdVBLDqFZA+YUFlhL48fMvidvyMv9teE0Mvi6KcS/vHwt8qggSOLFau8gTjEQHCUucSzB4oLlibm65UNaySY8DNEvXiRGnvfiNIFy8Pg4qvCVaCaygkUDsT0fFBHa9VZA0toqTskzkZPMxFuaHI8KWjgi7ADwizsvfhqVVNcXUHUO3MtCefjWGx2j5aLNo/wPB3zbJg3eus15sum14P1A5mzJtIiyrrc= 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:(13230038)(1800799022)(366014)(7416012)(376012)(52116012)(38350700012);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: V6E9xVRNmE87gSx3lguWD5eKiofcgI44y4xAmtPYKjVTxCvuUBxruCD1pig6FOi0LGm14y7P7a3cayIACyTKdTxc19n19xrWQIFpU0CxzrmgFS4bptBKpT9GAOXv6oYFF8tnv7239e8xPyCPTXzy1+NFLvea5Uet/McpdKb2tktpmEfenOEQDjHRTc4nZ9Z9uJ1ad2PKeC2iyWSHyrs82UJyY8fleilTohDhWQUS7YJ2A+rcJYOs1S9e4YTNivpsjajts2B0LNifvly5Sazu7el4/a7s7AyZO94bwH06TR+3DgfTM2JRtJxX199deD0i8hPuY4DyxxVNHfKn6QHaCXzDbkKYUif3x3a8KiG93uFGlMrU6AIwjyZbqAbYDhlXM88ve/D30w80EeT9kzlxvdPfamLfg5v1MZfyAu3ajyGxxgNSZXPT4nHesyXkH8h+8L2eQUZYaxphBwTITFdh9P2gunfzAT4tjC9GTYTFaeXKpW8JdB0lVM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X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e3ea020e-fbcf-4e8a-bba4-08dc955c4ea7 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2024 21:18:07.1739 (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: amPNaQypO6b9KRo/0tfySxZfzqqK4si+nNmwTzX3PjCDHk9kwtJbFoY4c/FCcV4qpcywAiLyXOIvX3uOgASFEg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7978 Allow compatible string fallback to general fsl,ls-pcie-ep. Fix below warning: arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dtb: pcie_ep@3400000: compatible: ['fsl,ls1046a-pcie-ep', 'fsl,ls-pcie-ep'] is too long Signed-off-by: Frank Li --- .../bindings/pci/fsl,layerscape-pcie-ep.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie-ep.yaml b/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie-ep.yaml index 399efa7364c93..21f1edfe814d4 100644 --- a/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie-ep.yaml +++ b/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie-ep.yaml @@ -22,12 +22,15 @@ description: properties: compatible: - enum: - - fsl,ls2088a-pcie-ep - - fsl,ls1088a-pcie-ep - - fsl,ls1046a-pcie-ep - - fsl,ls1028a-pcie-ep - - fsl,lx2160ar2-pcie-ep + items: + - enum: + - fsl,ls2088a-pcie-ep + - fsl,ls1088a-pcie-ep + - fsl,ls1046a-pcie-ep + - fsl,ls1028a-pcie-ep + - fsl,lx2160ar2-pcie-ep + - const: fsl,ls-pcie-ep + minItems: 1 reg: maxItems: 2