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 10518C76196 for ; Thu, 6 Apr 2023 09:51:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234651AbjDFJvs (ORCPT ); Thu, 6 Apr 2023 05:51:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236909AbjDFJvH (ORCPT ); Thu, 6 Apr 2023 05:51:07 -0400 Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50F7F9EF6; Thu, 6 Apr 2023 02:49:38 -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 1pkMEa-0000Bw-0t; Thu, 06 Apr 2023 11:48:48 +0200 Date: Thu, 6 Apr 2023 10:48:45 +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 5/7] dt-bindings: net: dsa: mediatek,mt7530: disallow reset without mediatek,mcm Message-ID: References: <20230406080141.22924-1-arinc.unal@arinc9.com> <20230406080141.22924-5-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-5-arinc.unal@arinc9.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Thu, Apr 06, 2023 at 11:01:39AM +0300, arinc9.unal@gmail.com wrote: > From: Arınç ÜNAL > > The resets and reset-names properties are used only if mediatek,mcm is > used. Set them to false if mediatek,mcm is not used. > > Remove now unnecessary 'reset-names: false' from MT7988. > > Signed-off-by: Arınç ÜNAL Acked-by: Daniel Golle > --- > .../devicetree/bindings/net/dsa/mediatek,mt7530.yaml | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml > index 9d99f7303453..3fd953b1453e 100644 > --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml > +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml > @@ -282,6 +282,10 @@ allOf: > required: > - resets > - reset-names > + else: > + properties: > + resets: false > + reset-names: false > > - dependencies: > interrupt-controller: [ interrupts ] > @@ -324,7 +328,6 @@ allOf: > properties: > gpio-controller: false > mediatek,mcm: false > - reset-names: false > > unevaluatedProperties: false > > -- > 2.37.2 >