From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161732AbcBQSzS (ORCPT ); Wed, 17 Feb 2016 13:55:18 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:55969 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161652AbcBQSzQ (ORCPT ); Wed, 17 Feb 2016 13:55:16 -0500 Date: Wed, 17 Feb 2016 13:55:15 -0500 (EST) Message-Id: <20160217.135515.2062303835595535344.davem@davemloft.net> To: nathan@nathanrossi.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, nicolas.ferre@atmel.com Subject: Re: [PATCH] net: macb: Add support for phy-handle binding From: David Miller In-Reply-To: References: <1455379368-18739-1-git-send-email-nathan@nathanrossi.com> <20160217.121414.529895298809970981.davem@davemloft.net> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 17 Feb 2016 10:55:16 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nathan Rossi Date: Thu, 18 Feb 2016 04:44:35 +1000 > On Thu, Feb 18, 2016 at 3:14 AM, David Miller wrote: >> All of these special cases we use (all the DT bindings are in text >> files in the kernel sources, we control all of the bootloaders, etc.) >> is the most shaky foundation I've ever seen upon which to erect a >> stable device probing mechanism. >> >> I'm not applying this patch until you add an error handling path from >> the of_phy_connect() call that will do the existing PHY probing sequence >> by hand using phy_find_first(). > > I am not quite sure how to handle that in a way such as to also allow > for the probe deferral in the event that the phydev/mdio bus which the > phy-handle points at is not yet probed itself. But I guess the real > question is whether or not to handle the deferral at all? I think we need some experts in this area to chime in on this issue.