From patchwork Fri Jun 28 14:48:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13716281 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2047.outbound.protection.outlook.com [40.107.21.47]) (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 D58BE1C2339 for ; Fri, 28 Jun 2024 14:49:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.47 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719586165; cv=fail; b=qWaZ5xIhaFDrwlXcDVw2S3KpWb854HToM6dtMxnlOKCltItABpX2NwBTDLCGlQT1pyIG7H7WCEBr8DhUrXKlmztX80Jmdqit3dNq1A0fu7NRczHJldoaK6E+BviJpVb01Hw8nBpj9ETxFnptOLDBoVdUNO99WRkwmQPXF4cXg/I= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719586165; c=relaxed/simple; bh=3yQeib2LZZIvLbfSE0DTneIIPMlBBxt43c5GQbK+qEA=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=VxkKJNmtT3sk7SzHS7fx7ZF02gqNwOXyNKiwmyXJXxVBTL8oSH8ZsnO47FzSZywTOcMowTtdjGLfCwDzmZpvdmuLT/enD0L7qgd6ruy4j3fZm5tjvKcUWqMR+vOq1/n5/YB5eL+L4vjIXvWfezcymbls3WvEk4OgpnujY16FWVE= 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=EB9/G2Pp; arc=fail smtp.client-ip=40.107.21.47 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="EB9/G2Pp" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lG8VEJ3mkyGBTD/3g0hbiyWgYlc4gZI95RkzozZ3yE0nQB20Mih1M/RziW/hbUJHjWpND/igLO8YZqo+PqrUbc8a9DbTAZKRQNC/7eXyn11K05UAv+0tO0hmAT1U+dSsh7bZQLj92IoDjB8CP7+5nFH4vWd4xzNC4qWjxQ3WycWUdK2AwBTpVAGC8rEwsffgCPHip8S6YOozEYkI8DYtqj+IDpP0a2LHGVeVeiMD5hi98d08v411cPR0numQkkcPYgsMQXUWems5UIgJ+/r3PbBwXX/QVWkZNLH3AZTXYF1pyDr3FlRrW5IW7S94Tk0T4p0Lwc81wZmRSaJSIxXYVw== 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=lPfLqJBdsa1z0WzEcRV7ZcKBRqWkfJNRyEPQMC9UMRg=; b=HcYwIfwFt1mDPm8MJv++ueP8wWI86m/kDm7qBrot/poeVAZ3DdYJ6BccEhhiawYKp2/K6Bw/gtaZl8Tk6UmgszHdobpVa+iEaPPWxnNWJ4f8Yxdk2AlVxi6O7Yeg+Db4J6a3bco/6jOnIKYFZFapqFt/0fys4MLAtC1yi2aAoy76YaLYswszEw9A0sypB8KawabEKVe5xNYX43dGqrjtWrzPp0Wa7oJvWscKY8tLaWapqJSckn4rMnZCUnLwEzjjplVWC57EiioEMtLmFQYWrXVemUqAFTOWeBZn9MnCGgLhcxYaqgVjUwzIbmLVup/7TMm2jvuq/w6vMOM7tI1wMg== 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=lPfLqJBdsa1z0WzEcRV7ZcKBRqWkfJNRyEPQMC9UMRg=; b=EB9/G2PpEQnAJEJGufZiG48QPrhnC6aKjMHVqW3kN1+DGzsrsgAFBgjrjKSWcxxaOAHup+RJQWmmvwxvb0kqT7ktN/G1iqGu5qcZ68JmmZNXFhdJvIo6IDdwo+eA2pfqVqyIa0CVLHKiLKkZ8vNWBNsWlFmTfLGkJwFrY/DFGZM= 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 DU2PR04MB9130.eurprd04.prod.outlook.com (2603:10a6:10:2f5::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.30; Fri, 28 Jun 2024 14:49:19 +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.7719.022; Fri, 28 Jun 2024 14:49:19 +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/1] dt-bindings: PCI: layerscape-pci: Fix property 'fsl,pcie-scfg' type Date: Fri, 28 Jun 2024 10:48:57 -0400 Message-Id: <20240628144858.2363300-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BYAPR03CA0017.namprd03.prod.outlook.com (2603:10b6:a02:a8::30) 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_|DU2PR04MB9130:EE_ X-MS-Office365-Filtering-Correlation-Id: 3f8dd709-562d-4a1d-e985-08dc97817d55 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|52116014|366016|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: t33fXLvQjTlhOivF0ArDXXPmxvL1ttWCUWWGft+Und9rYLBXrOrlK/z8YRpMCA1jUV+c9plFEkw9MBx51ZTsveMeP16CKJ4yNMNtsEXuytTP4wh0vtd5urmQheZ2lANDqV90W2/3hhne6RfwapejbhbL3laQZ2B54Mo8+5p6jKhK3ikSSF8UmkRuGaEIfSZqklU1sk5NL2aj64JFJSEOULxfkwZQwN/zqOJhsrMs8NPfzd2f6Nqm1Ocsf7WNkW8pBZkJ8eAOP6Jq86NSHHLkLMnYbrKtRv3pfVLZRhFA/3z9UTvg2tmwnVc9F/tFKry2luQQHFdUiefMw6QTATFwYJ7fK7JicxYpzEN/hkSo9l1ilITSfeEfskLjJFps2omszk3bpzpODOUzMZLqYTHe/1MAuH7zXjrj0uxPZWO4p5j9I4so9mlWClvBJpolXo2Hmw8HRHrKPHOPmZQKaa7QPF/8sTStyHVKJ+ySUSji97gTI+Q7y443AB2k74zJj1O3Za0+/1vLlmqum/LfFREQnz1mlBE1zBigrgbfpjdHLSGtDt3oPXWtdYYQpmWpB5P2lHzg6gXJCktcuCKMBbNMNxO+2Ahc8RXStl0dczjElQVb44ZgVAy9mGzPbd9Qed7B+Zat69RB/kxRGMCxotWzKDzqAdCu/nIKbPEowZThn9mxB8Egiso0X/gn7vH6yUIWWhe9h0Ch5N7fcVCCtm0reTlIFoHD+yRybqK6T76iSspFqq5ev/ZMSpXutvJXaOKjGPUivYPP30ZrZjnVEGlP5NVTnDnbi9YsDP4IgG3jI9N1gxz12UJi8hklZU/6TD/dL33DYCmCC7DIC/VUi229jq3u1WBz4DqYShYynp7e3/aUTqnOt/yUmtoaL6/DOxcr0owYQqdEzU52wVy6R56z2HZSVkR2Fc8rpGI162oto1kAs4DOAU2W6bZHOZDwcuz9jJ+Vf6OKrCgjatC1UPpFNktlHtD+FhUCG2VWdPhzB4WurALJ9XIEzcAu7bqpDoTy/UFFNzvnJTo4P1fAZrP+MmU/D4fhvdBc5Yc050sPFGV1tk+BJG14by0v6DqGBulbS/OQshnoN4bdgQNTiheegg3URQTAMROy0NDvG7TwXjQKYdDLRtYpZD4TXOB9b/7wlWM5mCgJl15jtiJR4CkrP5Ky39+lxkuHTTZFeaGp9KKHfgCtQYDoacQJFwuTfKH6BcpL1ihFH7mWUdmAqXRHim043XuX8ZMovQCKmtBeWNMkRjXKXBuZC68obUCaNJvLtqTBIOB46xIfvNA/KVvkR1K1XIV7hHizFTVkTKBuTzpR6ms03qGyJh/Fa3BAkA9lbcFfc6DlE8IDV6Eus9zzJFeS7K1rm21VEpb/kxG10KE= 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)(376014)(7416014)(52116014)(366016)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mSD9GvoCUbV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XNECj9rAecpKRO0BC0/lXFFqe61Fc6epuYU+Gs4kxptGZTTJMSxY2G6muYs16J0PN2/GXsYeU9KvfZT19KoMswyqqoaH4KLB7qZaeLjfpVz0SJDlMFvWRTyFyXGIUWh2E4f6UdNIrwJx/4/lyMsGiFgNPt1MCTcboIw6z+5cNsqJsQpNS7Uabjv6BP697LxT3y6SsoXZQBen0xlfXcgbhyPTso83hyWLewBY9IUS/bCfJvr84yspxPjgTrOrI2YifzBNUx7xyoR4Ks75K4dUA/89BA+E6JD5AQTj2ln32qPY1lG2l63fYdsB76WZpQZyyKftgjYzMaYSbAIxK318zdwuJd+cnVTZj/TJU28+uhcXtGJ+O3GQYeAJdZtNR4eLCif9fMImpT4OrotVYOK6mbIAUS2FAlZmVJKiwOqKfUlq/X8i2J5jmWbd7P8DjRsp5rArOGYqzCF6veYVPtyx+Qkp4xMmhwQMVZDjItbrmv9zm+hnBdfxlOxzGZtwS/vmjU6PXrSkPWmCg X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3f8dd709-562d-4a1d-e985-08dc97817d55 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2024 14:49:19.1642 (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: 1c/sDjIKVNoYjAamtRQu1hMHbMq/Fh0/2upeKrHzpkjysa9q3ik3/MzQejQYeC1OUDgN9OTKoSNVCClg27BSxw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9130 fsl,pcie-scfg actually need an argument when there are more than one PCIe instances. Change it to phandle-array and use items to describe each field means. Fix below warning. arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: pcie@3400000: fsl,pcie-scfg:0: [22, 0] is too long from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml# Signed-off-by: Frank Li --- Change from v1 to v2 - update commit message. --- .../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