Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE6F3C433E3 for ; Mon, 13 Jul 2020 14:25:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D32BC2065F for ; Mon, 13 Jul 2020 14:25:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729838AbgGMOZE (ORCPT ); Mon, 13 Jul 2020 10:25:04 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:60864 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729776AbgGMOZD (ORCPT ); Mon, 13 Jul 2020 10:25:03 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1juzO8-004sIR-MW; Mon, 13 Jul 2020 16:25:00 +0200 Date: Mon, 13 Jul 2020 16:25:00 +0200 From: Andrew Lunn To: Igor Russkikh Cc: netdev@vger.kernel.org, "David S . Miller" , Mark Starovoytov , Jakub Kicinski Subject: Re: [PATCH net-next 01/10] net: atlantic: media detect Message-ID: <20200713142500.GB1078057@lunn.ch> References: <20200713114233.436-1-irusskikh@marvell.com> <20200713114233.436-2-irusskikh@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200713114233.436-2-irusskikh@marvell.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, Jul 13, 2020 at 02:42:24PM +0300, Igor Russkikh wrote: > This patch adds support for low-power autoneg in PHY (media detect). > This is a custom feature of AQC107 builtin PHY, but configuration is only > done through MAC management firmware. Hi Igor Do the standalone PHYs also support this? It would be nice to have the same user space API for both. There is no reason why phy tuneables cannot be implemented by the MAC driver. It just needs another ethtool op and some plumbing in net/ethtool. That would give a more uniform solution. Andrew