From patchwork Sun Aug 11 18:40:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13759830 X-Patchwork-Delegate: kuba@kernel.org Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011003.outbound.protection.outlook.com [52.101.70.3]) (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 74CBF848D; Sun, 11 Aug 2024 18:41:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.3 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723401675; cv=fail; b=CfJj++Obojae684s2e929duwDB1Cne44vLNL6NVrgh/IB9S0WqXfxOutZc6EoeWRmHtPtJvWlWnb6cXRzY8G7UeldYIceTK080DezSNgqfk6UjLRxpZ/Sjn24aELe+bSOrtkWLVc5ApVx7CtgLPczl94m0WN/dqXIxL4Plbl4kU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723401675; c=relaxed/simple; bh=i3oI6ZvQ/u453+nUSsnsnGLfXteaWy8DspBbuY1ZXPU=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=Wm2+xRaFy7yWvvz3bbAM5k+BVGky1u7PCMWzEFqP8rAMNq+JNXrSqVntenxV6KsoEMaPH5bVDCgLbKvsjkkSFXg/Xd4ul6HY95jMXhSYyfO/0fT6VwdOtJ0dsyo6VyFGfLSp3CzAgGGv2JcZBzY0QK6TEE9Z30EuVJfQ8KpPZGU= 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=K7FZnsc8; arc=fail smtp.client-ip=52.101.70.3 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="K7FZnsc8" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=AcLSeHoMv5cT8NmoGD6FM59Cpk2w8V+YZzAJyqBeAsDpgmmtndnH6+gfQsA7ZWpisEexs8kR9rnrMcH4MLqovVqeHl/H/hwARkwp91eGSwAxPjfiVPtvmhbwr1LhUnjJu0Yk2/KJGUQj8vYXbOeaUNmsy38IoUpWOqZgZbFOz96oXhS8t9b6asZm9CMNirmMQzBhkU9HsHXv+/23nEeRXuDcK/RqVyLe3f/rtuj7fDm2BpQqMUJ4+TeuBHpdq8SJLzrNPyvG2fsR21y5yhV27xiOwIn/J+P2A5w9QI2yreSsC4EhDPQro0qZC46FssivCCpzCEnGH6KK1ChLFiKLGg== 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=mXDpHDsmnuhm8BT7j9G5JnuIZUhuefO+LtHfYWqV0nQ=; b=Nd1oGjaKPF1Tp9MaPMDMsMUfUk2AMIcG2/yYsUXNJKfud8XfHt5a1TKgqFoKRwBJsdYXMLYXYs4zSuzMtzlE7QzsWTbJ3WYcgfPaotE+uzeskdrVFhgfvcS3Av6R3NiMbxx7S2uU2mv1936G/SdL36j44YzLLtkFTzAI1aSOSmckOKiqgGrgEIcxK2jPoY9jzIzqUJxnlg2CnzZTrivJvIn87SPoohFI4/O97J8GYHXjNrIOWYhubfs+4V1+XKjxQIQxqg74Yee7rO6cU64fmJ8sCl6+0Yz9K9YfOROnVdcw+crrzhonhcgz4SDE/yHKj3AtBbcz/diYiR+bpAR1BA== 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=mXDpHDsmnuhm8BT7j9G5JnuIZUhuefO+LtHfYWqV0nQ=; b=K7FZnsc8vNJoeBZB+JJFPOdb04AiyCyFp1PDTM/fXv3liZncwGO3o8mt7VDHdtqRPSlhYrkOLegtyxTwYsbYDO+hZYaMe6u3mhMlNi9RrjSMTq/htRZzfW78OsEpPubiwRYSOOyu/lSSdi+e8Z8mxixP/bEfJhzEb0+1kg/qV4pkKNG4TBk7ngGpT3On3QwUu1vY8+9TuulidVy9k5J4eY95yzPc+uXfdSXuLu3Bc/k3SobhYXo6hGF9Ry25zorwmQEWWIOs0id9S+3XOR5sRuhzxHl2W6t1WTw4DV6Wxdt6s10qQYn9nEInlcud24gkB2zGUjPmCD+waSIWe2xcVw== 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 GV1PR04MB10276.eurprd04.prod.outlook.com (2603:10a6:150:1af::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.20; Sun, 11 Aug 2024 18:41: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%5]) with mapi id 15.20.7849.018; Sun, 11 Aug 2024 18:41:07 +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 v3 1/1] dt-bindings: net: fsl,qoriq-mc-dpmac: using unevaluatedProperties Date: Sun, 11 Aug 2024 14:40:49 -0400 Message-Id: <20240811184049.3759195-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BY3PR05CA0013.namprd05.prod.outlook.com (2603:10b6:a03:254::18) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|GV1PR04MB10276:EE_ X-MS-Office365-Filtering-Correlation-Id: b1fd4079-d2c8-4968-f565-08dcba352977 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|7416014|376014|52116014|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: u/Z/EnKHoDcsyKX73xys75MvVW6x1FpfbgiAehzA4mAN7yIVBsCFKc151N6UimyucoxdczI5TD7wI0H+Uhw1SNLKhvJut1WSqWI9RGzdwRshnf2GxLj8HOhJEsS1H8Bk2+stsWF/AO8JCFuRWkzjXgR2h27g5+nd3AHAjaagHLacS7937vZyrpVGRcWcFPkFTAjZ7KQg6EAIRHY2rcf9G/GtKnP1/35gt8MZM0Fuo3f4Zz1ssO107HFxif8JHgXI4kaLuTtIXAlWnLO7eeySCqobwJlxFZbPhwfkBvKTwLTlBRJkFJByjHS0TinYc3EB2QINcoiTAvwgirKU/HAFmzEcxR730/l+eQp3djBSE8FHjZdsowTpnyqufNmppA++h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SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(7416014)(376014)(52116014)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fHELZ9dwg284r98rxSJbFqlEFQ41/D4FlOSreukXrmAGR7ZTlrEXgLI91XrUrHnZDZN3zAwYbhtqRMp1QSBJFrFOK5S66vM8EN4z7H/qfMyVae7U/sgX+xVsiy9FsbBo90/TSol6ufFMcMpsOQI89+Kibs0Sb3zySzFDjmVUW+JP/hUEDPWrtHJSziOAVVjgwb92i5By0sba3nHLtLXz/d+StFsaNoPSmuZojpsDDVfHQo5dxe1RDFyX+p1u6wg8TgHOmJEuGzctCZWWtfFEcUz5/qOHbJpliszXF4sgwIZYf66k988WbjTYLQ8e03Jv79sjIbJ4CmZNM8G7P8+RpWR/PhgDXX1zWi2mswxb3zCIYHI6DR35AiRaVAvbJ3/Vw0K9deSVPcsGxnC6fLI2l+E3BXsMZu/83zvTJ3DloaKYr4qunTJeMMNScmm/r6ZjhPeQV6AlT/ndmMt2o69ym36oOyBMuKlXk/nHj36CkkXw7QDdTJQQNDyeTQRW/eJv7zmpb8wcGpxI3SuBF5SSnPuteta15BqnYj0P5DaE0uuLVmX5lbiEow7g08RmsyYozt52peeW+ENh9COeSnhnAFUbFwC+qfGfeTKJ9nWisiztMgSiLHgeSwdiwKTJFkK89Wa5d7LtJ6PQrlY5fzVu7g72en02CUa2zoY8VCyNtrOJ0/YJt2yoHXmyKactEPawapp1fdIGX/B+HeRtSv1lWp+6grQI2AyyHR/Nq84DtjSNnKI9fTWvDiOSAjO2P9uDeN1qElynNRm6ItZQv4iBjwYR2cOxHQGpaRQzVzdJ/Ag2NpJ1R5jBcvdgZYUGXkl9qrYKouWCgTKZFumjxIHYd+EZ8Rv5N8V8XaX7BWG41ZpTubCz71dqp6w1CwJqhgrYDHWroQ/VBwxdHeAfvMEpJARtXbIVdNSyqmzqz45jZne/O1/wqQNuLFxmyEjCF45S6UFi9mhInH80hiKZHvINVIYCccAOaurbmHz8WXHVNzCaJc6fo9MXC7ZwzttqRNoodMc/K1TX5aRjfrkSG4Elxa8HT4G8QqkReuff+UBmkR06OW+Sn6JIf+xdQ9w01RlUZzb43tVFLsd9ZBvTTRa6oLKHaa+Wecwhx8WfNa9iA4fyM1Iy1fjzRHIRmQJetUSh3f32PximWtvCtE5JvZCRSzAYFGDDZcbHobTQczZhI40qkp091D1DN3Bloa5gaSVTxwFrJ4IZbkcu6H1AAe31exc3vDqAE2S1eNXdjdLipS9ISAUZ9bzqhhwWoVlKlIqIZEFTseTW4NOTQlyeizfD+Yo5vU8yM5aPOw29k8LrjXKF2w89M4Xm1sOLCKVsqcIWKTzxPIyTh3XVALMt5mQOFapllUoNtgCRI79kLO04M0wGkS5G3kSpw+tyzsSHybR+Q1MxYGaMavF7KibOWZclt+i9PvWVf5s3QgcAz0plAvSYQrmz5jCrO4G2sYkV+mmZ26qCCKTz17J23U9MmL79Rnu4MUkaP+xrFrIsw3MPmTuUUDuOJzUU8nx1OBhQLY4rIFqdRL6gbZRbynFjEgBOUIWlM9ffQQ1iBGkByUJ39OghPkFrYdNrI8+i9N1wXneC X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b1fd4079-d2c8-4968-f565-08dcba352977 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2024 18:41:07.3771 (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: dGMByf9z25yOF+BsvMK43G96VhYmysIWmgpp4Wx8OB9EBacVW1QhR0+yGpihGhyAXKE9SAirb5TkM+JqOq1wnQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB10276 X-Patchwork-Delegate: kuba@kernel.org 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 Reviewed-by: Krzysztof Kozlowski --- Change from v2 to v3 - keep pcs-handle because need maxItems Change from v1 to v2 - Remove properties, which already defined in ethernet-controller.yaml --- .../devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 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..f19c4fa66f18b 100644 --- a/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml +++ b/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml @@ -24,24 +24,16 @@ 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: - |