From mboxrd@z Thu Jan 1 00:00:00 1970 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 AF370BA45 for ; Mon, 14 Aug 2023 14:53:21 +0000 (UTC) Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2554D1739; Mon, 14 Aug 2023 07:53:09 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-51a52a7d859so11334980a12.0; Mon, 14 Aug 2023 07:53:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692024787; x=1692629587; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=wWKCUp2yq16ZBo58YuOZhMaFJTEXME++1KBwQF44Y3o=; b=BVMd15TcKSqiobpIdT/J/hWTHgjlmyGfcHaTZx5coE8RbvluwebBuuXc3FxtyC7kvB mgeoI9CwqQ1odg48P1swSA8Hc/dNSAZv9L4DSnNxzhvDKhMAI2/3639aPgKAZ0eKusn/ Ap6oL5ddWZtM+V3c6WPE2t0YsMPA0Giws2twA+IhMCLFIddg/quuD46ccKmhqT4DflUo j9/ndUqGGk1LTzNS55e2NaCR87WIPIXCGBba1zFsBPNXEO6sGiDty2DJa7Ohbm4Wceky +pYsKLNabLxVBCNN/DgOtcYBNPfUZaZycVxiaBCMzz4/3dWaKHKve8A+yhIW4xEPesRB Nciw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692024787; x=1692629587; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wWKCUp2yq16ZBo58YuOZhMaFJTEXME++1KBwQF44Y3o=; b=k/ZQTJmEArEekCt0JoXaPIIeY0IDBPPVzNRoJ99/CJIWv+57MHkxzGHj9r44s4hI0/ 2T0WLXQfLDqLEWD3xkUki55dORo3zPaVSn7SASX4yeazLP1AbQlDJtpglT5lLbBoASnG YnI2z+OFuwQwQNyq+2C6qWmYc88vjt1sYbjUQb6E747Y+LRiha+Xz4DM8NpP44WHtLN5 r3Kod3AuVBHgu7w1QpoyrLkwTil/lkfljx3UFaouwyO1b8FCvYAFzrfuaap4keNbstoN ShTzo2NaP+VtLj7K9H5OzHhqGWsOGu+g57EUxF1eUrJOVJcAlfm583ji64KNQRyHU7PN 3Bcg== X-Gm-Message-State: AOJu0YwKGK+0deasb3A/7SPNN3wzEFb884qe1OW2MO28h0i4hqw/sygB bIkHfoKAwb2TbD15j8hfumA= X-Google-Smtp-Source: AGHT+IFtixjrdADMZKOEGkvAvBctiXAzgbQ0mso/IW2gdlLC49MP49+TS5aibY9BoUnf8wWiX5cTgg== X-Received: by 2002:a17:907:9483:b0:99b:af5a:fc2c with SMTP id dm3-20020a170907948300b0099baf5afc2cmr14913956ejc.26.1692024787125; Mon, 14 Aug 2023 07:53:07 -0700 (PDT) Received: from skbuf ([188.26.184.136]) by smtp.gmail.com with ESMTPSA id j19-20020a1709064b5300b00982a92a849asm5768751ejv.91.2023.08.14.07.53.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Aug 2023 07:53:06 -0700 (PDT) Date: Mon, 14 Aug 2023 17:53:03 +0300 From: Vladimir Oltean To: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= Cc: Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Woojung Huh , UNGLinuxDriver@microchip.com, Linus Walleij , Alvin =?utf-8?Q?=C5=A0ipraga?= , Daniel Golle , Landen Chao , DENG Qingfang , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , mithat.guner@xeront.com, erkin.bozoglu@xeront.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 3/4] dt-bindings: net: dsa: realtek: require compatible property under mdio node Message-ID: <20230814145303.bqiknvvi5urnpjgz@skbuf> References: <20230812091708.34665-1-arinc.unal@arinc9.com> <20230812091708.34665-4-arinc.unal@arinc9.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230812091708.34665-4-arinc.unal@arinc9.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,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 On Sat, Aug 12, 2023 at 12:17:07PM +0300, Arınç ÜNAL wrote: > The compatible property must be defined under the mdio node. Enforce it. > > Signed-off-by: Arınç ÜNAL > --- Reviewed-by: Vladimir Oltean > Documentation/devicetree/bindings/net/dsa/realtek.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/dsa/realtek.yaml b/Documentation/devicetree/bindings/net/dsa/realtek.yaml > index ea7db0890abc..f600e65fc990 100644 > --- a/Documentation/devicetree/bindings/net/dsa/realtek.yaml > +++ b/Documentation/devicetree/bindings/net/dsa/realtek.yaml > @@ -103,6 +103,9 @@ allOf: > compatible: > const: realtek,smi-mdio > > + required: > + - compatible > + > - if: > required: > - reg > -- > 2.39.2 >