Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp17766rwl; Thu, 6 Apr 2023 12:26:54 -0700 (PDT) X-Google-Smtp-Source: AKy350ZB7yVBnCphhOWdosvkqDINExihWR/n5eTqC4x8zGkxasb5BQxj2yn2NIDov7HvDb73l5sh X-Received: by 2002:a17:902:e749:b0:1a2:19c1:a952 with SMTP id p9-20020a170902e74900b001a219c1a952mr280146plf.61.1680809214134; Thu, 06 Apr 2023 12:26:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1680809214; cv=pass; d=google.com; s=arc-20160816; b=R4+jdUL+HPZZ3udFI4qsymnFM2B56x9aTzdY0RjemORnxQJJUWYoyeFBrzmitekiyw EV3khFMWmERdF1UPSMU5T9XYpnrw9MhWmX6/uaXMoCwMuJN70tmL1BNic1XUGsI+Rct4 cfRo2YIMUSomnyTt8ZZQBqAgQnKi5Wh54ZuwAu9SOSyxe7UbD7vct2tsVv1/V/UdJX96 hW2nExJ3p53BuF8N6fTkr52SJeRql55fnr+n7fFkMz7MvtazVoKpZcWGjsmY9HBg7+/w TaEpdXBvApTFxb7lY99q+3bUhGiDG/28AGkjFlxiWtBpHtSdenBHUeXEZHBUo89VYUxw emTw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ZvtMXQOFygVzd6rC5xXJigXvwo3VtQG7GnNY5k/L7fk=; b=otAWVw3HYRFMDu6LyGw3ozQYKNS4SaoOEWo4ofRW+hAbSSZMiHu43EETUxNP2nr7+x 4TnD8M4zq9cs5fK8w7PzStW81nzWIDpbp9jjRvNTyyjwuo9lqwyXI/2BLvpp5nmTz4r5 uzccGPUCaNYw7uNLAjrajTh/7oJLR1M+SMVlUD5eLaQSsWMV9wt2dvgi50T7eJ6ByTa6 mEIBwQCVf7tw+GsxBste06dY1cKzG/6aIolVyeK6ppwJXM5t8WTcmstRcgm32mkohXx9 vMfK+9MYDgZfR7sUDCVV4WZJGEDOZc4jc5oYs3mJby9GcNwBe1psjgg8gk7pOOxcADw7 eznw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=zmail header.b=Lfe5OiPE; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.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 q18-20020a170902789200b001a50a33295esi777205pll.278.2023.04.06.12.26.42; Thu, 06 Apr 2023 12:26:54 -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; dkim=pass header.i=@arinc9.com header.s=zmail header.b=Lfe5OiPE; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.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 S240553AbjDFTUO (ORCPT + 99 others); Thu, 6 Apr 2023 15:20:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240560AbjDFTUM (ORCPT ); Thu, 6 Apr 2023 15:20:12 -0400 Received: from sender4-op-o10.zoho.com (sender4-op-o10.zoho.com [136.143.188.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F20B2127; Thu, 6 Apr 2023 12:20:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680808781; cv=none; d=zohomail.com; s=zohoarc; b=nR9wu0GaPDtlM/n0Ciyr3NBG+GKr2f00h/WVdyNtL4N/auupCP8SNs3ZVNrkiH9On229eSwxE871kPVVu9KB5y42cupkr8O7ZCUOBxcCUm7kJ2OxP80K3iEK/QweeSQr66c9RuXR4fnfgUOwfgIHcMx2Or9UHiUJwsnHVuPGM6s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680808781; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=ZvtMXQOFygVzd6rC5xXJigXvwo3VtQG7GnNY5k/L7fk=; b=fp5RK/8GtgbZxrg9iNLI6ZgRAHdg99BvGiDx5dEZ7ZimMNadHfSRAtp/Gy1STy4WihLXoOreCDs8OVidvP/NJucX6B1rYFi/RiResnqao2jsRCBZkPq5lpNaSKgOhiRLSZrVK609MGDS4juYnMJw1sOac1dcJIT4EjGWrCdlYwY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1680808780; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:Cc:Cc:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=ZvtMXQOFygVzd6rC5xXJigXvwo3VtQG7GnNY5k/L7fk=; b=Lfe5OiPEt+79gwiLCH+7hwWBzioyr6bbG/4PEseoB/eIvqlZYmCGB+mhnwaKA2Pj 8FpC+up4VIENIGtGUzn6fPcUxEiooMzGY4isY4sukjvbL9yt2h4qkUulzkJCFEalPoC wU5KkDBSu0qD8ySe617JHJA3gWQi+eL5Pf/I+QdQ= Received: from [10.10.10.3] (149.91.1.15 [149.91.1.15]) by mx.zohomail.com with SMTPS id 1680808777178442.3356841427701; Thu, 6 Apr 2023 12:19:37 -0700 (PDT) Message-ID: <194d3bad-c30a-df07-5fab-3264f739c599@arinc9.com> Date: Thu, 6 Apr 2023 22:19:30 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 5/7] dt-bindings: net: dsa: mediatek,mt7530: disallow reset without mediatek,mcm Content-Language: en-US To: Krzysztof Kozlowski , arinc9.unal@gmail.com, Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , AngeloGioacchino Del Regno , Daniel Golle , Landen Chao , DENG Qingfang , Sean Wang Cc: 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 References: <20230406080141.22924-1-arinc.unal@arinc9.com> <20230406080141.22924-5-arinc.unal@arinc9.com> From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 6.04.2023 22:08, Krzysztof Kozlowski wrote: > On 06/04/2023 10:01, 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 >> --- >> .../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 > > I don't see such hunk in linux-next. This was added very recently so it's only on net-next at the moment. Arınç