From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 319063FBB3; Wed, 28 May 2025 19:27:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748460425; cv=none; b=cQqyxxL5H6c1yHPmCiTknNpYLh3u1xQHeMUXq9n3FfraSqqQIoobveC67ySaSQNhE02pNpoq4KAyvR8aRpfNPs8aGEH6jHQ43R3kXgMZV1ER7jByvTLGWlUOCECmfPA3ANGgyIpevEf2vfIqPbZIfFJp03X5flT8uVulwMlZsZc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748460425; c=relaxed/simple; bh=wjBgevzLWDH4Az7GHSi9rokWMMXObh6pkdPLmStENtU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=r6kj6BVkeGuWWmA+5IR0ZYhDMp4i8d/wZUA+8MWS1IRcqzTO/YTktMoB/tXb5mPNwJNly0YSihobOPUjN/oBIpN6L+uzi6VQxT33s2WjnIyqe+tvu/5CD/k3xakxO+AgV/47tg0+68ns2lN1jCEXTD0XBEFGLb+YqKJK34/cgko= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=itXftLqj; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="itXftLqj" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=CoouUmz+XC3EQlrGmRNSU994C1trZiX7VGKkB+/ruC0=; b=itXftLqjzzGvQRqc8R+esdPMgF cTXsVm4EHLsn4IzKEgvTjlaUcQHfQrn+M9yivjSvqAhrZ2R01Uk26xcdM9074aSbwIErU4IAu7sDY YjSvg215Cxg2KAeWJpWXFsTwXcMs4vNaGAfgILrh1/nfzNJsVf/MLkKlclRzD6ikHSSI=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1uKMQN-00ECio-7r; Wed, 28 May 2025 21:26:51 +0200 Date: Wed, 28 May 2025 21:26:51 +0200 From: Andrew Lunn To: James Hilliard Cc: "Russell King (Oracle)" , wens@csie.org, netdev@vger.kernel.org, linux-sunxi@lists.linux.dev, Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Alexandre Torgue , Furong Xu <0x1207@gmail.com>, Kunihiko Hayashi , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/3] net: stmmac: allow drivers to explicitly select PHY device Message-ID: <8306dac8-3a0e-4e79-938a-10e9ee38e325@lunn.ch> References: <014d8d63-bfb1-4911-9ea6-6f4cdabc46e5@lunn.ch> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: > I think a lot of ethernet drivers use phy_find_first() for phy scanning > as well so it's not limited to just stmmac AFAIU. You need to differentiate by time. It has become a lot less used in the last decade. DT describes the PHY, so there is no need to hunt around for it. The only real use case now a days is USB dongles, which don't have DT, and maybe PCIe devices without ACPI support. I suggest you give up pushing this. You have two Maintainers saying no to this, so it is very unlikely you are going to succeed. Andrew