From patchwork Sun Nov 27 22:47:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Foster X-Patchwork-Id: 13056896 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 95B8DC4332F for ; Sun, 27 Nov 2022 22:50:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6FoL+KrRkCLvjTmvR01DY+RCp3geqHomHqURVENA7Xs=; b=VHKK4LIqVWJCrX i3VhfntdISt7LEhYrFMGxLFKqaNxwNDdbUrjjo2ULHC1SeuDOzmvfznyb+gLc+EtVsuSNw3k9Thu9 fViYOSiqLmAKPLdKSVTx/bXGb24gDKhOIH0bAqDaeUR4rOa8hBAw2Ld3lC2of+DViU44pOPpiUnFv hX4uqN0oHqYYErCwJTvCcE9pPg/YSVZA7FK05UD00qoRhiKOZdDO4lDFxz3kchXdhYBog2RJjPaK2 escWpP2K02akvzjoEEzY9bXzTiRU2BNepdlEISzLbfpMxrHOJkInoQHd9kqNbABGqgXz5RiDOs0z/ ZHd+CXInOO++HhYESpmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ozQSG-00E16J-VU; Sun, 27 Nov 2022 22:48:59 +0000 Received: from mail-mw2nam10on2072c.outbound.protection.outlook.com ([2a01:111:f400:7e89::72c] helo=NAM10-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ozQRO-00E0cz-Tz; Sun, 27 Nov 2022 22:48:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OvMD4omNXKplXstaOnBRS7i3umk3BPaJzfoh5dmTD0kKehxQjRXD9HtwY3U/i/Zf9QfXcQfUzECPM1xGhlYic/IOyZs98n/F91QviKQiDTEmscShR3JVgWvg8Res+/IOpFEnhEidamauzesAexlQ7JM5CTNScEgBt/5r2ffjwLe539F2QsfaHAuAjID+azuKVHa1rXees3LStilWmZMmZHmaUFbUquKfHS+MWdaIxXnL907MRb8ZA1Sq9d7oA3flrueUphTIIfOxzdu3SZqPn46Olg8cGW3S/9RFWmHlAgORNGaxCQq1KyxLSGxmCpXSbOubIm3doJWmD6yA257CPA== 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=SSteeDlnUgk0qYhjpkGtjB2C9sS8xX4R7s250jERe9Q=; b=Y5N+g2pGUmj4sNu5+CNdGiBEnsUA2nyCp2qeHi1BO/paW1dt/HFtg0BIzQgtp3dMZTOnTMK6qiZekI5qtAdlqrmPmUtQ/CtBBwJ0lSQllHXUcX76QtqDM6pS7cUG/uByverdp3nx9czUNhdpFLPRTs36ve3uB+/ms6k1VKnq4WGEJ3i2vAOXpUroc7fXV7ao7Tj+09b+xkMwBHh+N5v7MwWTHOuQn3to/235GBUCZVGjKLVvHlWhkHdOj/TG8B0COmfdnliNsAMW8EFl6Su+PK4+vCpcqiZWTu+xSUb5SMTap65b5e1kdNLGO9J4oefHuWyMrGAgL5h/Dhul+k+0MA== 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=SSteeDlnUgk0qYhjpkGtjB2C9sS8xX4R7s250jERe9Q=; b=nzd4MeuHTpMkqNZTu8+NwSagPBA647SIzHtnN3/fpu9q1j45mE/TNMUVPPk7Tul1uGVn04BsgMxU65rcNYRC3y7c2+fMG2qh4rbZc6o7rxFVrA8KlookAvL8wvaS6KveJFKXb7tqPTbb9po8a1FvpvIlYGCpdYwvkDyLRPG7hE8= 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 BN0PR10MB4998.namprd10.prod.outlook.com (2603:10b6:408:120::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.22; Sun, 27 Nov 2022 22:47:54 +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.022; Sun, 27 Nov 2022 22:47:54 +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?b?bsOnIMOcTkFM?= , Vivien Didelot , =?utf-8?b?Q2zDqW1lbnQgTMOpZ2Vy?= , =?utf-8?q?Alv?= =?utf-8?q?in_=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 v3 net-next 04/10] dt-bindings: net: dsa: allow additional ethernet-port properties Date: Sun, 27 Nov 2022 14:47:28 -0800 Message-Id: <20221127224734.885526-5-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221127224734.885526-1-colin.foster@in-advantage.com> References: <20221127224734.885526-1-colin.foster@in-advantage.com> X-ClientProxiedBy: SJ0PR05CA0027.namprd05.prod.outlook.com (2603:10b6:a03:33b::32) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|BN0PR10MB4998:EE_ X-MS-Office365-Filtering-Correlation-Id: 5005b04d-26e2-4adc-9965-08dad0c96bd0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aeegcg5i+jn/jmaS1pZh3WuzxKy4ozhCXuZihlv29rKqVSkvFE5C09NzeagPtAfqeeQaNUf7mX3UGlOt/aNgfOfeq0vf/raiZ22vKHqRnG0lFRsHBRZcEIUyIHSNCC2uvLPaoiXgwtv2iXkTTi8MchCX0e9sM3qIh9UUNxyMP63Aq2xmPHcuJ+40elHuUtXZeqhCXhTGGAIU+g3uc0F1wEJV3UQlBn6iwgW20RsmsVhNAU9oGsS24GCmEi7NM4s+Ctu3Bv8R2daOCMYVyOjwxx+2o4KONPwW7V+voncOiIzdvj+Kpq9Mou0uWRSHQ4qkUiJdt3pbKuN/zOJtFnybM65RPluThuXOaOztqou2jj6w/mjrdeuzq1HBc7SXuym80eW6uViHbeccOSO6+5jeoxZZp4FDPRb5qUz8224I/RYaVm4vAVP5uqMZ6HWEEk1IJUSdKquVQurzpzCe/N2OnPOtjYKZKY7vPPf8ctiC407RaCwlqFzsi42seE0h4qvsup+g4VIp1AmtUsda2AHZz6hUbGBw64xo0enCh/fhVhzluZKP1EUp3WA7t1luMYmVSsGIfOanwAjNywYsoDjVeMBJ4zfZuN5SnbWvdTY7VDv8f+NFZA0MzjBF9wWZqNjNMsHRZBvX959MNWQXRIIp1g6ecOZIJlcWBilsQGXdbwuXC1H4dNF72213Jmd+i3B3 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)(396003)(39830400003)(376002)(346002)(366004)(451199015)(6506007)(2906002)(36756003)(86362001)(7416002)(7406005)(6486002)(478600001)(52116002)(316002)(4744005)(66946007)(66556008)(66476007)(6666004)(41300700001)(4326008)(5660300002)(8936002)(54906003)(8676002)(44832011)(38100700002)(38350700002)(2616005)(26005)(186003)(1076003)(83380400001)(6512007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fyiwJWtNBLLFr9Rt5xdJq72VocLXXk5nXkouuwV+hmisAF69+DzJI50aV3r2+FU1g5OW0tEf9ngUaHyMn5PhWOly1etUJ43pNuQEN8pjiuuVJyuhlliDE6Uci0ZdA+DnRg2HxD1i7cocXtezT57+ZiBQmHP7c2Jym8B1dz8uCDqXidEoeaj36i71m9Q9vNywikoUDOFiVxfv15FisW1J+P0iGYEUhK5edr0Lku82u3WYTXJohQjpL4xIPWmwOxMvXqXfIgddfg9XfHtQNAjv6PP1/ZmkTvC62fpZTtQUgX4BLbeMqm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fRdZxdgGuHqi6NmAtq3qkKV4kk6sjrAY30A1jpvARX8hmGRdlVjs6WlLg8l8WT6Lk0571h2l+tC4OhecTQfVp3u0GDc6OWspMQL23mlU6CDApj/uVMf3UTj/GEGMltBWqidUGTrQGgo+53xzgA6VK7UP90IfFkONm/RRR2BtLYpYTSpX7j2mAW6Ba/W8AlwQIHzpCuStglPh1hLIJw8OdU2rABS7Y+uj1ojUV7Pymw== X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5005b04d-26e2-4adc-9965-08dad0c96bd0 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Nov 2022 22:47:54.4214 (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: 8HedE+sKyJHQ+qWgMOlKBg6WMwAi5+Y5812nxnUIAYyH0CwoEDwyioTxNJtm6bm5Gltpyf4cmzMWTT/AYpYP9N9wp2KRJSUvs8DwcRiUmfg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB4998 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221127_144803_035975_5F34D581 X-CRM114-Status: GOOD ( 10.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 --- 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 bd1f0f7c14a8..87475c2ab092 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 + additionalProperties: true + patternProperties: "^(ethernet-)?port@[0-9]+$": type: object @@ -45,7 +47,7 @@ patternProperties: $ref: dsa-port.yaml# - unevaluatedProperties: false + unevaluatedProperties: true oneOf: - required: