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 68851C433E0 for ; Thu, 11 Feb 2021 14:07:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 16E5A64D9C for ; Thu, 11 Feb 2021 14:07:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232056AbhBKOHA (ORCPT ); Thu, 11 Feb 2021 09:07:00 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:34902 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231580AbhBKOEl (ORCPT ); Thu, 11 Feb 2021 09:04:41 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1lACZU-005aVH-BD; Thu, 11 Feb 2021 15:03:52 +0100 Date: Thu, 11 Feb 2021 15:03:52 +0100 From: Andrew Lunn To: Jon Hunter Cc: Saravana Kannan , Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , Android Kernel Team , netdev , LKML , Thierry Reding Subject: Re: phy_attach_direct()'s use of device_bind_driver() Message-ID: References: <5176f496-facb-d7b0-9f4e-a9e4b8974178@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5176f496-facb-d7b0-9f4e-a9e4b8974178@nvidia.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, Feb 11, 2021 at 10:21:03AM +0000, Jon Hunter wrote: > > On 10/02/2021 22:56, Andrew Lunn wrote: > > On Wed, Feb 10, 2021 at 02:13:48PM -0800, Saravana Kannan wrote: > >> Hi, > >> > >> This email was triggered by this other email[1]. > > > > And it appears the Tegra194 Jetson Xavier uses the Marvell 88E1512 > > PHY. So ensure the Marvell driver is available, and it should get > > probed in the usual way, the fallback driver will not be needed. > > > Yes that is correct. Enabling the Marvell PHY does fix this indeed and > so I can enable that as part of our testsuite. We were seeing the same > warning on Tegra186 Jetson TX2 and enabling the BRCM PHY resolves that > as well. I will ensure that these are enabled going forward. Hi Jon As an added bonus, you might of gained an additional HWMON temperature sensor for the PHY, some PHY statistics, and maybe cable diagnostics. Just by using the correct driver for the hardware. Andrew