Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2235495rdb; Tue, 3 Oct 2023 14:50:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHG+/Afddn4izs5hQDi5wlMC7Fj2wUdBfOWbqtoQdOJfwGCyIQmYyuvzT+xJUn5Oe3RAXrA X-Received: by 2002:a17:90b:30cb:b0:279:cea:cfa9 with SMTP id hi11-20020a17090b30cb00b002790ceacfa9mr538568pjb.21.1696369843674; Tue, 03 Oct 2023 14:50:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696369843; cv=none; d=google.com; s=arc-20160816; b=oadvl18V6odOoXax3uVskIh5af6hcIBQXtpw8GFOguWDoUPv052cCgoT29b5lV+FWx k+4bKtOS6MrXvI3w9rwKQ6xYT9k6ccdBnAJdK2na36alWfy55I9A6O56PV0GXgDAs/si V3SNI+J4fi5G++4c03TnXu0+78UXVQO92mkkYmJJcheqiPnu8FsJUE7VujerWzwj6MZZ 4CTueNkkKcLair4aEPtawamvEzAnOoqiaVBzFADvzGDh0Zf0Ue5A7nVRUSOtPrlC9/Aj HvnrI9F+0LlRW6GfOeZMG/pdso9blxYOQQfXVPdMB1y1n/Vl27lDBhBgFS/IqHwRzAzn JrCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=MF34turnWm8J/YqjdS1MNnVfMeCJf57KTxJRwtve6sE=; fh=oWedlgsIV2JXBaQrknib/I/L7RkCD0h5HO8O0QyRElk=; b=b66qoF3O72uLyhKhfaT1cj1utUOjVDeBesXzSm7zaY83dXfOjT6JhsSgTm72jKTEWE JBcy+29varlxg+g+zowJtylJ1L7GF6cC73Qap0CN3gRzS/YeNjaqxAXwLxuQGAh+fsGY O8F2DBRZ55JfNh9DzTacGkbu+kCeq4AbXDQ7XoNBmTfJi8xyN3YID2pS6Kxa1cQ60C8R pFUN5WfYx5g85Z4e40GlBqrtUwqhYWaDNGr0ZJI9/t9z0KJKLLSJ2bhIdb2k/yl+sUoQ UCK3JZMp96fiRFF7HsfX8gdz1J3eBAbfqra6t0DoviBaiFgJS6QOpJLy2nrn9utJjCXm tnpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RxYIEjin; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id z2-20020a17090ab10200b00276671731e3si113624pjq.136.2023.10.03.14.50.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 14:50:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RxYIEjin; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 273C58048D86; Tue, 3 Oct 2023 14:50:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241275AbjJCVu2 (ORCPT + 99 others); Tue, 3 Oct 2023 17:50:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232502AbjJCVu2 (ORCPT ); Tue, 3 Oct 2023 17:50:28 -0400 Received: from mail-vs1-xe34.google.com (mail-vs1-xe34.google.com [IPv6:2607:f8b0:4864:20::e34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A41EA6; Tue, 3 Oct 2023 14:50:23 -0700 (PDT) Received: by mail-vs1-xe34.google.com with SMTP id ada2fe7eead31-4547322a756so711510137.3; Tue, 03 Oct 2023 14:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696369822; x=1696974622; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=MF34turnWm8J/YqjdS1MNnVfMeCJf57KTxJRwtve6sE=; b=RxYIEjinF4fSHELQM1Z1xRldETLFeXkn0aSSqwquqHP5xyHluy9ATYkNBM1rEzinSE wuIhAl6lpMuSuaolWOKhysXhPX/zgwm2+n9qNR6XZN6xFJDkIW0X/ZsqmPlLlk+bBzBm NI6dZwFUNKlYJcnVlb9x7jqUNn9j7PtCMvTY+n9nUbbilOU19KABlsly2u8lW3JDv7dO JCh4RhLKAJYSY6KYuDAaWpZe/HhPgq9iVChfs76E0/eRhmDoen667+X0bT53tSlXDm5o Zfk6bMlW7zTPmUru0KJS9L2aRzy1uhKIGrwR1f+8nPepNKOLt1GLup5cjO2GKoDOVOYc ajow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696369822; x=1696974622; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MF34turnWm8J/YqjdS1MNnVfMeCJf57KTxJRwtve6sE=; b=ZYAb0Bm8ltnaXlv0B7BNs6w7XlWvF70eSiUmumFXiBqTELnuLg8PKNxU2Cc1moX8KQ ggcJ8zBpg+k5PMWNf0oe5Dj2spSEaTJ0INDn4U14GgLUUDeOwBSf8w10hoEA3l5pA0Pu dv7HIxM+Fgb1qwQ1h/oQ26z9RGPgnBsYFhxNxn+6QMagsR7AXu2eCIMy/nFtvhfmEGtp 2STr2HmQFiJ5z6ExiD0DLboPGNFCTH51Ef8ErMwmyP1XSZ/wG9xFLmGwnF96pHP3jq74 FOoiX8ssVcp1AWILEE5BCISH7ou9l5rxLE+hFsVFYGtj7N1/QWq4GigqUhQ4pVRah66m HyHQ== X-Gm-Message-State: AOJu0YxJfyOBYodXFfReuD4P25Y8VdOfWDQwXddZA550cRRr6ZbfgBuH 8nMGPmvL+YO109i0f+Kp8gNyuBfJPCdlBE8kBAAtzXuA7squWw== X-Received: by 2002:a05:6102:8a:b0:44d:4a41:8945 with SMTP id t10-20020a056102008a00b0044d4a418945mr566277vsp.8.1696369822461; Tue, 03 Oct 2023 14:50:22 -0700 (PDT) MIME-Version: 1.0 References: <20230912122201.3752918-1-paweldembicki@gmail.com> <20230912122201.3752918-3-paweldembicki@gmail.com> <20230926230346.xgdsifdnka2iawiz@skbuf> <52dd8a1c-e0f0-4a24-b6d7-6ba1c9482525@lunn.ch> In-Reply-To: <52dd8a1c-e0f0-4a24-b6d7-6ba1c9482525@lunn.ch> From: =?UTF-8?Q?Pawe=C5=82_Dembicki?= Date: Tue, 3 Oct 2023 23:50:11 +0200 Message-ID: Subject: Re: [PATCH net-next v3 2/8] net: dsa: vsc73xx: convert to PHYLINK To: Andrew Lunn Cc: Vladimir Oltean , "Russell King (Oracle)" , netdev@vger.kernel.org, Dan Carpenter , Simon Horman , Linus Walleij , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 groat.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 (groat.vger.email [0.0.0.0]); Tue, 03 Oct 2023 14:50:41 -0700 (PDT) wt., 3 pa=C5=BA 2023 o 23:32 Andrew Lunn napisa=C5=82(a): > > > 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? > > Do you actually need this feature? Does the PHY you are using already > support fine tuning of the delays? > After Vladimir answer I know that it should be a separate change. I need it for MAC <-> switch connection, the rgmii port connected to the cpu. At this moment, rgmii delays are hardcoded in vsc73xx_setup and it should be tunable for the p2020rdb board. I plan to work on it after the driver becomes usable.