Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1897729rwl; Thu, 6 Apr 2023 02:59:48 -0700 (PDT) X-Google-Smtp-Source: AKy350avSOKGVTicOrtMfsIfuvxDqYuoAudLlKJqyAawWkTMwOM7Mjd03bPfX9ObUKEPpH196ON5 X-Received: by 2002:a17:902:db07:b0:19c:c9da:a62e with SMTP id m7-20020a170902db0700b0019cc9daa62emr11316282plx.54.1680775187765; Thu, 06 Apr 2023 02:59:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680775187; cv=none; d=google.com; s=arc-20160816; b=RCSbIDAgFD4MSE/BMINIHLFCFQ6S2BTQ63yqbfiSlJWIHQyQBLzZ+QKf8edFEfwVcE Zzn3REDyKr425YOAgWfrfQhHPamrWqWqidIWUVgj/B0YRQeuxG96FsFW2P0NRPBugg5/ 7n38Tj5dWBID0yKAbmrnvghi46I1aLFuwVCl1MWd7vtxeeBAAy5PnNfh5Ymab6c3LN21 I2WwFtQvcdv6a4sn8pATxfB7KYWRgUhyroV4Uvhpg0QWbmTa2xdaEx/h1MdqbyflPKNX e6uS1h0mAKZD0Yq1QjELq3klX3eKHKKUoQTFrsBfuevMuHB+YVkogGO85NBdPMmRpvou P0tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=WPHIuZv+4vG7o+ZphsiqZNfOzGZuCe1lEEOAP4JitWo=; b=boRgJ1tU9vHfmBJRIIiAf2F/ONpvfReLncxXREErNjJ9otTIemetEjFQbR07859KvC U6cPhb2Ou7v9II9foXkOoHMgb/UQdRkFY+yufD/QAnCl6NmXE385ACsqD7RRH47cRFDR oz7r4JuyLoni7YbxTuZL01i+1lDHQ/F0ONBFJl+DnLgXN8k4E2BccpUfW3slGK6efeKy 7I4gmJLUZx6ZQ4CSFH6u7ux5Jx9YGcPhVbLwxDzAGDOQfbSVzvHbrfiOK340/WvFqA9X 6s3SdXnvl5gL0mYRIh7/wwXHKvl2xVpuL0OYlT2DDxyCjvYK5yFnGHrKjc/hsaw9caRM F23A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y65-20020a638a44000000b004fbcff506c5si944109pgd.346.2023.04.06.02.59.35; Thu, 06 Apr 2023 02:59:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236692AbjDFJwC (ORCPT + 99 others); Thu, 6 Apr 2023 05:52:02 -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> X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: X-Mailing-List: linux-kernel@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 >