Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3649873iog; Tue, 21 Jun 2022 03:09:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u3A2mEDAda3t2iR1py8Y2KMd8XdbO/Nt45aMviOoSHvcH9BuYhQaoCdoMpzmXv1OEAhJVX X-Received: by 2002:aa7:cd66:0:b0:435:74d5:2d58 with SMTP id ca6-20020aa7cd66000000b0043574d52d58mr16840733edb.34.1655806158354; Tue, 21 Jun 2022 03:09:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655806158; cv=none; d=google.com; s=arc-20160816; b=kaBqjCKtO5aZ5NOPDR71QQoyty9QjAKN2Ch8gTkgcmLh2DhDSKcPRTVPe/uTHE6mmI O2aq8a/PMFX5/aEdSmZSa6DiduvFxr5P63Hl56yQ+z1EMFByHn0oi3r1zetj/ejGK+Pl kcLmMfyVSKApAunhgeuOYRribFQ/QWvKki0W2qYMT8Kluyg6i9DTtdqb1FG7Jnm/aJqV 9B6IUjbEs4kFCx5PsjlolLYkH4WBcdlKYWU/u/ajR/se0+Ar41nFKsP8ThrPDCXKWvb4 yVDzWzKAlacvj+faGe3tTnQvzP6oPqSNGt66LrTkYVd3cf+Y/nhlSjjfbSj2a2sJlIEq po/Q== 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=+UauFON3Z5k4erj1lJhxb4xMRY3aeE01J2NPDi4cPiE=; b=vZ8vRAX2fb5Oh1IThroILpn5BWyNoVTL9Kpp64iP7vELYhxuNmbKKpnfhkS6vYY6b6 +SL6eCoQLbU2J5TcQBZF4JnPzMidJOzae767oFvAp/xfcgZkmK2sfLIl2Ju98qny8OcT Cxr4j0xWVvHfPJlXoizTfhjljJy8nEx5NitOz1DoNoHjkAnPvMIOY3i/gPXrlP/Se1R6 RX/z/OAuQuXgx7MvND3WqpP4mxR8zNgxFMJXuAmog7ngl27l9nmuEAfDnngrURwkmFlk Wc0xkA9m+h4xglfGdNVFN6jAK+SpT9CbnYigSK8DUYqgtJmBOPjvc0sXVtH3ppK9DkD+ h12Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@semihalf.com header.s=google header.b=FmNU07MS; 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 gl20-20020a170906e0d400b006f3c442e22fsi14890859ejb.361.2022.06.21.03.08.52; Tue, 21 Jun 2022 03:09:18 -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=@semihalf.com header.s=google header.b=FmNU07MS; 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 S1348196AbiFUJ4U (ORCPT + 99 others); Tue, 21 Jun 2022 05:56:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229608AbiFUJ4S (ORCPT ); Tue, 21 Jun 2022 05:56:18 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C78A127CE4 for ; Tue, 21 Jun 2022 02:56:17 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id w20so21415117lfa.11 for ; Tue, 21 Jun 2022 02:56:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=+UauFON3Z5k4erj1lJhxb4xMRY3aeE01J2NPDi4cPiE=; b=FmNU07MSwd8ek+qnq+c1HaZujdUoSsVhCvencgloomp2smg94X2O7E9yd1MfePj7u1 s5eggE5sF6BUJKWK7G36SCnzKPgFjxv08NzUItZHIP9TmA0mMp183VisI9k/pD20WQCS nUnAKfO7vdTkq5EvAMGv1ez7HMsiXmAkXdwtsGGlDLS9YdHD98i3/hnYGzA+UbQqoRzZ 4t9A5NTPuV35XFoY2Jop+vrvQpXJmJjX+DT0UB01jSp3c7E/eTdqYVsdGpc9zmH34/u4 vKbktlJUCjGUQ3vmLvzNCgiat/Yrn2Qw5G/i0JVmXWMuiNICttCpxgPb53FSwW2HSOBl 7g1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=+UauFON3Z5k4erj1lJhxb4xMRY3aeE01J2NPDi4cPiE=; b=UkmY8HATE9J3ZGV/7QSoSPXDFFECJBtfrvxdyG1U/7GnAqVjpeodDBrrA6JYvFTbNg exCOwbbR7OswThSBCQlZ7rXkNQcTEWsNobYQduceOO0ICBDA2hkOOdttwh/YSiwIVX5N 97qbnxtXd+zvMN5W4qYE8m6DoIAPjJARGHo/JhbQd9NRvuLVsdZ00DkS7Kz4LmKFOcoc nREe/0qGETGliVL6Vj5EytKw0hopRkdrNi3zijhIBm0BC3CHp4zUZ08LeBX7mYFAeG4I rZZB+Rwo0NPmgiRq2e2NohYgtMN0/dWiWCL+73bcvOvh8c8pKUHDHP6ccV/oM99yibEL RIPw== X-Gm-Message-State: AJIora+LQYv2++p/6COo/16CSlmdsSS/3qzi8/K+Kh1kuJG4OeyQtmBt 2HRUFqO8NTH+QUayR2ko4aFS9nx0Rp/xZjPPF0v2wQ== X-Received: by 2002:a05:6512:118f:b0:47f:6a1a:20d4 with SMTP id g15-20020a056512118f00b0047f6a1a20d4mr7179853lfr.428.1655805376108; Tue, 21 Jun 2022 02:56:16 -0700 (PDT) MIME-Version: 1.0 References: <20220620150225.1307946-1-mw@semihalf.com> <20220620150225.1307946-2-mw@semihalf.com> In-Reply-To: From: Marcin Wojtas Date: Tue, 21 Jun 2022 11:56:06 +0200 Message-ID: Subject: Re: [net-next: PATCH 01/12] net: phy: fixed_phy: switch to fwnode_ API To: Andrew Lunn Cc: Linux Kernel Mailing List , ACPI Devel Maling List , netdev , "Rafael J. Wysocki" , Andy Shevchenko , Len Brown , vivien.didelot@gmail.com, Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , pabeni@redhat.com, Russell King - ARM Linux , Heiner Kallweit , Grzegorz Bernacki , Grzegorz Jaszczyk , Tomasz Nowicki , Samer El-Haj-Mahmoud , upstream@semihalf.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 pon., 20 cze 2022 o 19:59 Andrew Lunn napisa=C5=82(a): > > On Mon, Jun 20, 2022 at 05:02:14PM +0200, Marcin Wojtas wrote: > > This patch allows to use fixed_phy driver and its helper > > functions without Device Tree dependency, by swtiching from > > of_ to fwnode_ API. > > Do you actually need this? phylink does not use this code, it has its > own fixed link implementation. And that implementation is not limited > to 1G. > Yes, phylink has its own fixed-link handling, however the net/dsa/port.c relies on fixed_phy helpers these are not 1:1 equivalents. I assumed this migration (fixed_phy -> phylink) is not straightforward and IMO should be handled separately. Do you recall justification for not using phylink in this part of net/dsa/*? Thanks, Marcin