Article View: linux.kernel.netdev
Article #17976Re: [PATCH 1/8] dt-bindings: net: Add MDIO demultiplexer
From: Andrew Lunn
Date: Tue, 17 Nov 2026 16:20
Date: Tue, 17 Nov 2026 16:20
17 lines
9456 bytes
9456 bytes
> > Each transaction? > > > > Are you proposing to use both MDIO bus master? Why? To the outside > > world, it is one MDIO bus, so you only need one active MDIO bus > > Yep, both MDIO bus masters. I wanted to let each MAC uses its own > MDIO rather than disturbe another MAC for dual MACs case. How does this actually work? Each bus master sees each PHY. So one hardware device is represented twice in Linux. Bad things are then going to happen. As i said, the outside world has one bus. So you need one MDIO bus master. This is nothing new, the FEC has been doing this for a decade. Andrew
Technical Details
Message-ID:
<4d4dc86c-c947-40e2-bdaf-ed00a39f3771@lunn.ch>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!peer04.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365433-linux-kernel-netdev=dewy.ruReferences:
<20261116135442.4827-1-jszhang@kernel.org> <20261116135442.4827-2-jszhang@kernel.org> <16ecb3ac-7876-4db5-9168-5ac9bf31d4b7@lunn.ch> <avvgy_bmRSVApCHA@xhacker> <bd19b55b-00b1-406d-a16b-d04c35efb7d3@lunn.ch> <avxhJs-51vs2Icje@xhacker> <6eb16cd9-27bd-4934-9621-b8928dce6902@lunn.ch> <avx43Nv-DJCX5_Rr@xhacker>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!peer04.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365433-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH 1/8] dt-bindings: net: Add MDIO demultiplexer Date: Tue, 17 Nov 2026 17:20:39 +0100 Organization: Usenet Network Message-ID: <4d4dc86c-c947-40e2-bdaf-ed00a39f3771@lunn.ch> References: <20261116135442.4827-1-jszhang@kernel.org> <20261116135442.4827-2-jszhang@kernel.org> <16ecb3ac-7876-4db5-9168-5ac9bf31d4b7@lunn.ch> <avvgy_bmRSVApCHA@xhacker> <bd19b55b-00b1-406d-a16b-d04c35efb7d3@lunn.ch> <avxhJs-51vs2Icje@xhacker> <6eb16cd9-27bd-4934-9621-b8928dce6902@lunn.ch> <avx43Nv-DJCX5_Rr@xhacker> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="2374778"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:G+RzQMdQxeb2EMq8+kSfuIuxCq4= sha256:cWKWiKcKFIq4b8dsrb5yqZU+ozaLd7+nq1od5pAYL/Y= sha1:B/nF9xc8iUlpEdA9n4Iijxd78U8= sha256:qG+zfm0/t/mS3oB2pnJne/luuaUgvEhIM2mW0/+82uw= 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 062E7114FE7; Tue, 17 Nov 2026 19:21:38 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.05 X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, 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, URIBL_BLOCKED=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 n2SnK2cm675r; Tue, 17 Nov 2026 19:21:32 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-365433-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 6106D114FE3; Tue, 17 Nov 2026 19:21:21 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 471693F068; Tue, 17 Nov 2026 16:21:00 +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=1794932460; b=WCMtCtu9ck0SZkL3DG0FkO1ZFAnJJ76kwAs/elLEvfgaKsOrC+Dvhv1eiT57Zs9Z4NE6 +3SmkgnMHdgdLvvIvP4aNpyUwKOzv3zvrrt5kNsJyIx6kE3b4YQkgMOURXznQ7Wcc7OFl UwfGGHBooIQio0ycNwN4rXoGxhlBplbODcpRKPgemEZwdK8IZuYdYDiNPP28Qe69+flfs JbhCv0kr/3oq0P/ZP82384Eu/7nNCeFMGZZuvcTBO6AnI2mYYs+H46DG6TofIDRUAAjmk Y0Tz4Q3c5KCHjthrRi+Hx9ax6v1df+xQCeuGpr8Vtn5jeVT+DOrMAgcw8RG2/Spp2Lg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794932460; 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=R8YXxcd0YC0WTNF9Vrbn4gzJwhELMl+f2VxUC/rLuRo=; b=faLFdZu3MCq+6kiNRJ8mjh7KeWCgWNwuUHBte+9taifyZFncwATur5kX1PafuGO3DbNL g7blFyFsIu3CHD4CoFeQTdPdkKdFo3VAhKXKf+k/COuGF4G2USO/VmP9176crb8m4/hg7 EYPcbcUIXHym+Iw7ocWxhc88zM7ahE84Ylj9actWIaQ7mbvw8sRIxUDtOcBsatK2nGx17 AMj1vetxGVSx1PqxcfnLMJkEVzVJuNH1IhhxgfhFjfuCU2zBN8FmHmP6N8hVE1HxNQlz7 ZiKX5JS9burF06D16nx69zd9VxpYEEQmc24iJU5Sl2YXu56x/NRQ5y/tLjab0ibH/cA== 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=svEAUt2k; 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 1EAC4606A330; Tue, 17 Nov 2026 16:21:00 +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=svEAUt2k 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=1794932454; b=GoTW6lRO3CcZCopr+YJA5yjkSoVSfCQ+uWMTugkCad6WvWepazjWrlnjq4U2kkW0lHMV 7hdcLcnVa8aAtC+cqcrWZSw1Sbp/X0BzjZpNVZzTT2AbueQevGJrfvc5yfu3XTfDeN2V+ sVngwhjPDROQC1snMQ/oyTGObOH4TiyT0TL1tbXVJEjdAUsHaKiHImwdMqNkfCnI4BZH+ il29t9cL8n0HvGgNh2XalZ6QmZLwQSM2fh9P9524lxLzyPOyqJa2D6CLuTBHSPjvHKc8m UccwpwM4NFivJRWhhOu03jT/H5VJBDtG997018OPzY00TZxKeBzFzjKDJmyW2siupAQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794932454; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=R8YXxcd0YC0WTNF9Vrbn4gzJwhELMl+f2VxUC/rLuRo=; b=ayF7V82n+G4aou9dsyIeUcBuEB2OfKRsfUXvz1vIKwsF8kZOExZvBl81qKf3X3luKpNY UW5YkHDsHeqzi/TwevLUPkQz7EkbOqacM9ikXm0wm6fq4DI/ZyNTJ68gkFF8BKibX/H82 8L6Hhz04p6Sk41rXwFUI8Ba6NvPEBaN6szUC1WtPQQI+YNBt0dcakmF3OYx0/F1szYi+0 oiCiMrpr5C4qql77CUfwFyS+eCXJefd4kGpvAVsR8lnmjX1FxahEW33f1nypMyzh/wlKt CCL3POZCzf9t47ao9NAxEU1HexwSMKFaVYV5NzGbedx/d4k2u0r8s+Auuk0JjlES3mw== 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=svEAUt2k; 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 D3733606A332; Tue, 17 Nov 2026 16:20:53 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D3733606A332 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=R8YXxcd0YC0WTNF9Vrbn4gzJwhELMl+f2VxUC/rLuRo=; b=svEAUt2ki8b5CN9Mzp7R21FRHX h+1+/6oQtlSNo6UvB0Cxo3jG8j16W9AzngFomfI4mPSzIrbY7VNE5et6/nCjNZmYk/RmIxzJVXDjq F4+Ih38p11f0AHNk427t7VA8S7/moH07nw2rS5D2hIPNYz2KXlLPB/o/CB52S6w8Xoa8=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xTLvD-00HCIO-9E; Tue, 17 Nov 2026 17:20:39 +0100 X-Cc: Heiner Kallweit <hkallweit1@gmail.com>, Russell King <linux@armlinux.org.uk>, "David S . Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, 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>, Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>, Maxime Chevallier <maxime.chevallier@bootlin.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.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: <avx43Nv-DJCX5_Rr@xhacker> X-Received-Bytes: 9171