From patchwork Mon Oct 16 21:44:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 13424184 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 DF3CF381C9; Mon, 16 Oct 2023 21:44:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=none 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-Google-Smtp-Source: AGHT+IHuNmP8V6sstTsEu3VVHzkFP0xhM7V0ZTHQhU/5l3uo4mYCmbaKF/vdgAVoy0+B7a5WdoyAzQ== 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 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> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIALOuLWUC/x2M0QpAQBAAf0X7bMvdSfgVeThnsaWluyMl/+54n JqZGwJ5pgBtdoOnkwNvkkDlGbjFykzIY2LQhTaqUBWOEYUiupWsHHvAwRpt6qF0tqkhVbunia/ /2MFnCl0R+ud5AX4J6O5rAAAA To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Andrew Lunn , Florian Fainelli , Vladimir Oltean , Matthias Brugger , AngeloGioacchino Del Regno , Woojung Huh , UNGLinuxDriver@microchip.com, Linus Walleij , =?utf-8?q?Alvin_=C5=A0ipraga?= , =?utf-8?b?Q2zDqW1l?= =?utf-8?b?bnQgTMOpZ2Vy?= , Geert Uytterhoeven , Magnus Damm , Maxime Ripard , =?utf-8?b?bsOnIMOcTkFM?= , Landen Chao , DENG Qingfang , Sean Wang , Daniel Golle , John Crispin , Gerhard Engleder , Heiner Kallweit , Sergey Shtylyov , Sergei Shtylyov , Justin Chen , Florian Fainelli , Grygorii Strashko , Sekhar Nori , Claudiu Manoil , Alexandre Belloni Cc: Vladimir Oltean , 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 X-Patchwork-Delegate: kuba@kernel.org 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 Acked-by: Linus Walleij --- 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,