From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5857C76196 for ; Thu, 6 Apr 2023 09:51:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236408AbjDFJvx (ORCPT ); Thu, 6 Apr 2023 05:51:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236726AbjDFJvQ (ORCPT ); Thu, 6 Apr 2023 05:51:16 -0400 Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 843EC10E7; Thu, 6 Apr 2023 02:49:48 -0700 (PDT) Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96) (envelope-from ) id 1pkMF0-0000Cf-1R; Thu, 06 Apr 2023 11:49:14 +0200 Date: Thu, 6 Apr 2023 10:49:11 +0100 From: Daniel Golle To: arinc9.unal@gmail.com Cc: Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , AngeloGioacchino Del Regno , Landen Chao , DENG Qingfang , Sean Wang , =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , 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 6/7] dt-bindings: net: dsa: mediatek,mt7530: disallow core-supply and io-supply Message-ID: References: <20230406080141.22924-1-arinc.unal@arinc9.com> <20230406080141.22924-6-arinc.unal@arinc9.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230406080141.22924-6-arinc.unal@arinc9.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, Apr 06, 2023 at 11:01:40AM +0300, arinc9.unal@gmail.com wrote: > From: Arınç ÜNAL > > The core-supply and io-supply properties are used only on hardware that > uses the mediatek,mt7530 compatible string. Set them to false if the > compatible string is not mediatek,mt7530. > > Signed-off-by: Arınç ÜNAL Acked-by: Daniel Golle > --- > .../devicetree/bindings/net/dsa/mediatek,mt7530.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml > index 3fd953b1453e..0095b7fcef72 100644 > --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml > +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml > @@ -299,6 +299,10 @@ allOf: > required: > - core-supply > - io-supply > + else: > + properties: > + core-supply: false > + io-supply: false > > - if: > properties: > -- > 2.37.2 >