Article View: linux.kernel.netdev
Article #25484Re: [PATCH iwl-next 3/4] e1000: attach a CE4100 PHY through phylink
From: Andrew Lunn
Date: Tue, 01 Dec 2026 22:16
Date: Tue, 01 Dec 2026 22:16
24 lines
9677 bytes
9677 bytes
On Tue, Dec 01, 2026 at 04:32:14AM -0500, Joseph Telaak wrote: > Hi Maxime, > > On 12/1/26, Maxime Chevallier wrote: > > Nothing mandates that the PHY you've attached to the MAC is driven by the > > MAC's mdio bus. If you have an "mdio" node, register the bus and that's it > > no ? > > Right, the PHY can be on any bus. The one limit I would keep is > registering it only with a fixed-link or phy-handle. Without either, > e1000 still drives the MDIO registers itself, and the bus would have a > second user. Does that sound right to you? Normally you just register the mdio bus. It does not matter if there is a fixed-phy, or a phy-handle. The hardware exists, so lets drive it. It could be some other MAC has a phy-handle pointing to a device on this bus. Or there is as switch on this MDIO bus, but the conduit interface is some other MAC. In general, register the building blocks, and then leave DT to assemble those blocks in the shape of the hardware. Andrew
Technical Details
Message-ID:
<0fce2af1-966b-4130-8325-646afb332961@lunn.ch>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375376-linux-kernel-netdev=dewy.ruReferences:
<20261201-e1000-phylink-v1-0-21e6f1c816a0@telaak.dev> <20261201-e1000-phylink-v1-3-21e6f1c816a0@telaak.dev> <80f76cd1-5fac-4809-8ab9-c6ccbce647fd@bootlin.com> <CAPY4CJ4hsvoPCcRKewzNmLdZr0jY15_tPe-Qcq=Pdc2Xu+H+VQ@mail.gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375376-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH iwl-next 3/4] e1000: attach a CE4100 PHY through phylink Date: Tue, 1 Dec 2026 23:16:21 +0100 Organization: Usenet Network Message-ID: <0fce2af1-966b-4130-8325-646afb332961@lunn.ch> References: <20261201-e1000-phylink-v1-0-21e6f1c816a0@telaak.dev> <20261201-e1000-phylink-v1-3-21e6f1c816a0@telaak.dev> <80f76cd1-5fac-4809-8ab9-c6ccbce647fd@bootlin.com> <CAPY4CJ4hsvoPCcRKewzNmLdZr0jY15_tPe-Qcq=Pdc2Xu+H+VQ@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="1830353"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:zksMZJfECekl0++0u47Oof4QS/8= sha256:khvmIVai2FIjTsqIsLgdxm+IePQZt4hSg53O+G5cqpY= sha1:OImA58QLWMmPsHj5LQ3UP2w8U+Y= sha256:0+kbfQbuW3L/zRC7LeuQAVF/BebkFPJSIggL87tS/9E= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 4080C1174B8; Wed, 2 Dec 2026 01:17:16 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.151 X-Spam-Status: No, score=-3.151 tagged_above=-9999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=lunn.ch X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w1RGvJAPwhir; Wed, 2 Dec 2026 01:17:13 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-375376-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id B7A3E11749B; Wed, 2 Dec 2026 01:17:01 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 2411E28C63; Tue, 1 Dec 2026 22:16:58 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796163417; b=X8iQbHtuBWTLEeHI05Kt/OVSrfc4+N/GKvx7LcqC5JfSVDF3Je0Nq1wsgkB+bBq5FOqm zkLEc2+n3wTAEyXhKKPX9AomGYn6cShtfKr2caVAyAp43WOJ5YeVSCBJqdQs6RrTjrpUQ /G1AU88AHffH+QyClOY/pkgKuDvvK/kgk+VxBj9HIMOBZQcMBhXVfZuu2UNJ1pV3mrqA7 Uwoiol9LGWlDb6955rbrK5zaDq/YfCB/UOwe2cyHixUHS50dSPTUFFORPtiuJli08BFZu wQ0slhAlOTjSEILGGLgVSkPq7LPya1+x4HBUtD3xg8A5xMZt7iWKePVsfmatxyIr1ng== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796163417; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date: From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=4zWqPwAxu3ZpLcSs1xEir5qo8JhPx5zMLF92VKJbZO4=; b=xX5h01lC3km7cfZCQSbqwkgY/2YxBc7seDyh7rHcrkqHqYETMmUkL48rr/uCV/LuPtHi XpwnzMxjo3rw7cIHYy/heRvDxj9sqnl0AFh0Zvm74lc+CdGkl0k+TL8GFwjpKpRq95MUy XO1aCKf5LchIPC7WBGsOgznz6tWuBpt3J+2MQA+/7pqoYJpBDiH7aTBGDf4zSc5/5QXPv jx9fhcxbYNxUjjrvsXNKr7cHwYA4cJnJJ5DA2km6ErF/K5Zy0YhRX6dgwAfhwAx4Bo8b9 3m7Vn4Aky2CVu0GnKwFZwfbmNJI5W29OExqGIILkYuVuF1tJor7y9PetJ0Vz2jaFRpw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=1coOxAvM; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A439606A32D; Tue, 1 Dec 2026 22:16:57 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=1coOxAvM X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796163411; b=xhuYXabPx92F9KZUueGKSNXk1jgLcB3TcWR+JHb8Pg8PImtj6VRJ9qz2eFLeed3H4csa YTQAxwAIrZit3kXyOcMfTIeHEqWuIlwY6u/oOSC+jbO+yw3Zd/QeSKjTBw1Nrw6h8XG8M XRqM/xUza7R5HzVRiCMyYK7WIDL6OG9aklJPgL+gllNl//KpFqx/beHzZ+HBe8NozPW6w oWwKcRjEJ+j9J0Bb0eLM8qO0I5N/EMFs3UqD4i51CTLhJS3JzU2RSLGIyQmjXHNIm8F09 12tAdiGYRwcsROdFl/Dv+D0+RVQIfBMdokk80/UQbbC0LV4bKlXFx7s656Jxr3hpJDA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796163411; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=4zWqPwAxu3ZpLcSs1xEir5qo8JhPx5zMLF92VKJbZO4=; b=3nmva4H7MD7ZOKJRn5Vnxa9Xd4TEMNRNaht4BRy1vrQWlfgoGHxxAV84ElysvPHC+KaV ewAOaHSdBho0JpRpg8v57KgHcrLqfNLsA0TGLrF2MMHU0/nbdG2qUZBNJ1ciJlRK8GtBA LxkUZbDT4o1UeTrGvLSukLmBv/6KrFM2NjKK7ulVlVbWO5x5WSGNcRQt/h3XUsEdLIhG7 0MMPu4jFycQ6RFwaQ5VzRiiJREfJzJkShxdxOBDDwk77pnas9yhX0INCCHr/H8CwUDX18 qfxW3WgDUlfBYtmhX12r+nJCQVZJBZmUOAeeRM54vogZtfwIRiOSbQf0qMQFmBGfPcQ== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=1coOxAvM; arc=none smtp.remote-ip=156.67.10.101 X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C440606A31A; Tue, 1 Dec 2026 22:16:51 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2C440606A31A X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-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=4zWqPwAxu3ZpLcSs1xEir5qo8JhPx5zMLF92VKJbZO4=; b=1coOxAvM7Z55nU/DgHjYyKBbJZ 47xwcJb6L1jMFZBw2zWMJSal9Et2KuI5l+jsHIgNF4L1ZCJ4Qem6YCe0o8ZITPBT4dsKxZs7SK2od d7de39QsFi9xKbsoIdzIKq2utpUT5yR2HUAw5ak6y47czw4w5NG9Yr5jg3idwERz4huU=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xYW97-002hOX-CL; Tue, 01 Dec 2026 23:16:21 +0100 X-Cc: Maxime Chevallier <maxime.chevallier@bootlin.com>, Tony Nguyen <anthony.l.nguyen@intel.com>, Przemek Kitszel <przemyslaw.kitszel@intel.com>, Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Russell King <linux@armlinux.org.uk>, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <CAPY4CJ4hsvoPCcRKewzNmLdZr0jY15_tPe-Qcq=Pdc2Xu+H+VQ@mail.gmail.com>