Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp663961rwb; Thu, 12 Jan 2023 10:37:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXvnF7SLoSHlhveSN7LuO7lUPxdmtUq3NswmMEuW+Vsty15KQIdKulYXy8jq5PLkzZFm45G9 X-Received: by 2002:a17:90a:c683:b0:225:f793:ab2d with SMTP id n3-20020a17090ac68300b00225f793ab2dmr7463600pjt.46.1673548638169; Thu, 12 Jan 2023 10:37:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673548638; cv=pass; d=google.com; s=arc-20160816; b=tVq/5x/srD8vRsYqlCv1spurNbNN1Fx7l3yPGx9TEBZGJgwoTths8RdRJClprB21/q oPfW2Ll/KXRHNrN031acNY93VRarzPbhSAWI/dCvzlxW6YpxvmgsbRctpqaq3mHIOhzB OZZmuEVDi5yvelaCioQYrYLd9TPyr739ZNn5ADMWlqbvv7sfU7L3lt5CPNyNt13yLUEE vqM0fufp3OiGXqxGWNj5/0U7mXPABgT9ohSww3vvDB7raTuwoOE//4ZSTWtmQu3/q7Ft p0Uw4wsdO06RbRKnPx0LuJSU4GH/Mko3SU/ZxBnspw9Nk7OUtLUVkMWCjt4miwJmjiMM M1mA== 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=NNN4bX3yrRmVP18izGOcKzc3XHhKa7x/a6+yqKqks7c=; b=kTx6TytOIq8SI3wO4gMhWU/IRhYUXlH/g0lJW65/ya/RG39Xr8LVqLEmJ16s2uZxxB CH7LLxFljW5pUJdTrbrbIMFwFPluZuq7hK+nrk7qMWDlFiNABEciEntCM0L3lEqPix5r Nf0kX85yw2+z8u2SFUPGvRaDfXawAZfMMTfi9BQjAd/++2xAuKx8SaNZF5PHCyOJyV14 JtsBg+jR4YVlWQBuw/pAkxAuiI/dhZUrIIExbWwJouUn4TOcSZHCN9cEm3wfq4/jloBC /ec3Vec2Pkn4+IwhCQULe7i7vi67duYUi2RSh7oRO0LeY7DUj4urJbya6McQjMHMNZ2v H56A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=Ko3+PtFj; 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 nm7-20020a17090b19c700b002263b1df9f7si8138889pjb.0.2023.01.12.10.37.11; Thu, 12 Jan 2023 10:37:18 -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=Ko3+PtFj; 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 S240213AbjALSW2 (ORCPT + 50 others); Thu, 12 Jan 2023 13:22:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240364AbjALSVX (ORCPT ); Thu, 12 Jan 2023 13:21:23 -0500 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2100.outbound.protection.outlook.com [40.107.236.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A644615720; Thu, 12 Jan 2023 09:56:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gpv2Z9XkmV5/O+NO/XmmUf8ftYD1DctaFyGTRXkK9SShSU01GDCeurQHEepweo2fRpln8ZKittZa14+2DpLMZTO4vIlERXGOuKYhD/Me0Uk1Q7sxRfbQxGA+iSWYemDUqrSIs/CUT8PjlKmJKs/a+8Yr0Bh6fIcKAWQ0b3QqsVT3L5aYel5SGw+In/jLnvr//+N5cWGFi4horHjlIxMJtodl6SR/1b9R+HFELh5xlSPYRgt2GyTcXePaHnT93Uvez3ROTfthKpAvpPnFdRwXBDtHsdrSBesvvSrBRmFJj4c1CJaUe61dXEaIDIvX42ivzOweq+tryQwa6/tqoxCnwA== 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=NNN4bX3yrRmVP18izGOcKzc3XHhKa7x/a6+yqKqks7c=; b=H0Dxodc0vM+tA1N9ciL9ChZJ59AT06FbLowu8569wWNC35GiMdmCxLkWi5fcCi71l5WIDO1ZuQt3zoBRGNPUH1slaRs/TS+y55keaS/cKPsOuazEbOPt64Hd8RgCyxY7Z1VgXoGU6/jR6TV6mGCPwfjoZkAXUlBVWjovgfbjUF/ks2EWGj7LHz28cfUuW+KfmVtkF91B7yMO054x2Thz92t9IOVDSOV5hEALn2NfnKSGxYuMgTcGdwrO7yAQLLkc7wPMIkRZRxqtRRTlLrivnA7v5rg1FPayK/+VkIqS6/ime9+1nuOyNRsO6knC4WhAHVrJxp4jNSzn+v19p0zAUQ== 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=NNN4bX3yrRmVP18izGOcKzc3XHhKa7x/a6+yqKqks7c=; b=Ko3+PtFj6y+OGNvEt3G82llIXbbbHKVIxOGpDB636qmTGPI8XuI7vwc4YxkpSDAm5AuR+APIEoXiT/bfEH2+9rsDnTdkHx18pG4aNrdPZWrZtIakVGPdo+kBjmqRrhas5HeiwDu84iLwbu2LYcLn5q1m8rDeueKAlMiHtfV2BVw= 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 SN7PR10MB6548.namprd10.prod.outlook.com (2603:10b6:806:2ab::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Thu, 12 Jan 2023 17:56:46 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::2015:3589:3e96:2acd]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::2015:3589:3e96:2acd%5]) with mapi id 15.20.6002.012; Thu, 12 Jan 2023 17:56:46 +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?= , =?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 , Rob Herring , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Andrew Lunn , George McCollister , Rob Herring Subject: [PATCH v7 net-next 05/10] dt-bindings: net: dsa: allow additional ethernet-port properties Date: Thu, 12 Jan 2023 07:56:08 -1000 Message-Id: <20230112175613.18211-6-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230112175613.18211-1-colin.foster@in-advantage.com> References: <20230112175613.18211-1-colin.foster@in-advantage.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BY3PR03CA0002.namprd03.prod.outlook.com (2603:10b6:a03:39a::7) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|SN7PR10MB6548:EE_ X-MS-Office365-Filtering-Correlation-Id: ef6945e0-3f22-4ac7-b24e-08daf4c65f11 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9ZwupCiZHqOAfc3liVwZMCkXjaLFyx7968X7SIMYby7A8pN/AVKfgI4mqN77PARgU0k+FlPupZM4fQRr2bk2gozb1DaDj3MCmF53pFKpLP7h3fdHhHoJaIdC5fy66/Y76iuZqQ9UAhPLRTZN9hLjPzRev2EwAoEXP47cQI/YyX9Y1cfdTlHDQai21OGnZW46YgRMmeN1rczeDNVmlzeUNxIn75CwhNxX8I2BrNSD6ajrn+mtwrobTfQ9Wf66Dt7rUZHO0R2qbGq8w1GVRLGrRHogLFFRVGYCYL9/feh7oRp8oC/0aF8ROCSHePJPK0DjWSlEfRcOMPqnvohg6zRpty2rHGihRw0rEcKzHEjyGbTyYN8t3Ks1ex4wivKvKmamM+KHF0oYrMbL6D+DL0p3G86w2vL04kiOeOj5Q258qQRdPnq1FiDQt/PdnC/8wFCf1euKLqNuB2EeH2krEdVqw5HJMZ099B5l6E9S6lqr8hXCbSQ2yxC4UX6LAkujMY1YLlSAoqGk6MZ2z28oVYO4pOiNinq1LMU1WkWAL+psIeaoYFQxSdgkLQXVzPSEJmjFdXEAQv+0i1Xj/Vd1Jb/qSIaAo5ie6QA+JOaNhrqIJ//6NSNVPYTywPeX9Rc5WdIs 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)(396003)(136003)(376002)(39840400004)(366004)(346002)(451199015)(66476007)(41300700001)(66556008)(66946007)(8676002)(7406005)(5660300002)(7416002)(316002)(44832011)(54906003)(4326008)(8936002)(2906002)(86362001)(38100700002)(478600001)(36756003)(6486002)(52116002)(6666004)(186003)(6506007)(1076003)(2616005)(6512007)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?zZfMUbbHBZ7fj00SKjM6L31mj7p5Itp6lI1JHgfyRz0dch2cvJR0jhb2Wi+t?= =?us-ascii?Q?rfcH5JTOti3oIYILZs3mPcn7MeUTHi2H/bjTIJcLRf+qiHJ8cu6oF2phIgO4?= =?us-ascii?Q?OdE9eEJ3cf8qp3ojDjXLvNJH4cam+tyNOG1NkSnB0e/LFyOkTcXSUq4uBiD6?= =?us-ascii?Q?mJcgSZCyu9JqR4O7hmEhY33HpdqTN05MtrlIRr3R7UysMdLKQoV0pHUmrs+k?= =?us-ascii?Q?R/MSfQ1DN6l11cPEnZx0rVMBD22kIulIY3KIkPUm1jMg8TrreJ8xbL/jEl81?= =?us-ascii?Q?2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65RPJ6NgJCC98N/k?= =?us-ascii?Q?Z7aKVLsUOCQjMKhiElci9pO/tDqc9hdMIKzSuWBkp2xzL78K1To/5rOQ9mmQ?= =?us-ascii?Q?pucua6ndJJEtc9CFET4P/3S5q7olsaH6Y+Lb59ljanNpBaDjkLao8wvYz69T?= =?us-ascii?Q?NWJNZFpZdpl+Nfm7kGT3OKq1DY2iy6gFWU3CEroOh4r1tTwP0iRqEeG6UYoL?= =?us-ascii?Q?+xoRWXnbbTzDFKLwhUVrgxcNll4rvPv7BEu8d+Bl/GlUrrL+JzYLmvHb4Msi?= =?us-ascii?Q?G27hhJIlaU+7k1ggm7Ccm79MR+DFJvUBTS9FgPm6b2LKw4ZXuos8QrGHSEhk?= =?us-ascii?Q?0uIFlocWPKTYrZmiALUz5NyR086iuSjAb/DXzr7+sKvV3UiyW0U614mXGCF7?= =?us-ascii?Q?OEMr8tD19rdzKWQEIhRjspWikeuSiThf4xM1+q4f9ljBM7DpdjqyXUXatW+q?= =?us-ascii?Q?uN3MfQjWPP0nH7FYa48mGGVs+McsuaFSYrPI6H9Hue5UIENSBrWRM690Axup?= =?us-ascii?Q?SN/lTUd7IdoeJ67LUcflHB4dYR8=3D?= X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: ef6945e0-3f22-4ac7-b24e-08daf4c65f11 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2023 17:56:46.5168 (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: eRRCFaCLm2TL3PhyDvmdgcqCKKChQupiNLpI8Ws6JKjP3TBRvEMzE81nina5LGPY1tqCinj+qFSoz1dP16Lp02SCdmJpteaVhSq+7AjsAXk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR10MB6548 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 Reviewed-by: Rob Herring --- v5 -> v7 * No change v4 -> v5 * Add Rob Reviewed 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 efaa94cb89ae..7487ac0d6bb9 100644 --- a/Documentation/devicetree/bindings/net/dsa/dsa.yaml +++ b/Documentation/devicetree/bindings/net/dsa/dsa.yaml @@ -41,6 +41,8 @@ patternProperties: '#size-cells': const: 0 + unevaluatedProperties: false + patternProperties: "^(ethernet-)?port@[0-9]+$": type: object @@ -48,7 +50,7 @@ patternProperties: $ref: dsa-port.yaml# - unevaluatedProperties: false + additionalProperties: true oneOf: - required: -- 2.25.1