Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2220804rdb; Tue, 3 Oct 2023 14:14:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHHL3+QlIkn0JgyHjzw3A96/hDU2daTKgGXOKqUejJyPET1kAjnzFhPkxyQK9qXzzeayvEM X-Received: by 2002:a17:902:720a:b0:1c3:5f05:922a with SMTP id ba10-20020a170902720a00b001c35f05922amr701495plb.60.1696367668038; Tue, 03 Oct 2023 14:14:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696367668; cv=none; d=google.com; s=arc-20160816; b=G5n9igPbd6JMPxTR+sLQmQ4tuDIWkvHTHZe48kiul44QlNw9y3Cmg9eJSffL7VmzSX P1vQi9kpEHpbQ1TFHaaEHEco+ru8ilz6Kz4PvJ09MvjGAYjxsr3gONP2+iT3jEU9fPNV Fg1Uoqexmh0ZOXyU/qgBobbpjtOXL8bxa1ctSvI0vl8T2C3I0ayfrqgzNSC2GURWhyVa AQ9paoPmqU+UWTO9s6cJqpMl0Tb0AaptYbasmm0kqw1fa+Qe2QIPzh4bQf8Vy9wIXxvy eCOsjl2gx+54m5VS/96HCfCj7ek12kkiUyCNM104Eu8rjHQ2AysLzTGIoOYxoj7ABGCC KTjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=IPz2uBJ8rBwKPCCgJ+fxTjcXA7wMdv/YCDeLnT8vXMw=; fh=so53zOW2biF63qZjsYTHF+dIraQP/SufQE9k7QLlTDg=; b=paIxW1FH15ze5ro6HH2FMVEka/T22E2anGMa9Svgf3gQXTrdlBoW5Gjpf2IU/HiNvg xiyJudiLzi4YDdT2d3+/8TxZdryqtzx4KB8cya5ZxP5Ue4aLMccQ+NPFy1KpAj3VTflf Ygf0GarvNGF/7nKZm+Yripj0I5gcAXe5gj6bqhRHOXN4TVOZ72/KzMOsJVcAcBVmPS4u CXKwE8nbUD35lLfspoGQjIE1XsO7rSPhgiiU/+87gJmlknDyP7l5Ya3f7jfz77MwsnOf ASIkMfp9xr+lz4DU/xWjVI+7JUU/4ns9+WPPnGgdMolRdJE8SYgtn+LWWIhpC2zPkDVG Qoyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AXWTTjBS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id j4-20020a170903028400b001bb809b68a8si2348062plr.229.2023.10.03.14.14.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 14:14:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AXWTTjBS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 6BDB28182DCC; Tue, 3 Oct 2023 14:14:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241151AbjJCVOR (ORCPT + 99 others); Tue, 3 Oct 2023 17:14:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241158AbjJCVOQ (ORCPT ); Tue, 3 Oct 2023 17:14:16 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0E83B0; Tue, 3 Oct 2023 14:14:13 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-9b281a2aa94so253145766b.2; Tue, 03 Oct 2023 14:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696367652; x=1696972452; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=IPz2uBJ8rBwKPCCgJ+fxTjcXA7wMdv/YCDeLnT8vXMw=; b=AXWTTjBSRvE+J5xC8dsra/msJQEOR1gcBV29O7LnBzO+LjKskvtoJZdimOoHcwIv6B nOZ+yMYq7Nd66aBIbfmlg3UPWYbCtUQNCK05Ps2/0MZgVB6tjDnnJKIneYcmvY2KBlQx 8LcV2x0oTQtgssfzjL5SXksRAhY7yPObD9WolD7GEFTqCXS+sDp/30mRDeGnn6eeBn1B VwcMStS++z2+/9spq0Vh6w/bPjpYnGE7Ft675mBw/3MHO3kDi9Lrw8DaWMAcayJBLgZg KxwkoAdC8PtViObIYMwvoP+dl/oDen4et0wfO8RhBkxt1u7U/d6jNOpx6TVWBV5tTIfo NRJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696367652; x=1696972452; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IPz2uBJ8rBwKPCCgJ+fxTjcXA7wMdv/YCDeLnT8vXMw=; b=UsmT6S6JlyHGv3lXjpsTg49NQUwOyAFCfcFiHdWRRYDgPmzhcsseSMCWGghYY9BTi+ QVDwJdckJ/W9WfX8FRuqZkLM8rEpwLa1FGiWKGaDQUxE3RRuQ8HX75tKfB+O9esfIFr7 dHwEnITkpdK69LlsQ1UXHzBx3HRb1he1fW4yt7XcI9xOqS0L8BHa7WCLfBHwPRKJgPeM YrPLOPYqz88OdmKjjXaJcOvPDs086hsLyrezieHb7F/J/2z1eqzUjPVMh5UlLK/pe7eS hyzAcaWdoPecX9tjhMg7X5gwx+N1OEok6+GoUNyNcs20twYfvjm7K0w16rilU1deFAhi 61xg== X-Gm-Message-State: AOJu0Yz6KmyMyFkPUp/9dmBddumA0Bil0Lf5zJMgaoSrzFSi0IWTjvBy BIFt0e8eAQGx6u4+Qb0QdzI= X-Received: by 2002:a17:906:76cf:b0:9b2:a7e5:c47 with SMTP id q15-20020a17090676cf00b009b2a7e50c47mr343017ejn.9.1696367651907; Tue, 03 Oct 2023 14:14:11 -0700 (PDT) Received: from skbuf ([188.25.255.218]) by smtp.gmail.com with ESMTPSA id kt13-20020a170906aacd00b009adce1c97ccsm1637590ejb.53.2023.10.03.14.14.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 14:14:11 -0700 (PDT) Date: Wed, 4 Oct 2023 00:14:09 +0300 From: Vladimir Oltean To: =?utf-8?B?UGF3ZcWC?= Dembicki Cc: "Russell King (Oracle)" , netdev@vger.kernel.org, Dan Carpenter , Simon Horman , Linus Walleij , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v3 2/8] net: dsa: vsc73xx: convert to PHYLINK Message-ID: <20231003211409.4enff3ee3bb762ai@skbuf> References: <20230912122201.3752918-1-paweldembicki@gmail.com> <20230912122201.3752918-3-paweldembicki@gmail.com> <20230926230346.xgdsifdnka2iawiz@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 03 Oct 2023 14:14:25 -0700 (PDT) Hi Paweł, On Tue, Oct 03, 2023 at 10:45:45PM +0200, Paweł Dembicki wrote: > I plan to make rgmii delays configurable from the device tree. Should I? > a. switch to phy_interface_is_rgmii in the current patch? > b. add another patch in this series? > c. wait with change to phy_interface_is_rgmii for patch with rgmii > delays configuration? If you want to configure the RGMII delays in the vsc73xx MAC, you should look at the "rx-internal-delay-ps" and "tx-internal-delay-ps" properties in the MAC OF node, rather than at the phy-mode. The phy-mode is for the internal delays from the PHY. In any case, you should accept any phy_interface_is_rgmii() regardless of whether internal delays are configurable in the MAC. And yes, parsing those MAC OF properties should be a separate change. If the series exceeds 15 patches, I would consider splitting it per topic and submitting separate series (link management would be one, tag_8021q/bridging/VLAN would be another). If they don't conflict and can be applied independently, you could also send the 2 series simultaneously.