Message ID | 20231016-dt-net-cleanups-v1-0-a525a090b444@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3740303vqb; Mon, 16 Oct 2023 14:44:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHZmwPys7VFuQ1FT/4Dnz8D5vC2HYOkvNgtyIZ4r+XbPdFNcgpTIcJwkOajXTLYYY1mXJB3 X-Received: by 2002:a05:6a21:81a1:b0:16e:26fd:7c02 with SMTP id pd33-20020a056a2181a100b0016e26fd7c02mr276286pzb.2.1697492686221; Mon, 16 Oct 2023 14:44:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697492686; cv=none; d=google.com; s=arc-20160816; b=IpM6YggEJU3QbPPe5H+ny+Q8Kp6X3vmzPx1uzehyRjsCjsn1czxKriKJAMTzQlrdzA V18osOv3fpmxr+MLAunuxQfeOtm9ysYo5HZtJsy4oQQaCQktssC4Hl4nEgpnlqvvNqxu iTipgMsgU/tz0gXhJaBVg5KVsg+XhcuDpWDm+p82eRT0y2Oqlc2/OxKYL7u9ybqJbiC1 Ni2lPEXhlcFntiXC7nxwyG7TmmGxWuqEmvLTDeEKSxmCBd4FhKf4NtEOU+GafCsPpl/t fNywZf7nHkjnm9W/15uDecmJSlvVteY0uLCzA+Y6tfmLoCPfk0i2cBPzpeS+8opVmlkz Sszw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from; bh=gEGU67h2aLgP+jVHENE55AMROY3oIX9Sz/12+e/BNPI=; fh=W75KIt5z29NZQuSJpsWFLRgwoWVSDt7JDSz2XKjQ91Y=; b=CgTw7nXFN8sSBQhBt0J/wE1QUfX+Z9A+OWMVv8Ztlay1ibhduxaMx8Uobth3Nr2hDt WIz6AKO5vBjllZaTlmJKqOclYhGcavR38HkkDMxOjDiwV6E2lEPK4k+XsX6b6vhpPY2k J6EDdJTg6u8Cm0CfNip+5BpLdTbx7VuOTnP58lplX01bQ5STLGf9wlPtSm/X/DsFi9bn p1ISEwojSE2TqQ3on3JrQDs9tMqeJlq5CISE+2q6ANwzFQIAf4+k1weGGofgru+sUaM8 Gup1dfcqbz6ejH6tyiUfEvln7Jo9PZZ2P2aiDydP2DuQ7tJiTceBOHVT9GF55HKuDagX v81Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id d6-20020a170902cec600b001c3ea2bbebcsi229043plg.322.2023.10.16.14.44.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 14:44:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 896738028A72; Mon, 16 Oct 2023 14:44:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233664AbjJPVom (ORCPT <rfc822;hjfbswb@gmail.com> + 18 others); Mon, 16 Oct 2023 17:44:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233605AbjJPVol (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 16 Oct 2023 17:44:41 -0400 Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A16DFAB; Mon, 16 Oct 2023 14:44:39 -0700 (PDT) Received: by mail-ot1-f51.google.com with SMTP id 46e09a7af769-6c67060fdfbso3584082a34.2; Mon, 16 Oct 2023 14:44:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697492679; x=1698097479; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gEGU67h2aLgP+jVHENE55AMROY3oIX9Sz/12+e/BNPI=; b=pxFOL2OJ2rAyW4Xo+QytGz4GTyhpdEwSs/wvQptmenWq8Tawr396rkTUTorDEO5BNU 67znZ5SMEI/hEAQDwt79IY2D6ZOduL74cd4aHjFqsCvwv/ZxEMMuq2+65pTUTFu88Olw 6ecSaT4mc7YYAsQB0l57uoUpTKMjIh+7wzIaTNeu6f02jsXeY0nKRBIRXgDGx3nynbhS 31Odur/excI5TJgnUzr3+RlQIzhbGsFX96rlxiceAxJXF/Wup+GwPgedEK1fQzbyKkgs FYKnSjGhaIiJydcVrgH7oYhZ7BKfHKdprSC6rkDQwPYbnOT3oCbzzFsfYYg+1vn5s6uF SO3w== X-Gm-Message-State: AOJu0Yw46+w0u/K2zZvxI1QldVPkFQYa+Bwp5Z/7hWISn1S7CBuGdJh+ +9B8guCxSs8fILuwSnnu7g== X-Received: by 2002:a05:6830:3499:b0:6b9:a6ef:2709 with SMTP id c25-20020a056830349900b006b9a6ef2709mr740772otu.8.1697492678863; Mon, 16 Oct 2023 14:44:38 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id k7-20020a9d4b87000000b006c21f11dcecsm28451otf.49.2023.10.16.14.44.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 14:44:38 -0700 (PDT) Received: (nullmailer pid 3823207 invoked by uid 1000); Mon, 16 Oct 2023 21:44:35 -0000 From: Rob Herring <robh@kernel.org> Subject: [PATCH net-next 0/8] dt-bindings: net: Child node schema cleanups Date: Mon, 16 Oct 2023 16:44:19 -0500 Message-Id: <20231016-dt-net-cleanups-v1-0-a525a090b444@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIALOuLWUC/x2M0QpAQBAAf0X7bMvdSfgVeThnsaWluyMl/+54n JqZGwJ5pgBtdoOnkwNvkkDlGbjFykzIY2LQhTaqUBWOEYUiupWsHHvAwRpt6qF0tqkhVbunia/ /2MFnCl0R+ud5AX4J6O5rAAAA To: "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Andrew Lunn <andrew@lunn.ch>, Florian Fainelli <f.fainelli@gmail.com>, Vladimir Oltean <olteanv@gmail.com>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Woojung Huh <woojung.huh@microchip.com>, UNGLinuxDriver@microchip.com, Linus Walleij <linus.walleij@linaro.org>, =?utf-8?q?Alvin_=C5=A0ipraga?= <alsi@bang-olufsen.dk>, =?utf-8?b?Q2zDqW1l?= =?utf-8?b?bnQgTMOpZ2Vy?= <clement.leger@bootlin.com>, Geert Uytterhoeven <geert+renesas@glider.be>, Magnus Damm <magnus.damm@gmail.com>, Maxime Ripard <mripard@kernel.org>, =?utf-8?b?bsOnIMOcTkFM?= <arinc.unal@arinc9.com>, Landen Chao <Landen.Chao@mediatek.com>, DENG Qingfang <dqfext@gmail.com>, Sean Wang <sean.wang@mediatek.com>, Daniel Golle <daniel@makrotopia.org>, John Crispin <john@phrozen.org>, Gerhard Engleder <gerhard@engleder-embedded.com>, Heiner Kallweit <hkallweit1@gmail.com>, Sergey Shtylyov <s.shtylyov@omp.ru>, Sergei Shtylyov <sergei.shtylyov@gmail.com>, Justin Chen <justin.chen@broadcom.com>, Florian Fainelli <florian.fainelli@broadcom.com>, Grygorii Strashko <grygorii.strashko@ti.com>, Sekhar Nori <nsekhar@ti.com>, Claudiu Manoil <claudiu.manoil@nxp.com>, Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: Vladimir Oltean <vladimir.oltean@nxp.com>, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-renesas-soc@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com X-Mailer: b4 0.13-dev X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 16 Oct 2023 14:44:45 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779950090644034206 X-GMAIL-MSGID: 1779950090644034206 |
Series |
dt-bindings: net: Child node schema cleanups
|
|
Message
Rob Herring
Oct. 16, 2023, 9:44 p.m. UTC
This is a series of clean-ups related to ensuring that child node
schemas are constrained to not allow undefined properties. Typically,
that means just adding additionalProperties or unevaluatedProperties as
appropriate. The DSA/switch schemas turned out to be a bit more
involved, so there's some more fixes and a bit of restructuring in them.
Signed-off-by: Rob Herring <robh@kernel.org>
---
Rob Herring (8):
dt-bindings: net: Add missing (unevaluated|additional)Properties on child node schemas
dt-bindings: net: renesas: Drop ethernet-phy node schema
dt-bindings: net: dsa/switch: Make 'ethernet-port' node addresses hex
dt-bindings: net: ethernet-switch: Add missing 'ethernet-ports' level
dt-bindings: net: ethernet-switch: Rename $defs "base" to 'ethernet-ports'
dt-bindings: net: mscc,vsc7514-switch: Clean-up example indentation
dt-bindings: net: mscc,vsc7514-switch: Simplify DSA and switch references
dt-bindings: net: dsa: Drop 'ethernet-ports' node properties
.../bindings/net/allwinner,sun8i-a83t-emac.yaml | 2 +
.../devicetree/bindings/net/brcm,asp-v2.0.yaml | 2 +-
.../devicetree/bindings/net/dsa/brcm,sf2.yaml | 1 +
Documentation/devicetree/bindings/net/dsa/dsa.yaml | 11 +-----
.../bindings/net/dsa/mediatek,mt7530.yaml | 8 ++--
.../bindings/net/dsa/microchip,lan937x.yaml | 3 +-
.../devicetree/bindings/net/dsa/nxp,sja1105.yaml | 4 +-
.../devicetree/bindings/net/dsa/qca8k.yaml | 1 +
.../devicetree/bindings/net/dsa/realtek.yaml | 2 +
.../bindings/net/dsa/renesas,rzn1-a5psw.yaml | 10 +----
.../devicetree/bindings/net/engleder,tsnep.yaml | 1 +
.../devicetree/bindings/net/ethernet-switch.yaml | 14 ++++---
.../bindings/net/mscc,vsc7514-switch.yaml | 46 +++++++++-------------
.../devicetree/bindings/net/nxp,tja11xx.yaml | 1 +
.../devicetree/bindings/net/renesas,ether.yaml | 3 +-
.../devicetree/bindings/net/renesas,etheravb.yaml | 3 +-
.../devicetree/bindings/net/ti,cpsw-switch.yaml | 2 +-
17 files changed, 51 insertions(+), 63 deletions(-)
---
base-commit: 4d0515b235dec789578d135a5db586b25c5870cb
change-id: 20231016-dt-net-cleanups-ba3238b4ca98
Best regards,
Comments
On Mon, Oct 16, 2023 at 11:44 PM Rob Herring <robh@kernel.org> wrote: > This is a series of clean-ups related to ensuring that child node > schemas are constrained to not allow undefined properties. Typically, > that means just adding additionalProperties or unevaluatedProperties as > appropriate. The DSA/switch schemas turned out to be a bit more > involved, so there's some more fixes and a bit of restructuring in them. > > Signed-off-by: Rob Herring <robh@kernel.org> Oh this drives a truck through my Marvell binding work. Luckily it also solves my most annoying problems so I will just rebase on this and continue, all good! Acked-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Mon, 16 Oct 2023 16:44:19 -0500 you wrote: > This is a series of clean-ups related to ensuring that child node > schemas are constrained to not allow undefined properties. Typically, > that means just adding additionalProperties or unevaluatedProperties as > appropriate. The DSA/switch schemas turned out to be a bit more > involved, so there's some more fixes and a bit of restructuring in them. > > Signed-off-by: Rob Herring <robh@kernel.org> > > [...] Here is the summary with links: - [net-next,1/8] dt-bindings: net: Add missing (unevaluated|additional)Properties on child node schemas https://git.kernel.org/netdev/net-next/c/659fd097b098 - [net-next,2/8] dt-bindings: net: renesas: Drop ethernet-phy node schema https://git.kernel.org/netdev/net-next/c/ac8fe40c3628 - [net-next,3/8] dt-bindings: net: dsa/switch: Make 'ethernet-port' node addresses hex https://git.kernel.org/netdev/net-next/c/51ff5150258a - [net-next,4/8] dt-bindings: net: ethernet-switch: Add missing 'ethernet-ports' level https://git.kernel.org/netdev/net-next/c/f0fdec925fe7 - [net-next,5/8] dt-bindings: net: ethernet-switch: Rename $defs "base" to 'ethernet-ports' https://git.kernel.org/netdev/net-next/c/b9823df7bbad - [net-next,6/8] dt-bindings: net: mscc,vsc7514-switch: Clean-up example indentation https://git.kernel.org/netdev/net-next/c/491ec40d67a5 - [net-next,7/8] dt-bindings: net: mscc,vsc7514-switch: Simplify DSA and switch references https://git.kernel.org/netdev/net-next/c/7c93392d754e - [net-next,8/8] dt-bindings: net: dsa: Drop 'ethernet-ports' node properties https://git.kernel.org/netdev/net-next/c/31f47f303c6b You are awesome, thank you!