From patchwork Fri Apr 7 12:50:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 671240 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 2C73AC77B61 for ; Fri, 7 Apr 2023 12:50:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231355AbjDGMuW (ORCPT ); Fri, 7 Apr 2023 08:50:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230082AbjDGMuV (ORCPT ); Fri, 7 Apr 2023 08:50:21 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECA3E61B2; Fri, 7 Apr 2023 05:50:20 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id m6-20020a05600c3b0600b003ee6e324b19so25165946wms.1; Fri, 07 Apr 2023 05:50:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680871819; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=PvJDsmC2qYd1pgQ85lBs960eVGMLB3x0B1T+4QHFB/Q=; b=or7WakKRtDQDG/fo28VWWqQ07MrMmoabczFnS36b+Yv6/y2tULbns4a+2N+gTqVBXc BGw/C7SSv9esONmfQEAH8t8CiBBHYzU/725u/zfpeIqD87qN7w8FOkQsyamZbQC2Q8Ay p0Hb+asWzOzTdnTxhTwIZGsEJs3HcInQzDFJd5bvel6mc0MswbuKG7n8D1LiTG/a4wj9 rGbbl81d393pX3y/1rZCSUmO3dQEfCWywNUlW0eZNf1jEwYZHlOn5oi+h4pEvMNoGcy3 kZNc1koD34agwDKSTG2GqqzB7w+9KKdjRB+lO5fJcjkk0PcgcxtC3/wNv0kHf90ixWcg cP2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680871819; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PvJDsmC2qYd1pgQ85lBs960eVGMLB3x0B1T+4QHFB/Q=; b=4Giqpm5qatGYrl5eH4aNYotwMC6HxmfzPCF53fkosQTQ3t7iEbUf/5qeL0t1jUaD2D MUxBgi/mgDhUh4fbgrB9ZNpO5hRcoRGWXyAea6TlqFqmnMUV5uXEx+FAJaUQ7HFxjSV5 ZSMqLJk3bf37wEWMFoayUmhoDFLQzer6jrM+WoQnPZjD2EJavn5U3ZA5dhZGPeBz/J0c W1nLgdpkxK4fcMaX3AJFPngC8DRrLPXp2UUvYqFpeh1Bw+/KUKpwMX759PJrlySmuktx 1dZbYDFBTXR7f9OTuRkP5c1NaK++SzKTLpwO/YNI9uPsJ9FbNXBZXhjgSkhUhckkreux JOFg== X-Gm-Message-State: AAQBX9fnP+kY28GxioG2xIKUgO5aTUZrRndtBxWmMQ+kr2CdiaoqBJex Nbe0LRyXQFaU4uC8PT96v0S2vG/UYjVMEw== X-Google-Smtp-Source: AKy350Y38LWAG0Pi4Cy7ceE+yBoIdK/XagcUtp+HxL2q1jU0J/A1wR05OD7xPN4j1W40G6jbzPlkQg== X-Received: by 2002:a05:600c:2296:b0:3ed:358e:c1c2 with SMTP id 22-20020a05600c229600b003ed358ec1c2mr1164737wmf.18.1680871819058; Fri, 07 Apr 2023 05:50:19 -0700 (PDT) Received: from arinc9-PC.lan ([149.91.1.15]) by smtp.gmail.com with ESMTPSA id n37-20020a05600c3ba500b003f0652084b8sm8176596wms.20.2023.04.07.05.50.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 05:50:18 -0700 (PDT) From: arinc9.unal@gmail.com X-Google-Original-From: arinc.unal@arinc9.com To: 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: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= , Krzysztof Kozlowski , 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: [PATCH v2 1/7] dt-bindings: net: dsa: mediatek, mt7530: correct brand name Date: Fri, 7 Apr 2023 15:50:03 +0300 Message-Id: <20230407125008.42474-1-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Arınç ÜNAL The brand name is MediaTek, change it to that. Signed-off-by: Arınç ÜNAL Acked-by: Daniel Golle Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml index e532c6b795f4..6df995478275 100644 --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/net/dsa/mediatek,mt7530.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Mediatek MT7530 and MT7531 Ethernet Switches +title: MediaTek MT7530 and MT7531 Ethernet Switches maintainers: - Arınç ÜNAL From patchwork Fri Apr 7 12:50:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 671786 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 098EBC6FD1D for ; Fri, 7 Apr 2023 12:50:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238453AbjDGMuZ (ORCPT ); Fri, 7 Apr 2023 08:50:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235110AbjDGMuY (ORCPT ); Fri, 7 Apr 2023 08:50:24 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5CA061B2; Fri, 7 Apr 2023 05:50:22 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id eo6-20020a05600c82c600b003ee5157346cso778150wmb.1; Fri, 07 Apr 2023 05:50:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680871821; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BhBtxDtSz4bH7TbpHPVA9FnwXJmNesfBIN2Sp8mydaA=; b=VMxkrT7qvXhqqRG7V6RDlV9gwWNBpUI1gCouk5IpwxbSAW+6uZ1cJ6dPxDZ2jxheeE Mck1FjSAyxcAvRrlJ4g5Q7r7dcmikNMbMrh5aBIkOqx8bmhlgzC111MBUk4ts6luURtN WCXvuUvPaTpuWLXaPmhn3kddiwrLbpcKkbS2iKnHWvKVu648mhC9/3yGfPr8VSJ9oca3 WeIrXuPN1gcH65YSjv5JQ43Q9ZdxNvq0H8I3fRMGmAsb+ZkvOmhT04vegdUZLR6OyuuZ HtDNlBGkp6oZHk+dNPXrNnNplkWeQrCF83aZejrFayq2EztMgyXjuDQnOwa2+H4/PHO9 aA/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680871821; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BhBtxDtSz4bH7TbpHPVA9FnwXJmNesfBIN2Sp8mydaA=; b=vdEJEukpb4JLhWBLroJX9RXXw/IDilbHIHpD/r9xB8azyt57vWfs6L+m+j3pQaXUJg lvNOIbxeapnJ7m4TLPGFTOTUC2YPY67fb+nCPuOCwwJFXKInxZ6BQwq8DBGCTwXuMBzT yupCbTteTm62y/K/ZwLsytGFdKwVO7O/n2XORr7rc8rh39G+ljPh+DYKjuLjhEAhAVpz QJrC3wVFpknK3HOX+Tjgq+vgChg0vA2FGpRP09oooOcn3MNbb+C5q8PqQGaoCL5gY8nt G4BENEVuo+cKsMmKXWSEuuazjCrbyBIaZ205xlCYJC31ywsnE1pYWNCPPCFPAjUyo5qA IYWg== X-Gm-Message-State: AAQBX9fCrIHy7DAAd7LgqCxwqR/c7eOm/SydnTA9bA4Sego9KxlfEEov U3IH6rUrDNIA9BMslXfKmcc= X-Google-Smtp-Source: AKy350aP+Zz+P6Ae0/eMi3ClAC6lpFOkTb8pPG5GtRkLI+FW+xHkQ4WoadPWcXIdrsg760lMm4uQIA== X-Received: by 2002:a7b:c04b:0:b0:3eb:3104:efec with SMTP id u11-20020a7bc04b000000b003eb3104efecmr1160754wmc.16.1680871821214; Fri, 07 Apr 2023 05:50:21 -0700 (PDT) Received: from arinc9-PC.lan ([149.91.1.15]) by smtp.gmail.com with ESMTPSA id n37-20020a05600c3ba500b003f0652084b8sm8176596wms.20.2023.04.07.05.50.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 05:50:20 -0700 (PDT) From: arinc9.unal@gmail.com X-Google-Original-From: arinc.unal@arinc9.com To: 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: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= , Krzysztof Kozlowski , 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: [PATCH v2 2/7] dt-bindings: net: dsa: mediatek,mt7530: improve MCM and MT7988 information Date: Fri, 7 Apr 2023 15:50:04 +0300 Message-Id: <20230407125008.42474-2-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230407125008.42474-1-arinc.unal@arinc9.com> References: <20230407125008.42474-1-arinc.unal@arinc9.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Arınç ÜNAL Improve the description of the schema. The MT7620 SoCs described are not part of the multi-chip module but rather built into the SoC. Mention the MT7530 MMIO driver not supporting them. Move information for the switch on the MT7988 SoC below MT7531, and improve it. List maintainers in alphabetical order by first name. Signed-off-by: Arınç ÜNAL Acked-by: Daniel Golle Acked-by: Krzysztof Kozlowski --- .../bindings/net/dsa/mediatek,mt7530.yaml | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml index 6df995478275..7045a98d9593 100644 --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml @@ -8,29 +8,30 @@ title: MediaTek MT7530 and MT7531 Ethernet Switches maintainers: - Arınç ÜNAL + - Daniel Golle - Landen Chao - DENG Qingfang - Sean Wang - - Daniel Golle description: | - There are three versions of MT7530, standalone, in a multi-chip module and - built-into a SoC. + There are three versions of MT7530, standalone, in a multi-chip module, and + built into an SoC. - MT7530 is a part of the multi-chip module in MT7620AN, MT7620DA, MT7620DAN, - MT7620NN, MT7621AT, MT7621DAT, MT7621ST and MT7623AI SoCs. - - The MT7988 SoC comes with a built-in switch similar to MT7531 as well as four - Gigabit Ethernet PHYs. The switch registers are directly mapped into the SoC's - memory map rather than using MDIO. The switch got an internally connected 10G - CPU port and 4 user ports connected to the built-in Gigabit Ethernet PHYs. + MT7530 is a part of the multi-chip module in MT7621AT, MT7621DAT, MT7621ST and + MT7623AI SoCs. MT7530 in MT7620AN, MT7620DA, MT7620DAN and MT7620NN SoCs has got 10/100 PHYs - and the switch registers are directly mapped into SoC's memory map rather than - using MDIO. The DSA driver currently doesn't support MT7620 variants. + and the switch registers are directly mapped into the SoC's memory map rather + than using MDIO. The MT7530 MMIO driver currently doesn't support these SoCs. There is only the standalone version of MT7531. + The MT7988 SoC comes with a built-in switch with four Gigabit Ethernet PHYs. + The characteristics of the switch is similar to MT7531. The switch registers + are directly mapped into the SoC's memory map rather than using MDIO. The + switch has got an internally connected 10G CPU port and 4 user ports connected + to the built-in Gigabit Ethernet PHYs. + Port 5 on MT7530 has got various ways of configuration: - Port 5 can be used as a CPU port. From patchwork Fri Apr 7 12:50:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 671239 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 5BD4DC77B6C for ; Fri, 7 Apr 2023 12:50:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240340AbjDGMu1 (ORCPT ); Fri, 7 Apr 2023 08:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239695AbjDGMu0 (ORCPT ); Fri, 7 Apr 2023 08:50:26 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E717FA5D5; Fri, 7 Apr 2023 05:50:24 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id l15-20020a05600c4f0f00b003ef6d684102so21686407wmq.3; Fri, 07 Apr 2023 05:50:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680871823; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ijOoimJYROvL2xKKNrDkLF9qZTzoSBmk/l6jvqUrH2Y=; b=mLxuJVp1lpNT8/fb6Y0avFEOu/NNjP1458DTL5fFs+veWRX5KSMi5bhZs3Y79jXDtO fBu8U37MIlltZGTFWK4EmLjGHUeZMVNmDzMINeUwJZqH/QOoiCmuk53a3O3PUntrI6Sf QJ2FlJv7FKM5O3bRE1GWsevV6SoTMOslaXTZF+M5wrbbamUZOUunAKQ73L90uU+Q6kvq 650/qXUO0Vtexr0NeB45xwHjD1qMXVywj35h+ShGAIUxG8ha+2NE1P1mig4GxsK6RkA8 pSqxXs98cwBnF47+RVQD0fCSgU8N9VxgEoHRHY5HieFkrj3PUyIJr8pSBvx7gp/fww1X O+SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680871823; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ijOoimJYROvL2xKKNrDkLF9qZTzoSBmk/l6jvqUrH2Y=; b=Y2IgXMKgYstFbCSxP0UQwlRjZTRq8VqmlrRh69BOMWhu4EiCtzw+Bua7UOtMADzVDc qfXjg/LZQtznR4zQnAn4+nx8dBZbqNwL8Up4ePOLNLm5zcJi9ZVZU/Uaa6hCxY+JE3G0 TybS1NXEYlrDrVDnkEF7Lca7ktr9pBuy4A751dEhEJs2jdOoIE6LTXX9NmYjICXYaYPL ZCLyHnioLKHGz2lBn7P7KVkxn/7tSM6p2lc4Z1Mc+M107n1dIaggZocygZTxj1GHMOge 28xczQKR7CtecQlbCC5BVRDRkpg4XhAoIcnj65PG6qJy0Wt81A51KI31z7LpQTRZuuuH Q6mQ== X-Gm-Message-State: AAQBX9eacBDO7eczffYihRtWjWG2Yhu+Pjn2EDCDDW9ylVEPX/ovyFj4 JjEmSxIBuOTrvGd/jXqAPfU= X-Google-Smtp-Source: AKy350Zk26UApNEGoDELJLQMWH/Qq3yPg/VheTn1EjnWyokM6oY6sX0P15HTgqQQ4ASurUEw52f7pw== X-Received: by 2002:a05:600c:22cf:b0:3eb:3f2d:f237 with SMTP id 15-20020a05600c22cf00b003eb3f2df237mr1736688wmg.6.1680871823257; Fri, 07 Apr 2023 05:50:23 -0700 (PDT) Received: from arinc9-PC.lan ([149.91.1.15]) by smtp.gmail.com with ESMTPSA id n37-20020a05600c3ba500b003f0652084b8sm8176596wms.20.2023.04.07.05.50.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 05:50:23 -0700 (PDT) From: arinc9.unal@gmail.com X-Google-Original-From: arinc.unal@arinc9.com To: 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: =?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: [PATCH v2 3/7] dt-bindings: net: dsa: mediatek,mt7530: add port bindings for MT7988 Date: Fri, 7 Apr 2023 15:50:05 +0300 Message-Id: <20230407125008.42474-3-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230407125008.42474-1-arinc.unal@arinc9.com> References: <20230407125008.42474-1-arinc.unal@arinc9.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Arınç ÜNAL The switch on MT7988 has got only port 6 as a CPU port. The only phy-mode to be used is internal. Add this. Some bindings are incorrect for this switch now, so move them to more specific places. Address the incorrect information of which ports can be used as a user port. Any port can be used as a user port. Signed-off-by: Arınç ÜNAL Acked-by: Daniel Golle --- .../bindings/net/dsa/mediatek,mt7530.yaml | 71 ++++++++++++------- 1 file changed, 46 insertions(+), 25 deletions(-) diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml index 7045a98d9593..922865a2aabf 100644 --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml @@ -152,30 +152,6 @@ properties: ethsys. maxItems: 1 -patternProperties: - "^(ethernet-)?ports$": - type: object - - patternProperties: - "^(ethernet-)?port@[0-9]+$": - type: object - - properties: - reg: - description: - Port address described must be 5 or 6 for CPU port and from 0 to 5 - for user ports. - - allOf: - - if: - required: [ ethernet ] - then: - properties: - reg: - enum: - - 5 - - 6 - required: - compatible - reg @@ -186,9 +162,21 @@ $defs: "^(ethernet-)?ports$": patternProperties: "^(ethernet-)?port@[0-9]+$": + properties: + reg: + description: + Port address described must be 5 or 6 for the CPU port. User + ports can be 0 to 6. + if: required: [ ethernet ] then: + properties: + reg: + enum: + - 5 + - 6 + if: properties: reg: @@ -212,9 +200,21 @@ $defs: "^(ethernet-)?ports$": patternProperties: "^(ethernet-)?port@[0-9]+$": + properties: + reg: + description: + Port address described must be 5 or 6 for the CPU port. User + ports can be 0 to 6. + if: required: [ ethernet ] then: + properties: + reg: + enum: + - 5 + - 6 + if: properties: reg: @@ -235,6 +235,27 @@ $defs: - 2500base-x - sgmii + mt7988-dsa-port: + patternProperties: + "^(ethernet-)?ports$": + patternProperties: + "^(ethernet-)?port@[0-9]+$": + properties: + reg: + description: + Port address described must be 6 for the CPU port. User ports + can be 0 to 3, and 6. + + if: + required: [ ethernet ] + then: + properties: + reg: + const: 6 + + phy-mode: + const: internal + allOf: - $ref: dsa.yaml#/$defs/ethernet-ports - if: @@ -285,7 +306,7 @@ allOf: compatible: const: mediatek,mt7988-switch then: - $ref: "#/$defs/mt7530-dsa-port" + $ref: "#/$defs/mt7988-dsa-port" properties: gpio-controller: false mediatek,mcm: false From patchwork Fri Apr 7 12:50:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 671785 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 B57D5C77B61 for ; Fri, 7 Apr 2023 12:50:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240564AbjDGMug (ORCPT ); Fri, 7 Apr 2023 08:50:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240351AbjDGMu2 (ORCPT ); Fri, 7 Apr 2023 08:50:28 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB9446E95; Fri, 7 Apr 2023 05:50:26 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id j11so2556210wrd.2; Fri, 07 Apr 2023 05:50:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680871825; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=d2Jx75BdmM1DRIeZU7e7TBMUNuXWgIzSc84P6AFM0gY=; b=hZcWa0HFwLeUOYBlBloUEX+Gaq7fM3R9AG4Q0VV839B/i1zN0VBj9/LLXSiAe7Wm8i NlJLovn8esr+YA3r2p9QBzTDZtCpCjvoxkZAuTQRdZ8dW/uk+VMvskWOFBr61bGMOf+C P+cEpbWt17E14Uda2Tz9uIryMW0StfE31q0EfhYGG94gCqvDvBlAW5/kXQitzd9k1pA0 9WwvCys+4g6nr42u+6sOjSZeJkQSbp1HLQmBg3vBus5sP2Msozdnt8/nK21NCHdsdEhR NZL98Qxy6kkxsaSBHbzQPQhHVC+sQJVlgKAoqVsGHAWLpUQ2lMa99neOIniVOwKFRJ5M CsBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680871825; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=d2Jx75BdmM1DRIeZU7e7TBMUNuXWgIzSc84P6AFM0gY=; b=Myf3VIzoYwsqqzaTmzSSuOWFQxYVe40sncT5FfarGcau0WArRylfT8qehEWT0KN0ss +XAnB/VsFC9pDsfHfVnQhaIsQOTmoRA5SKo4aJuIMgLJIQXbuxcsXw0tHmBC9rq9avTQ jf49RXb7cYp57JflFggQRIGzrHBBRWyvrkRSjfwnNthBuer2UFPLWRJIsNOp+ro9Ygan XyVO/sw08zEqhrNkmAEIv7tGWwuuTjO2QusHXKXkFVds/ezZgWsaK8BfbZ2hFQ/VukDw 19TeSHunBtZOE8Lr+52dLWubzaIFBRy2EX31lNquqeQ5oBE/VIkGvlQgu4wRTD/e26cR fBBg== X-Gm-Message-State: AAQBX9enqKnDYzercUvMK9ACIOWWRm7jlB+i5+ND7P94z/x7VFlgvdhH Kmtk2bBwiU/3xjmC0AShxPI= X-Google-Smtp-Source: AKy350aDOnsG7tp548bKfnKmtM6qwQHsjisCGHW0Ku6OVLIOs5Mlcs/gY2OHF8QTarpzU8KyH0pYng== X-Received: by 2002:a5d:5383:0:b0:2d8:82f9:9dbd with SMTP id d3-20020a5d5383000000b002d882f99dbdmr1320495wrv.11.1680871825298; Fri, 07 Apr 2023 05:50:25 -0700 (PDT) Received: from arinc9-PC.lan ([149.91.1.15]) by smtp.gmail.com with ESMTPSA id n37-20020a05600c3ba500b003f0652084b8sm8176596wms.20.2023.04.07.05.50.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 05:50:25 -0700 (PDT) From: arinc9.unal@gmail.com X-Google-Original-From: arinc.unal@arinc9.com To: 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: =?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: [PATCH v2 4/7] dt-bindings: net: dsa: mediatek, mt7530: allow delayed rgmii phy-modes Date: Fri, 7 Apr 2023 15:50:06 +0300 Message-Id: <20230407125008.42474-4-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230407125008.42474-1-arinc.unal@arinc9.com> References: <20230407125008.42474-1-arinc.unal@arinc9.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Arınç ÜNAL According to mt7530_mac_port_get_caps() and mt7531_mac_port_get_caps(), all rgmii phy-modes on port 5 are supported. Add the remaining to mt7530-dsa-ports and mt7531-dsa-ports definitions. Signed-off-by: Arınç ÜNAL Acked-by: Daniel Golle --- .../devicetree/bindings/net/dsa/mediatek,mt7530.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml index 922865a2aabf..79ddd16e530b 100644 --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml @@ -188,6 +188,9 @@ $defs: - gmii - mii - rgmii + - rgmii-id + - rgmii-rxid + - rgmii-txid else: properties: phy-mode: @@ -226,6 +229,9 @@ $defs: - 1000base-x - 2500base-x - rgmii + - rgmii-id + - rgmii-rxid + - rgmii-txid - sgmii else: properties: From patchwork Fri Apr 7 12:50:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 671238 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 6CCA6C77B6C for ; Fri, 7 Apr 2023 12:50:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240681AbjDGMur (ORCPT ); Fri, 7 Apr 2023 08:50:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240535AbjDGMuf (ORCPT ); Fri, 7 Apr 2023 08:50:35 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48366AF35; Fri, 7 Apr 2023 05:50:29 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id v20-20020a05600c471400b003ed8826253aso4577060wmo.0; Fri, 07 Apr 2023 05:50:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680871827; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8Ur5gBAQUU5sWkYwoSsgIt09ft/hZck63dNnALmT94k=; b=jmvLvlSuptupcp8j/tpJaul5eWm4fGvzbfGMuWKm2lEUq8411XoYEJK5VMyg+S5FFt TjuZGCLe30zV4PkL/yCQzNQmmN00nSbINDsnQPOaTcjBK0B5/AAogmRdiJLjfiPbv9o+ WVO9o3NyW9h+lmQlzw4eeTi/XPEHlEgMemwsoq+TKAOuSXYt/5kqjaTPCqCfsXCewN/z TN8n2RJF3V3q1Igjm0oaaau5wMgYwqps7laLiP3Ym+UhDtkuaVgy3FNneYVtAXTQB4HA 7KTTsKztjnVlXvdu/6ZvDUARAo5qW+HL6UtjpR2wRNyHXzx9ttq5S6qgiDm4Ec/YrNWb APnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680871827; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8Ur5gBAQUU5sWkYwoSsgIt09ft/hZck63dNnALmT94k=; b=ZC3g0A5lJ/O+3xjPBpz5BM4ZxkJ7tQx0pMkVQojIlLZWkqML35XPIVUjVT2yvu3b9X xBxL1X7ff6pfXfWDwuSMDfBNNGVNt8hLRQ8Iuc505Sa7evn7XzQszYo0vpwym2kffP5J +yhszRku13RZZFXX9cAOAh/ji0Ep6bD44z1TzQOhybrxMbIUaKEoAQoKcTX9VN4MWnwY b3sSQzsCMI+CFZHftjHEQDSQRdex2ax0cy/KgK+tmH8CXr65W3WNnnnOz3jLoahrYSu6 lpG86/w8LE1b/69cQ9min3p79oyVnOBAZCQDgJXPBS9Spur4GCSwTPbiJOOh4ItCqhRJ S5vg== X-Gm-Message-State: AAQBX9e8UyRLjCeyE10iPXk9E49ZXxh2VjC685Y+2iI5FnGW+nJRLmPI r+xFhlDvWnR2Hl305z/sllJaTcUCKdZlQA== X-Google-Smtp-Source: AKy350Z1cjauAcBYmc41Vrlz4XKvFh5rNTJy7A3QvYqcUzeBpe3Yy0sjgBW5eKKQw0VJPdb3knNE6g== X-Received: by 2002:a1c:f609:0:b0:3ed:316d:668d with SMTP id w9-20020a1cf609000000b003ed316d668dmr1176048wmc.5.1680871827427; Fri, 07 Apr 2023 05:50:27 -0700 (PDT) Received: from arinc9-PC.lan ([149.91.1.15]) by smtp.gmail.com with ESMTPSA id n37-20020a05600c3ba500b003f0652084b8sm8176596wms.20.2023.04.07.05.50.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 05:50:27 -0700 (PDT) From: arinc9.unal@gmail.com X-Google-Original-From: arinc.unal@arinc9.com To: 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: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= , Krzysztof Kozlowski , 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: [PATCH v2 5/7] dt-bindings: net: dsa: mediatek, mt7530: disallow reset without mediatek,mcm Date: Fri, 7 Apr 2023 15:50:07 +0300 Message-Id: <20230407125008.42474-5-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230407125008.42474-1-arinc.unal@arinc9.com> References: <20230407125008.42474-1-arinc.unal@arinc9.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 Acked-by: Krzysztof Kozlowski --- .../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 79ddd16e530b..b5db0f50aa59 100644 --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml @@ -274,6 +274,10 @@ allOf: required: - resets - reset-names + else: + properties: + resets: false + reset-names: false - dependencies: interrupt-controller: [ interrupts ] @@ -316,7 +320,6 @@ allOf: properties: gpio-controller: false mediatek,mcm: false - reset-names: false unevaluatedProperties: false From patchwork Fri Apr 7 12:50:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 671784 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 C0646C77B6F for ; Fri, 7 Apr 2023 12:50:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232561AbjDGMuv (ORCPT ); Fri, 7 Apr 2023 08:50:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240656AbjDGMuq (ORCPT ); Fri, 7 Apr 2023 08:50:46 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E63F261BD; Fri, 7 Apr 2023 05:50:31 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id s13so23968019wmr.4; Fri, 07 Apr 2023 05:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680871830; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PT2R/N8DSjvq3gCY4oulVlTU0UqMGHgaoluEuUjzZCA=; b=HWigBAGSs7yP+Us6sjpXun72uAtox3ewvDqYb32bkrgH8/iGinnU7rqUJ18vtGP7BF VTX7nZRKTUkPz3fm79umRlUTPBk8lSX0BfAWoh8Qns4HoP0JdQRW60q7jp3i8+SX0KNh tUEGjqmiuBSE2EkzQpGaqPK/qrShmVHHIAFwGvDaueuzAx+RF8MkmT/0TpPOdJTR9ivn u9NYwKyDc0l5oXljz6jV1EyTKXf6QYv56is/tz9gQi2KvhgelvRLXBHUfvnQR9xQUMTI 8vmyZwUHtwtYywvHATxJXmnzXW5TNZ97jFFeMfmkQqpHsYY3s3YOCCOkw5hSnVfZ+EaY uNHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680871830; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PT2R/N8DSjvq3gCY4oulVlTU0UqMGHgaoluEuUjzZCA=; b=OtdWKjl0qg4P5Enrs2x/Fj8y3odmcv/ppPZKB0AjXAT3lPO0p0UfY2iQB3wEtJUFMX bkmaiEqSvLr33OC9Y57tkJKBCo/BIJuFcA5hhMI+1NFdCuuAP7pCmdKAIJCgLhSiMKaJ VJQTTeoVPTpgvtjoKGmk8+2QfU4mAzbvNjer+T2OwR0k6Mvl9H0wB5ADBZEmjW2ZU5Q2 RgcX9ps9+Knl0jF0fo71+g+Gmv/rXRLc2SRH+asZEMoayQI67Jgcz31H9t3sMowFU8R0 Lna5rTZc79dMvfpsuMj/e3rBrwA7Qc+g/7Y8GKCfC4yxZ6dfutb6Ti9ITyZNfQimtGG9 WRFg== X-Gm-Message-State: AAQBX9elIMXoTmZUzA7w/Tgvz/ViKvzorvE084vcSqgntbiVbyWc8PGU HwCUtomGFMrOyzZmLLPEVcw= X-Google-Smtp-Source: AKy350ZUvz2opaO63plSTQkaRGo/We03Acro9SeWKsVWVPci5sBss3eVrvBEdbUYYJH3O/X/VUGEJg== X-Received: by 2002:a05:600c:3649:b0:3eb:39e7:3607 with SMTP id y9-20020a05600c364900b003eb39e73607mr1565229wmq.4.1680871829627; Fri, 07 Apr 2023 05:50:29 -0700 (PDT) Received: from arinc9-PC.lan ([149.91.1.15]) by smtp.gmail.com with ESMTPSA id n37-20020a05600c3ba500b003f0652084b8sm8176596wms.20.2023.04.07.05.50.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 05:50:29 -0700 (PDT) From: arinc9.unal@gmail.com X-Google-Original-From: arinc.unal@arinc9.com To: 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: =?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: [PATCH v2 6/7] dt-bindings: net: dsa: mediatek,mt7530: disallow core-supply and io-supply Date: Fri, 7 Apr 2023 15:50:08 +0300 Message-Id: <20230407125008.42474-6-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230407125008.42474-1-arinc.unal@arinc9.com> References: <20230407125008.42474-1-arinc.unal@arinc9.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 b5db0f50aa59..3b85063d5b5a 100644 --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml @@ -291,6 +291,10 @@ allOf: required: - core-supply - io-supply + else: + properties: + core-supply: false + io-supply: false - if: properties: From patchwork Fri Apr 7 12:50:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 671237 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 1DDB5C77B6C for ; Fri, 7 Apr 2023 12:51:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240764AbjDGMvG (ORCPT ); Fri, 7 Apr 2023 08:51:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240351AbjDGMus (ORCPT ); Fri, 7 Apr 2023 08:50:48 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC557AF03; Fri, 7 Apr 2023 05:50:33 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id gw11-20020a05600c850b00b003f07d305b32so389054wmb.4; Fri, 07 Apr 2023 05:50:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680871832; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dLHvO2FfplQIRzVomYcprC2rvpDUKXpOVap/nUAtaf4=; b=XQt55Q3+7ebyW5LUhFMC4lVpV49B6vOtP6SDdNgq+QoR4bIsNLEE0/us9p504H8vt1 6avl8+8a1S3mTOdAkKbRBIPD/FO7E8HGngWPeKV3/x71qGasONJNQeeUL8mtqqNFRkCp SyKTTFgOaaZC20DTNFiltuszp2fZnmNtrFYUxS8aesPH7tP5F16h++VQxtxNKyb6Xcel RcsKQh+n+03VWbtQGKzzQNyCVZJQmd7garR9MEju6xX/51d4pF7fJfPPQkhmILDv8TFO 8GZQPNQnICnpTK5bWFhs0oXkzvJX6aeGljhXaC2MygC45km4gKlUEJuEeKTx0q/Ynw/F KPcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680871832; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dLHvO2FfplQIRzVomYcprC2rvpDUKXpOVap/nUAtaf4=; b=sl6HcYomfv51KkyZLr/tC04lgv0jg8TQw9ZfX3P53ZmARUioI7hP0uz3gz5o0WSSOG orDT9DV9mw5lkFF2pLU5mrVjxOVt6dpcefO1JOFBt5bgJjnbKXuidd7BvUcBWGRsgSNh rA6WvLya9GPRHhpZ13ZMVu6FTXNjL9hhd9IUPYa/+lOgOBTLG6/xvjBlGLqs5zjEyqkp ryeRPz9t702+5B70nn7wcH7WrDlEdSaXS3/xy6h9BBMBKb8vu3P7q2TnHexGJXi1Z6Va uIQrqxoE10qQA5uHEyUvGgHnwXNoh1CBLSWeaY29i3NdzIKwZA57nF5IcsAhE4NafvqH IP+g== X-Gm-Message-State: AAQBX9e1ZvCZFui9ammEZnOC6j28OrTUgWHMpwsA02XlVDxloMGjgbzN P4JUrJa9EAJa5JPiJXu+9AA= X-Google-Smtp-Source: AKy350YtsYxuyrbQ3Bd05zHmURZtqmHFghRDkFAgzc2WJ+jhxRWD4RZIe1RArSGHTemJx6ZplJl6SQ== X-Received: by 2002:a1c:6a1a:0:b0:3eb:383c:1870 with SMTP id f26-20020a1c6a1a000000b003eb383c1870mr1353860wmc.11.1680871831686; Fri, 07 Apr 2023 05:50:31 -0700 (PDT) Received: from arinc9-PC.lan ([149.91.1.15]) by smtp.gmail.com with ESMTPSA id n37-20020a05600c3ba500b003f0652084b8sm8176596wms.20.2023.04.07.05.50.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 05:50:31 -0700 (PDT) From: arinc9.unal@gmail.com X-Google-Original-From: arinc.unal@arinc9.com To: 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: =?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: [PATCH v2 7/7] dt-bindings: net: dsa: mediatek,mt7530: allow mediatek,mcm on MT7531 Date: Fri, 7 Apr 2023 15:50:09 +0300 Message-Id: <20230407125008.42474-7-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230407125008.42474-1-arinc.unal@arinc9.com> References: <20230407125008.42474-1-arinc.unal@arinc9.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Arınç ÜNAL Allow mediatek,mcm on MT7531. There's code specific to MT7531 that checks if the switch is part of an MCM. Signed-off-by: Arınç ÜNAL Acked-by: Daniel Golle --- Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml index 3b85063d5b5a..71ae431c61d1 100644 --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml @@ -304,7 +304,6 @@ allOf: $ref: "#/$defs/mt7531-dsa-port" properties: gpio-controller: false - mediatek,mcm: false - if: properties: