Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2646640rwb; Fri, 2 Dec 2022 12:51:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf4k/hLWRtXaXbjI0AYra+5aqp+p+nAf1WQsuyrgZJcCGP5RSzGv8FVFdgdCjvX8aiul2fuS X-Received: by 2002:a17:902:ecd1:b0:189:90b9:2500 with SMTP id a17-20020a170902ecd100b0018990b92500mr24937492plh.0.1670014288880; Fri, 02 Dec 2022 12:51:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670014288; cv=pass; d=google.com; s=arc-20160816; b=Z7eykhaYqPWfwSCEsYHMqJ384WZvGQi4ONd7glJjL6LIPzXltPmybOM0+Swk62570l /F8byXE1NccJX4b17+VoVKf/KQNgTpym2Wdv/ptSGUFYB46P0y36Pv7S3H7A2llDgk+6 z9Pc8rzj1dUUPUNpuRAyl+CxoyJfQS+QFvF40UjMQtytYkq9CaUTLitVzI2suk5EkZkV 3TfsRW0nZYHx8a9EI+Y6rB7SWzo8GFJJxVs2oUp5ccP6Baa8lFvsuukbl3msDZB1ng4h UK/Krt7yibZNvzwV0/T0DH6IOVnXqVEcw0wKyiWOwM8F8LdjcjjLHfHxJtWi2NmqacEK Rk5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZsHMt7pE+tiQecrta3QILh3daloCZA3Js0ebcUMmVn4=; b=RLACHaLPScegjKR/+qEg/NJMS2CFO7AQFiU/FQ5/pA+a5P9fT2RVzV8VMGV0umzZ/u x+zodsHK+t0iS1BOgZabGZMr+w28DQr6wX+dQngoKxSYxLLwFHVOzQNbYLfRPd7OGN+3 mTnfyx8++knSUAzPwhWdQBtf0QVgQeCrSHMPHoVMIlJuBi1188o3fYPaE82HffcYHJxO gbcFyVBEQG9QmSJLKMNFZRTftRllCXb1dcbrG2UzBQ6qN2WMoJq5RYIgw8+VofffSm9G McgI98VP5NvD9HHTn1J+h4pFr4asDrXPTEZkrWyUU9uYEa8qJcRiCLnT0NQpt9rd4k1I N+yA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=ZSiSIX30; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=in-advantage.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fw23-20020a17090b129700b0021872a7d873si10388421pjb.57.2022.12.02.12.51.16; Fri, 02 Dec 2022 12:51:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=ZSiSIX30; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=in-advantage.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234696AbiLBUqg (ORCPT + 82 others); Fri, 2 Dec 2022 15:46:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234907AbiLBUqV (ORCPT ); Fri, 2 Dec 2022 15:46:21 -0500 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2109.outbound.protection.outlook.com [40.107.94.109]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52488EC81E; Fri, 2 Dec 2022 12:46:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MXgJfNuGM8PUCnstziPltBk7K5qp7LXNi3PNz3jvx+73tftOSeEq33ddlfqmWcY1VjNwIkzWgitKKOCbVhAWdB50+nKKcHLM3GCB7a+Oh7wRfgX82KggMmOVWdNt4tujjVfv0jyoyjTdB2KiXDwvzvhMyCrZMSTrJQknW39iIb8XxPP9+mxhcedz3I274dQeYZtIkGEDndlJA9sxRnUw8JS3tRwFjvnz4Gg6IGEUJpObsIeEWrHdD0eCwkbUj5nIwMD8jegx68IDCe5ECVykmcaJztmvwVZzEXnlZuf6MejPHmtlsyz8vBiUElYUBoT1ToodwCwedJfupOU6cCGXPg== 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=ZsHMt7pE+tiQecrta3QILh3daloCZA3Js0ebcUMmVn4=; b=EYKxiTHSKgndVPd5YQFNBKeEq1MBCvQo40ZMH8ei2/YI7cgahLC9UGBdIwIOFc7v+bqVxrB2pcnNBS2Ldlk88YwKDMhCsesusRACo3i1bsPUXFxa2JH4OG2tHoI0f5CP04rniPnd+smaBhniMIlg/ecJItmAiPRVmBN8HReyWBKVcrQE0Qvtrw+a5KRP4t+h3h2U4zJCFdxWIFdNBU8c9L4JXUQSNrpRGysWr/2rM8aVnovpXCCmr1a/JB3sQSFNG1Pu6XrLwhPpNNPyQ77iIu9ixR52J0SIKd8FJQZJUmy+LYHvENVgNDS8Xt9YAFyC5DbEbGLIG4ZZE9yhslEW5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=in-advantage.com; dmarc=pass action=none header.from=in-advantage.com; dkim=pass header.d=in-advantage.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inadvantage.onmicrosoft.com; s=selector2-inadvantage-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZsHMt7pE+tiQecrta3QILh3daloCZA3Js0ebcUMmVn4=; b=ZSiSIX305EfxK2+b487Oj1Z84vOYMGN6inUJ3pTQNLEyibXfIRuiGpuxKMLQW33AtJEwelQdEPx1ryuXnIjWoYynMukJOWAfGV6Z56SgMz/p87LxMAVqtKz94SZErqIDn90NbiQuyfx4PT7tshUmSTDvS4bB3yvcolVwUdCyUU4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=in-advantage.com; Received: from MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) by PH0PR10MB5547.namprd10.prod.outlook.com (2603:10b6:510:da::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.10; Fri, 2 Dec 2022 20:46:18 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::45b5:a860:9cea:a74c]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::45b5:a860:9cea:a74c%4]) with mapi id 15.20.5857.023; Fri, 2 Dec 2022 20:46:18 +0000 From: Colin Foster To: linux-renesas-soc@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org Cc: John Crispin , Alexandre Belloni , Claudiu Manoil , Marek Vasut , Sean Wang , DENG Qingfang , Landen Chao , =?UTF-8?q?n=C3=A7=20=C3=9CNAL?= , Vivien Didelot , =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= , =?UTF-8?q?Alvin=20=C5=A0ipraga?= , Linus Walleij , UNGLinuxDriver@microchip.com, Woojung Huh , Matthias Brugger , Kurt Kanzenbach , Krzysztof Kozlowski , Rob Herring , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Andrew Lunn , George McCollister Subject: [PATCH v4 net-next 4/9] dt-bindings: net: dsa: allow additional ethernet-port properties Date: Fri, 2 Dec 2022 12:45:54 -0800 Message-Id: <20221202204559.162619-5-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221202204559.162619-1-colin.foster@in-advantage.com> References: <20221202204559.162619-1-colin.foster@in-advantage.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MW4PR03CA0201.namprd03.prod.outlook.com (2603:10b6:303:b8::26) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|PH0PR10MB5547:EE_ X-MS-Office365-Filtering-Correlation-Id: cdc46ed9-43d9-4413-c2c8-08dad4a641ae X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oklFmiuPNN2iwoncpVkKQZgEh6GOAuHRwaC8iqCiIcObOBZVo/s6dJC+ipcXeUzBqnRthYou20guDFo9Zt3B/hn8+ICTzfKBfYrCT71E02+sCuXDv6lPFF9zNz+yDHVXTSGMRf1TMLouFyUeqVCtmRKsA+fYC1F9Txr4eytBjpOyX0LGkZw00yQ75gvI6l1o10A+L/oqmh9+FWsXEKl+NulE8IxuLrGVRU0rwXTlKE0A69/bodKqAPJzkaRBiZhHs+t9PcIjzh5KH3ofxXB51+HwDJwxU03XfGbRzqBy/lZLGtlvMka26JYcrQS6GVhmVXQutBtAsqWlURZbptllHbg2URpjEm9d48wwwO1/dxPIJeh8DPC1QxNQCmACf++LPV1Wr3kfIfQ0/3+3JF1MNJ6IBKAQp61yuHj5ZWacDSTmrdmEfb47CJ+PNDET9QY9dTrZj3V8nTmRaERDsNuGSlc1cvonE5pqW1RkxT9xld+f+k8Ch5UytFo33GffrcSbCCmsYEZdrq4vVdFcnKtCKdZIIyn94QAXuAXHZFL1pxoAohIBxS61W/bxtMTEUi0hzfQeNnhMpydUyK9KULKTzZc3UqD/MZPMmnjD+m8rK0bNL39LjAw7jO2d1djx+w7Fu+rq6aM7Ge9btEzoNCm3ysXh+EsiUY4zj2HZflSe2KxTbJ+/zq5PTlus4/Yvg6HV X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR1001MB2351.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(136003)(366004)(396003)(376002)(39830400003)(346002)(451199015)(54906003)(316002)(66556008)(8936002)(44832011)(7416002)(2906002)(7406005)(38350700002)(41300700001)(5660300002)(4326008)(8676002)(66476007)(186003)(66946007)(38100700002)(2616005)(1076003)(83380400001)(52116002)(478600001)(6486002)(86362001)(26005)(6512007)(6506007)(6666004)(36756003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?EaCmYvGHadnbpRJY3nJrO2pAUAndUqugCHAHPWk07pWt/EqcG8NRNTbMl3zC?= =?us-ascii?Q?APo7WkuH2fU82/ninSahPLsJXyuA4imc/XyUdkPaQjdEtvK2mcs6ZqdJYYaS?= =?us-ascii?Q?csWT7oqUyhX2Zdd5CZxmIaXyu6U/5YTEbEZYAmLOh69K+MkQT61kaKJnx+Eq?= =?us-ascii?Q?Oi8BXPsukLJFYMpZskP6pCmi54BkCJjih7eHE0R4oE584vLaYyqRRhwS9Ltn?= =?us-ascii?Q?xJz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SxFJhcRN4?= =?us-ascii?Q?tKI9V5H6fbAJwSIDP/aBQDgsiIgBzCVrFOnuUyrMiASj8RFBOfOsK7eu3H+O?= =?us-ascii?Q?qQj+W6xrvZhpCJPIQD7VtLAhAp2AIei79RqXgMaxmdV9JbWEkrgt8H5AtPpg?= =?us-ascii?Q?SjDmd6h2nbuIuBfO4E81oxo7Zra+BTswrAv/Id7UTN/gfAUg9M+GfdVQtNnY?= =?us-ascii?Q?9IQoXFW7bP2GhcpbpHBwv2FN2/A7HgOlMaLFP9oe2Co+XiDYkg8aCFMjUwm+?= =?us-ascii?Q?MXBMA4UASFqclLN2Mw2OCTzHtnjQW87hToUMAcC/cLvALsvZXLlwqSucHI05?= =?us-ascii?Q?L9eB7T4cFndxrGaMTDbEzSVaIsjRkKOJFXTNa+DlkZN8/zmU64oFYLgosH1V?= =?us-ascii?Q?dwxYUgfhMzsCQs/YOGoUEMzubhyq8WIJU3dSBIu54hls/fb9M20s20S+XiST?= =?us-ascii?Q?dNL6xUw+qB73T4kqfkxqqUnLLc3k5vhqQeAMxTRsL+yzEix7ipx5Qsn+rEpM?= =?us-ascii?Q?AA=3D=3D?= X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: cdc46ed9-43d9-4413-c2c8-08dad4a641ae X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2022 20:46:16.0009 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 48e842ca-fbd8-4633-a79d-0c955a7d3aae X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: dbLEcspcWvvxuV0Oed+Dw5fKNh4I9vEZIbrCERaJPGHQed0l4cq+xbW5Pk/yF2yZssu1mpBhGLl6LwBI+vE0blp6hikg5O1IebaWOCXn29c= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5547 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Explicitly allow additional properties for both the ethernet-port and ethernet-ports properties. This specifically will allow the qca8k.yaml binding to use shared properties. Signed-off-by: Colin Foster Reviewed-by: Florian Fainelli --- v3 -> v4 * Change ethernet-ports node to have "unevaluatedProperties: false" instead of "additionalProperties: true" * Change ethernet-port node to have "additionalProperties: true" instead of "unevaluatedProperties: true" * Add Reviewed tag v2 -> v3 * No change v1 -> v2 * New patch --- Documentation/devicetree/bindings/net/dsa/dsa.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.yaml b/Documentation/devicetree/bindings/net/dsa/dsa.yaml index b9e366e46aed..5081f4979f1b 100644 --- a/Documentation/devicetree/bindings/net/dsa/dsa.yaml +++ b/Documentation/devicetree/bindings/net/dsa/dsa.yaml @@ -38,6 +38,8 @@ patternProperties: '#size-cells': const: 0 + unevaluatedProperties: false + patternProperties: "^(ethernet-)?port@[0-9]+$": type: object @@ -45,7 +47,7 @@ patternProperties: $ref: dsa-port.yaml# - unevaluatedProperties: false + additionalProperties: true oneOf: - required: -- 2.25.1