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 8AF28C433DF for ; Wed, 15 Jul 2020 15:47:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6BD7D20663 for ; Wed, 15 Jul 2020 15:47:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726335AbgGOPrB (ORCPT ); Wed, 15 Jul 2020 11:47:01 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:37056 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725798AbgGOPrB (ORCPT ); Wed, 15 Jul 2020 11:47:01 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1jvjcX-005GKw-I0; Wed, 15 Jul 2020 17:46:57 +0200 Date: Wed, 15 Jul 2020 17:46:57 +0200 From: Andrew Lunn To: Igor Russkikh Cc: netdev@vger.kernel.org, "David S . Miller" , Mark Starovoytov , Jakub Kicinski Subject: Re: [EXT] Re: [PATCH net-next 01/10] net: atlantic: media detect Message-ID: <20200715154657.GT1078057@lunn.ch> References: <20200713114233.436-1-irusskikh@marvell.com> <20200713114233.436-2-irusskikh@marvell.com> <20200713142500.GB1078057@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > Hi Andrew, > > Unfortunately I can't verify this on standalone PHY, but some models similar > to what in AQC107 in theory should. > > Whats your opinion then? Add this feature with phy tunable with ability to > handle in netdev driver? Hi Igor Can you point to some section of the PHY datasheet? I could not find anything which fit the vague description you have of this feature in your patch. Maybe Heiner or I can implement and verify the PHY driver using this feature. Since this feature can be implemented directly in the PHY driver, and indirectly via the MAC in firmware, it would be good to have a uniform interface to do this. So please do add a PHY tunable via MAC driver. Does the MAC also have the ability to configure PHY downshift? You could implement that tunable as well. Andrew