Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4697839iob; Sun, 8 May 2022 22:25:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdfoQqafkkQAkH6RgNCdCoxMglZD6psJwZrGEGcbvl39zpaNytH9ZNjMWQo2GI11IhNpH8 X-Received: by 2002:a17:903:11c7:b0:151:9769:3505 with SMTP id q7-20020a17090311c700b0015197693505mr14694283plh.72.1652073903943; Sun, 08 May 2022 22:25:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652073903; cv=none; d=google.com; s=arc-20160816; b=Xu8OgTH5HtMYL5PpBpOzc6ofg7fAhWqGY5pGWjnjq6WmgfsH4gr2TGTILwWTPp9wuq GKbqZAROgsmQQPq8e6m5QncEMHwhmfm8wbasTXcNHK9vGKvHoEQnIiZTygkj46JsrrVE 3xODsAKhD55WvvMgiaZu9KFmbDilahxay+A5RxHJQ00TIbYAt+WQtaLegK3JrmVKrjVj /g9pG5V8nUX35/nZiDo9zNXRxyKmi3MuXgkWMko1f94UPb9bCI+9fxZSIK8VHytfn8Bd oViRq/oBpref8yDMLwiQ9l0tJBNkC25zKFiqQxdP1S+pJOVfWhx3TcRm+h1wpQDZcadl LXrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:from:cc:to:reply-to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature; bh=Ng4jRsIwZxysTh46jpfz6AMJR9c8fLNEyif0uXQBzMM=; b=hD+pb974hMOz4nkRgbDmylWLk/uCNRig+AqBU2m8xJ7aEagSQEtxK6jRIDOPJWJyEW 5uuxUbtko81p013EWr+i9cKELwWJtPU0nb6NBh4TQV7cWajB1u2fBprhZuUiG1t83gyL sQ9+jT1/UpXSK6hr4xVN4ftjSWNhREWgz6LJxQrZwWaF0OR1AUD6/TVW3p20A2Lg6k6m Z1T2DGyhORIjW9TXgBjgJqBXpO0A41ymywFL/NMJ/b9hPlLd9S3QivxXMVX6Xy5QknSX ARV/126fWgg7m0jKhPW3U93tChJkbwLohObIqzFVXQ0yHHnIFKUN/Xx3k6Epzsa0VOnK iwHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmx.net header.s=badeba3b8450 header.b=X+vDZVU5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id t14-20020a63f34e000000b003c64b4e4492si9541904pgj.602.2022.05.08.22.25.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 22:25:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@gmx.net header.s=badeba3b8450 header.b=X+vDZVU5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EB23710C83B; Sun, 8 May 2022 22:21:30 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229561AbiEHG3s (ORCPT + 99 others); Sun, 8 May 2022 02:29:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbiEHG3p (ORCPT ); Sun, 8 May 2022 02:29:45 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D84910BB; Sat, 7 May 2022 23:25:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1651991088; bh=Ng4jRsIwZxysTh46jpfz6AMJR9c8fLNEyif0uXQBzMM=; h=X-UI-Sender-Class:Date:In-Reply-To:References:Subject:Reply-to:To: CC:From; b=X+vDZVU5h4mNwzU33pKxmhT0xREh95Q0q7hnyhDLpOlZ2oCdGgTkjLrgzT7RpZ4Xg J5pZeoUkLSyUcM3tj0bhMC/wwxNWpnAwJOyA408yjpzp7Rd3wTT6fc3PPcfZlnWSZT XD6Ssm4K6hdmWrGUbCN5IfffCJwF+b/wk92Vmj/s= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from frank-s9 ([217.61.158.76]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M8QWG-1njCcq2lQO-004WiY; Sun, 08 May 2022 08:24:48 +0200 Date: Sun, 08 May 2022 08:24:37 +0200 User-Agent: K-9 Mail for Android In-Reply-To: <06157623-4b9c-6f26-e963-432c75cfc9e5@linaro.org> References: <20220507170440.64005-1-linux@fw-web.de> <20220507170440.64005-6-linux@fw-web.de> <06157623-4b9c-6f26-e963-432c75cfc9e5@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v3 5/6] dt-bindings: net: dsa: make reset optional and add rgmii-mode to mt7531 Reply-to: frank-w@public-files.de To: linux-rockchip@lists.infradead.org, Krzysztof Kozlowski , Frank Wunderlich , linux-mediatek@lists.infradead.org CC: Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Heiko Stuebner , Sean Wang , Landen Chao , DENG Qingfang , Peter Geis , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Greg Ungerer , =?ISO-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FnBCF/YOi+KwwlZRbIiU m1x+briTvys/DR0AxtKoU/3ARfUlE//mpL0ZZhkCPqxF8jpgPhqo8Usonb7apnQRIynbEIZf7 +6uLAzBWZbnF56sm4WObjUbVev1kBquTKBQZ/jZEbOhcjjJVnYX3CQYZlyL7dVd55dFlFsWif rMwUQddDBjYWvamkLP4LW2bvbqySz4gKwB9C3Zp4Rr25JpASSXbAyfDQ9S6Ic7cyOIH33ugAd jJU4IdGCgljdAZWOLdWvoWBxAkdvXfxY3MdzkEH8FAKA39Z11wS0BsKMJToIssVhsMwoadgFS qf/y3agWZoSVD2WSm0oUTvxYbC2sU47z7lz6azW8AjCOfZnBnpOBR+9akJTyG90hq/ZI4Egg6 7LfkJf4JYSWx3k= X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Am 7=2E Mai 2022 22:01:22 MESZ schrieb Krzysztof Kozlowski : >On 07/05/2022 19:04, Frank Wunderlich wrote: >> From: Frank Wunderlich >>=20 >> Make reset optional as driver already supports it,=20 > >I do not see the connection between hardware needing or not needing a >reset GPIO and a driver supporting it or not=2E=2E=2E What does it mean? My board has a shared gpio-reset between gmac and switch, so both will res= etted if it is asserted=2E Currently it is set to the gmac and is aquired e= xclusive=2E Adding it to switch results in 2 problems: - due to exclusive and already mapped to gmac, switch driver exits as it c= annot get the reset-gpio again=2E - if i drop the reset from gmac and add to switch, it resets the gmac and = this takes too long for switch to get up=2E Of course i can increase the wa= it time after reset,but dropping reset here was the easier way=2E Using reset only on gmac side brings the switch up=2E >> allow port 5 as >> cpu-port=20 > >How do you allow it here? Argh, seems i accidentally removed this part and have not recognized while= checking :( It should only change description of reg for ports to: "Port address described must be 5 or 6 for CPU port and from 0 to 5 for us= er ports=2E" regards Frank