Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp40573imn; Wed, 27 Jul 2022 14:34:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uk30YVe9YoN89JqgkbiNbiXwwd47yYPv3nHGSoZNRKtSsI8pT2tYF9GfrsOYBWRmx1O45R X-Received: by 2002:a17:907:60cf:b0:72f:267e:eb8e with SMTP id hv15-20020a17090760cf00b0072f267eeb8emr19452929ejc.544.1658957697122; Wed, 27 Jul 2022 14:34:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658957697; cv=none; d=google.com; s=arc-20160816; b=dt6H5TBujwTDXHupWF/o0yDdD90WnPwjRQeqjHOtc3FK/XliKFZ7OZjBUdMWqUWdug sgXBMnIu2lB7ipQfKdqmQCs1oqdJ7001mGOyymcFhn9NNcRqI6O0WUDCpkPvyl0KWMa1 pcGQpufyu45WobRKgaiRVMttSw0xNfDuh5MPbjiO7eIEGqP4vpjCPdTA5Gu/lRQBiyPN d8NDcWgcrD9obaveuG49ZUZX4ZxutIhMc3WKttNgA518/B9GOaZLcBUOmZdLSO4xGlKC o2rwt+RY7QOGp0NzgO+PMzvtc6fkGfqKt1wxFVTKrMRlrdqMTe04aZ2iQGjLuVxp+dKh J1rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:references:in-reply-to :sensitivity:importance:date:subject:cc:to:from:message-id :mime-version:dkim-signature; bh=6cegGklwMN8G/EK3L6ajLxFxmA8JR/v85vtwkffWMww=; b=qegjIrhtCw8xOoVXFcpM72LboxoZDrQ5jcDM/r9m+sW6h9+mpIW5af6oD0ByvbsZrT A/mQ/fXP/qSpSW7uFYO/VYAk9cz7alIQ59pk4iyXhhMv8nS+KfK4WG0WGc9NoeQJXzZv yE2L0Sp8ancqMJprZsXepEZNKJ48xwzerG8nQS0u+E7jtx0hTTAW+0kr0Ocm4wUdCwyV ninmDW6lc2VhVwQ7Zn6bV0jco2sen2mMfDa+us4znIqrnJgG7D5UKUqtDWHk8hayLwS0 H9vQW8rAK1rC5sAH5X8TgirMD/rSC0mdb9kGMXvY0tnuLmnQsYn8BjSebpXTJyE3rYji WShg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=CwJ4xHtV; 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 c13-20020a05640227cd00b0043c301a128csi8567126ede.596.2022.07.27.14.34.32; Wed, 27 Jul 2022 14:34:57 -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=@gmx.net header.s=badeba3b8450 header.b=CwJ4xHtV; 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 S233151AbiG0UcI (ORCPT + 99 others); Wed, 27 Jul 2022 16:32:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229696AbiG0UcF (ORCPT ); Wed, 27 Jul 2022 16:32:05 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 476E251A2E; Wed, 27 Jul 2022 13:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1658953873; bh=6cegGklwMN8G/EK3L6ajLxFxmA8JR/v85vtwkffWMww=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=CwJ4xHtVxy9J5c/slCbc9JvCrWKYAsKvdZfBoF9xVxfJxj0VMlfB6xAXS7YxRmsUM PDumPMvlaNqzvx2q5jf4RkdrCeLG1OM+tnGB4oEqOF/tlMnAgq2sPf2ACTmsNBRywB blcMv8DJDxJWcg/sN4Lfg7hCBLeABDqjk9tqpvaY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [217.61.155.189] ([217.61.155.189]) by web-mail.gmx.net (3c-app-gmx-bs42.server.lan [172.19.170.94]) (via HTTP); Wed, 27 Jul 2022 22:31:13 +0200 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: =?UTF-8?Q?Ar=C4=B1n=C3=A7_=C3=9CNAL?= Cc: Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Sean Wang , Landen Chao , DENG Qingfang , Luiz Angelo Daros de Luca , Sander Vanheule , =?UTF-8?Q?Ren=C3=A9_van_Dorst?= , Daniel Golle , erkin.bozoglu@xeront.com, Sergio Paracuellos , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?Ar=C4=B1n=C3=A7_=C3=9CNAL?= Subject: Aw: [RFC PATCH net-next] dt-bindings: net: dsa: mediatek,mt7530: completely rework binding Content-Type: text/plain; charset=UTF-8 Date: Wed, 27 Jul 2022 22:31:13 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <20220726122406.31043-1-arinc.unal@arinc9.com> References: <20220726122406.31043-1-arinc.unal@arinc9.com> Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:2SCSIFa9qDIxiGlO6/J12e1r5kj8WpzZq8CaGp3EH1FDBTB/Zd42SDKO7cKqmHq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PvhEndI NhgtWGX X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 > Gesendet: Dienstag, 26=2E Juli 2022 um 14:24 Uhr > Von: "Ar=C4=B1n=C3=A7 =C3=9CNAL" Hi,=20 > To Frank: > Let me know if MII bindings for port 5 and 6 on MT7531 are okay=2E I ack krzysztof, that the change is really huge and it is hard to understa= nd what exactly is changed and why=2E So please split=2E I have converted= =20 it to yaml, but not have changed the logic itself=2E I guess you know the = switch better than me=2E > Does your recent patch for MT7531 make it possible to set any port for C= PU, > including user ports? For now, I put a rule to restrict CPU ports to 5 a= nd > 6, as described on the description of dsa port reg property=2E i only know that port 5 and 6 are possible, not about the other ports=2E A= fair there was a check if port 5 or 6 (followed by available modes like rgmii, trgmii or sgmii) and then allow cpu-port-mode else allow only = user-port mode=2E Had not changed this, so currently only these 2 ports can be used as CPU=2E > I suppose your patch does not bring support for using MT7530's port 5 as > CPU port=2E We could try this on a BPI-R2=2E Device schematics show that > MT7530's GMII pins are wired to GMAC1 of MT7623NI to work as RGMII=2E my patches (and the version from Vladimir that was merged) only solves the= Problem that CPU-Port was fixed to 6 before=2E I tested Patches on r2=20 (mt7530) and r64 too (mt7531) that they do not break anything=2E But i hav= e not disabled port 6 (maybe i had to do so for a port5-only mode), only enabled port 5 too and run iperf3 over a vlan-aware bridge between wan-por= t and port 5=2E > Ar=C4=B1n=C3=A7 regards Frank