From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.8 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 36726C433E0 for ; Mon, 11 Jan 2021 14:48:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0E7FC225AB for ; Mon, 11 Jan 2021 14:48:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388858AbhAKOsY (ORCPT ); Mon, 11 Jan 2021 09:48:24 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:33404 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728671AbhAKOsY (ORCPT ); Mon, 11 Jan 2021 09:48:24 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kyyTt-00HXxb-Mc; Mon, 11 Jan 2021 15:47:41 +0100 Date: Mon, 11 Jan 2021 15:47:41 +0100 From: Andrew Lunn To: Marek Vasut Cc: netdev@vger.kernel.org, Heiner Kallweit , Lukas Wunner Subject: Re: [PATCH net-next] net: ks8851: Connect and start/stop the internal PHY Message-ID: References: <20210111125337.36513-1-marex@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210111125337.36513-1-marex@denx.de> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, Jan 11, 2021 at 01:53:37PM +0100, Marek Vasut wrote: > Unless the internal PHY is connected and started, the phylib will not > poll the PHY for state and produce state updates. Connect the PHY and > start/stop it. Hi Marek Please continue the conversion and remove all mii_calls. ks8851_set_link_ksettings() calling mii_ethtool_set_link_ksettings() is not good, phylib will not know about changes which we made to the PHY etc. Andrew