From patchwork Sat Aug 10 14:52: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: 13759549 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2068.outbound.protection.outlook.com [40.107.22.68]) (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 CE15012F399 for ; Sat, 10 Aug 2024 14:53:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.68 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723301613; cv=fail; b=SjF6+ahWglQhOphoXDcCgLvCUPq1HI2bdtAwyaJ8MNCgkbY6wP4fC7HDbrXqEwkA1TxQR9VIJj7moDG6BqMMwIOaqcCMvvqv9bUMBRljCMh3IG34I60j4q6v+CQlhT4hPYWlvMHAy3hOaIM+8hhditzIyPttBCaJZ957CWYfvCc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723301613; c=relaxed/simple; bh=vV3rgt5NFwvYxHIvwPpI5t80pGlLlVXEo5bSEvIJdjg=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=aPh54/dj3bZjE/0wTmeN91/NKqskNMZdUAz8sRUvHjPkQ7Mo8QMaanPQN9ffHudMOlnKDrYsv7qN14y0bPG8vntSYCSItWO7rM/He5+u82XtdydE5PvPix3Rbs2ug5yiQ1twa5BE7e9Amuq3oXqk6q06jIJsbz4Bl3yNN4igkcY= 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=ltdMf+k+; arc=fail smtp.client-ip=40.107.22.68 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="ltdMf+k+" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=AvtvyQrV3UH5Z5PBLXOm1CILzqAQcfqHZmM5FZ+twoIQYSdmShLmAjGdpdEf+DJ8ZkVKwIqAmgRi613mSsrECV3KBy5yTVkcI/dk+SH8+TK/lf6y+ms/MuSahla9SxDpeJXF2FkcDfAaa82QyLxODsR22PdgENSUfdLNTYTmz1Tin9UIMkyk/IDKRFJIXAif/v2NZyX1lTC9KNP0JT010deI76pzji6fFQENIMwn6Nx6dtzUJj3Yl5BqA3ElrgH0d07abt5dMCE6oyCHQDaPZHamgaTtMXDZGBq32uZVgvjJTEBjIVDRIwFLGf8mmKaAReSKcHdO7yhtVEXfx8jLog== 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=810fA39cTeCv/nlWjdhCXXcuBDtgf97bRph0LdBMadA=; b=IW8uTZ9CYwfIpKhIWNAGCjJnXEk7lZ3NnvTx+Vucm4j00QJFSQFR3ZTWct8JA8u2XJv1wQGnRQP3mFdCbC9i8fhB0afPgDto3hFAvcnZ5t99bxc+gYDBiY99LIPm4XhxzEO8iLbQDjfkx6ZwE+sbzi/8BVOU9EcZCQSdqG+WJYCW4rOzH2UbQwFDnPvceSvuv/sSieTnTuSrZghzgP9MkYwkh1JcgBbuhpbpgjlFuLzz3YIJoAoNk5cVAuNSIUGI2kDfn20wyPfeciZpf/NZtiVSU7SfvBXhl+sDTgknKTMBgyMA9C/VJR+8dEowfBPc82vt51ag49OP2H5JO6KdnQ== 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=810fA39cTeCv/nlWjdhCXXcuBDtgf97bRph0LdBMadA=; b=ltdMf+k+XeRDYUgc17pH9XvJf+y87TXXpAae0dDFsgs/zKHXMnFNqpo7331buWNI2+8zWWacke2UY3JwlXJT8BxjECfkrFDg/7mxwS9SEKhoEIO6WNlc000zut96TPWlBk8myE8X/evBtNb+M2zrJinGQ9zsSDjZrJ9LHlF6CZGuzPQks9mhk7CFIKn3gSVsZRmMkgyKO3qTRsoZTTZFWBFmXRGpd8XMSIVopjOMD4dNACIfE+DWAErxr6aFJbDc7eZf/Miax82K4Cfir7N/6nV7qPQ290+gdz4Vo8j/pAKSvN9JYJ28VV6/yt+RBcqY5weNue0PfzIewLgjaGz6/A== 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 DB9PR04MB8379.eurprd04.prod.outlook.com (2603:10a6:10:241::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.17; Sat, 10 Aug 2024 14:53:27 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%5]) with mapi id 15.20.7849.015; Sat, 10 Aug 2024 14:53:27 +0000 From: Frank Li To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ioana Ciornei , netdev@vger.kernel.org (open list:NETWORKING 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 v2 1/1] dt-bindings: net: fsl,qoriq-mc-dpmac: using unevaluatedProperties Date: Sat, 10 Aug 2024 10:52:57 -0400 Message-Id: <20240810145257.3617413-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BYAPR01CA0062.prod.exchangelabs.com (2603:10b6:a03:94::39) 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_|DB9PR04MB8379:EE_ X-MS-Office365-Filtering-Correlation-Id: 632c004d-f9bf-4049-487e-08dcb94c3110 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|52116014|376014|7416014|921020|38350700014; X-Microsoft-Antispam-Message-Info: JAG6j0Senhybjc5bFVrvAw28UEc4YldkvE2WHO1KOKXX3sNbC/V9uVfVY+Kce+HVMsmD1n8vH8NbPsVE9Wm6H7tnKmMB+UmABcS8NzgyMmvN3yKqIAmlrvygfKwYPtsZpLXjlrPmOfkKMI1xAjingi/kqOHsLdpTkXVQgdLcJg6jMhxJBduO9vqC9yhAjd0NyxzMDW6/KG25CJiePWUNcjHVWj7ob8wfvQpeE0gW9YsW/SbKE4xcCohu0OCT4Qycu2MJURMwKUB1RqfI2DpGKkb7/yt87lcKF+BhQmgKESHCC44tXaN/peqWqTtWfQDPah4zKteQFuTSuIyrYB2NBpDDA5j4ZJhMHbV5nxuipY5AvnwQGMUrQx3vFtGuO6+YF9qhEQO+ivB4hkUMeZhSn/h2S3KrJPCoEb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;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(52116014)(376014)(7416014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: xaItijn6FY4/ihLYDDDZbP3QNIh0asnoHDpte67r2qjUowXYNy3MR6OqKLzeE0lgZrESEstH2LbIt+6EbB8XGYX3V5ETm7B4H4Db4rXr2oKujeOfBqeDuBiK76n37oGX/eEcIeMjMS6br2Ls0Ek8DIdg69MYnW4Ud1iqt+e2hhpp+wCXRxtiKGYrDIBVZF+JyLu3vPVzunbX5Lj5BRaysed6gpsTWiWqTAdq2g0iLk9/an0v6FMjVELd+Htl4cd+OdtJk1AdmoWcnZQ+DED30rq7ou2LCw00NPHF/+z+7VY8tanaPeF0PC2Kp3TONzNpZZcO9EFSbdwB0GC2Y7Inw5IAauQ5Qtzl2729ue2dT1IZDCIt7BbPCIXCP+NUzi+a5wEdCXs7Dd2uibwynxG90pF/o+wN6c1KZmd5Ss+tCsKXVbsHV63zDG7OG/taZ8xs08sJRF7mvYO8JQOaZI/KQdGqKo3EgBpeUo39s8+o1DihvysV1yWZmpcImpbCgrmhE8fhEN/7Sszog4Xa7EY1iiXx7kCPday8bqoS8XSNp2dfWfcWIT0xGx5vSXHGN3w74qxM027xp3kureMkBiBaSYCnZ98AWIerPxGgK2R1C/2oZr1/pF/fbvd3OpSPMS5JXrYZreQZMslPsIZlLG66vUJe6IqVEUmkMRne6qdh4YcWT7+ybznzKh1OLTpPiHz75Mi+Cx1xz7X/0clWDxBUKkGCX0IGs6yZW2yYajL3ovY88wjPD3X1qXtnHLgUz7U9xmKBHOzre0qNpJMn9lN+1BYLHrFfN8jFyCbqRzkrojlasvYxIn0Xf48E7/G5kz8JlZiVh8hrd2V7zzOEjpfl2b83p+Omp0UEyi/XeKaO0jSfvuI1B0wEQ2XBEdHoiRTY3yRJD0Z08gJU957VoR+y5+ntAkrgzZGSA2xZHk0NSIsVLxW+hKdezgcYzDY2OKWL3P/q7w145gAMD+SdafxWK6c90lCtz59H2UOkgRWHATaCi+3VyRCbVYuGrnpeF7vTh4mVNRii/p7dQ4bD3MHyw+ch2ARBo+0h5mWOGg9dIf64n04hWXFCTti5Krodo7/gT17l04na/4v8sTHLX3+Dt5RUY2y9nlePrpFbvp7dVOlDgctGRo2n5l7LkR3i6B2uqYgmTKTHTnJRlSh33ng1yM4ARo8SjhPAQPtfrgTa5UsHIGw1batIQSbc4Lujr3+rbyBck/vqCuFJuI+QxVyZaNKISmD8A2lo6x7KKcAqQ3VgxT8kFO0T18jGk6SwAIk85QZSBDrcFFqWW1GIPdyNE4WzU/vUiXWaIpgWLNYMKhjgQRvVg4P4AYO44SWsyVvPvPNoi5mEbs8B0feHktMuwiMSEuO7aQGlpPTKJePRv/8KwoFT6jDDPL/wbKppbAVtlLbuejVePiX//c4HsrvME9jCoBgPOPSf39DyoG2+ejXjq97bm+wr0Czac1oUoFbtTo8B1UkTGE6wu2d6lglsetb8nrohPYh1viCSVOwKUXq5E4v00BqLtYEZ64hpIpDle6TMLUozLo1Ox4AFXChMwHiPEMIiPTfNHi+0smzlMZ8= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 632c004d-f9bf-4049-487e-08dcb94c3110 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Aug 2024 14:53:27.2998 (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: 3OMZO6nh3PDwSfg9gNyqzHwId+M29kN1Bj0unZHxg0SGA5M/zMwYburPsKPCL5If5KiUVRhtKlQalhD5ZvKHqw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8379 Replace additionalProperties with unevaluatedProperties because it have allOf: $ref: ethernet-controller.yaml#. Remove all properties, which already defined in ethernet-controller.yaml. Fixed below CHECK_DTBS warnings: arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3.dtb: fsl-mc@80c000000: dpmacs:ethernet@11: 'fixed-link' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/misc/fsl,qoriq-mc.yaml# Signed-off-by: Frank Li --- Change from v1 to v2 - Remove properties, which already defined in ethernet-controller.yaml --- .../bindings/net/fsl,qoriq-mc-dpmac.yaml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml b/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml index a1b71b35319e7..0a91d839382d0 100644 --- a/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml +++ b/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml @@ -24,24 +24,10 @@ properties: maxItems: 1 description: The DPMAC number - phy-handle: true - - phy-connection-type: true - - phy-mode: true - - pcs-handle: - maxItems: 1 - description: - A reference to a node representing a PCS PHY device found on - the internal MDIO bus. - - managed: true - required: - reg -additionalProperties: false +unevaluatedProperties: false examples: - |