From patchwork Mon Oct 16 21:44:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 13424200 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 0B0D0CDB474 for ; Mon, 16 Oct 2023 21:45:39 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LR2knLk2mgdTLgwpOzEiJw7ZsFfMfY25OWRB3NP4eFM=; b=msOhERN+5RDHxo hSdG+QIMuZ7O5JoEFcuJjNLzu4ScsMDG60FfxaRxC9hq+im1sIm5Qpp5T+ic530wjOVRaaypfgSN8 TECiUmLBhukPXPQroAPJh3N+3qMApyKxFOYzB6SscMQsNZMy8ayLHIUB4vmMb+DDFV/+aPVbXLqUh LlXm4rNHGFtjQbDNyfblwcjYow/nkKZuGT0stxAtJlav/euCWTWa3QA+N63PlBBaXeOK04QfLBtOA ymiNzuFNKGdG8fFM2PfAkeqT6IM76vz9qO3+uXmpJf9SSy8V5Tm3Fp1Yi1TU5PnrzFcCCQnM9C/8o /vUGQRmePZiupEmtAKpA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qsVOl-00AbnK-0r; Mon, 16 Oct 2023 21:45:15 +0000 Received: from mail-oa1-f44.google.com ([209.85.160.44]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qsVOT-00AbY8-2G; Mon, 16 Oct 2023 21:44:58 +0000 Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-1e9d0fc55beso1840264fac.3; Mon, 16 Oct 2023 14:44:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697492694; x=1698097494; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tgkZY4yEAeEqDfcsSpYD9I+A+ikpbLIHeBQl2vVrEO0=; b=kEbDgk1G3l3hkoxj0qlRD9+b7JtyO6HzqsA2DBhLNCD2Z4okD/qQc3ayphmgCM5x8o HiDIOV32WrqYda0zo7l99s95yTIA9h+fu/3+brgGnyoqMTusrIxX9V1ENkcNi5W1BfdS cKju8uAPr0mCORmBM9JLh8/HAnjQwi7/6ezbQDE1+r+VG9Scl/eT3SDdbY2TqtZTFX1X pqh9RtPl6rONrxAQ6EGdnWxpFcN2jj2QWYISE85f9eH22TR+o6gZ/o9mRhDPcecqaVMm Vt7K5rGuTA542DQIAJngx4w6TJVnEZqoT2/cl1SdrWQC/m5qt5+B2n941/KkK0Qkm6b3 T+Ow== X-Gm-Message-State: AOJu0YyZI7Q/iUlJp4EebVTpbTFuKrCh8HPJAPhWaPLXqqfPeOisGUQN 8UBB73M1imlyf3o6lwACxRYxkto3Cg== X-Google-Smtp-Source: AGHT+IER0+zM9rQTeSBTpDXhq27aL8B0l2V/HFAOMXgvaN9iR4T6Jv7HeoKsOLVk8pksacBkXQt5/g== X-Received: by 2002:a05:6870:858c:b0:1d5:aed5:6579 with SMTP id f12-20020a056870858c00b001d5aed56579mr328754oal.4.1697492694494; Mon, 16 Oct 2023 14:44:54 -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 r5-20020a05687032c500b001e5dd8a29c6sm8595oac.29.2023.10.16.14.44.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 14:44:53 -0700 (PDT) Received: (nullmailer pid 3823224 invoked by uid 1000); Mon, 16 Oct 2023 21:44:35 -0000 From: Rob Herring Date: Mon, 16 Oct 2023 16:44:27 -0500 Subject: [PATCH net-next 8/8] dt-bindings: net: dsa: Drop 'ethernet-ports' node properties MIME-Version: 1.0 Message-Id: <20231016-dt-net-cleanups-v1-8-a525a090b444@kernel.org> References: <20231016-dt-net-cleanups-v1-0-a525a090b444@kernel.org> In-Reply-To: <20231016-dt-net-cleanups-v1-0-a525a090b444@kernel.org> 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231016_144457_738634_D54645CE X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. 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 Constraints on 'ethernet-ports' node properties are already defined by the reference to ethernet-switch.yaml, so they can be dropped from the DSA schema. Signed-off-by: Rob Herring Acked-by: Arınç ÜNAL Reviewed-by: Vladimir Oltean --- Documentation/devicetree/bindings/net/dsa/dsa.yaml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.yaml b/Documentation/devicetree/bindings/net/dsa/dsa.yaml index e6010821f86f..6107189d276a 100644 --- a/Documentation/devicetree/bindings/net/dsa/dsa.yaml +++ b/Documentation/devicetree/bindings/net/dsa/dsa.yaml @@ -40,15 +40,6 @@ $defs: patternProperties: "^(ethernet-)?ports$": - type: object - additionalProperties: false - - properties: - '#address-cells': - const: 1 - '#size-cells': - const: 0 - patternProperties: "^(ethernet-)?port@[0-9a-f]+$": description: Ethernet switch ports