Article View: linux.kernel.netdev
Article #15977Re: [PATCH net-next v3 0/2] net: dsa: mxl-gsw1xx: reset the switch through reset-gpios
From: Andrew Lunn
Date: Fri, 13 Nov 2026 21:05
Date: Fri, 13 Nov 2026 21:05
21 lines
9275 bytes
9275 bytes
> I *guess* that in this case the vendor wants to avoid using PHY > address 0 which is widely misunderstood as being the "broadcast > address" (which it is, but only in scope of AUI attachments and SFP > modules). There are no standard for copper SFP modules, so i find it hard to accept that SFP modules expect 0 to work as a broadcast address. > > Does the driver have an implicit assumption about the addresses of the > > PHYs? Should the driver actually be writing this register to put the > > PHYs at the expected address? > > The driver does what is described in the device tree. Ie. boot firmware > applying a non-default PHY addresses should just say so in the DT passed > to Linux imho. And this is what i was wondering about. Is it the DT which is wrong, or the driver? Andrew
Technical Details
Message-ID:
<9804b024-236a-4791-aa55-d83a71b2598c@lunn.ch>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362922-linux-kernel-netdev=dewy.ruReferences:
<20261112-mxl-gsw1xx-reset-v3-0-863e82074893@telaak.dev> <a2f45802-b75b-4a19-9508-2d1b5ebe473a@lunn.ch> <avcoghKd4CU13QI_@makrotopia.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362922-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v3 0/2] net: dsa: mxl-gsw1xx: reset the switch through reset-gpios Date: Fri, 13 Nov 2026 22:05:55 +0100 Organization: Usenet Network Message-ID: <9804b024-236a-4791-aa55-d83a71b2598c@lunn.ch> References: <20261112-mxl-gsw1xx-reset-v3-0-863e82074893@telaak.dev> <a2f45802-b75b-4a19-9508-2d1b5ebe473a@lunn.ch> <avcoghKd4CU13QI_@makrotopia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="1438351"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:kyHztXFoEokKYHiLddp2DqiMXm4= sha256:+Y5dVDe/GRBPMsfCbHwJEoo3th3TAkwXTkH6U32xW6o= sha1:DPjtMs/lSsDcAuofnVX3ME0RLt8= sha256:MMc7hxp1U43szC0bHTuBnUfwruA4PO9C8XwLUKzlTF4= 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 A1FD911467C; Sat, 14 Nov 2026 00:06:45 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.15 X-Spam-Status: No, score=-3.15 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, 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 TN0oHVYKucNu; Sat, 14 Nov 2026 00:06:40 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-362922-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 97B931144FD; Sat, 14 Nov 2026 00:06:30 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id 80365605839; Fri, 13 Nov 2026 21:06:15 +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=1794603973; b=AsF86ugSa5MiUL7OSp51pQassfpBp1jYTBgp/fxkIpAtRK1LOlOmJ983hwJUfhC5yk8X k/GR7O4f5VATyrHBa3Rrp7k9FVkK3cK4stbsSWrj+KKcQeYqnglx4wV/dRudRvF+tPPRw gGMOrlkTTxRiiloMI6wUMBtyBQtx3ousxoQD2oPON+CKydW52MSiishfzKEc8FuTznXyx ezMtI8BZ6gL4rCekP3M3Dj8/5bKrbFoDy0tvU409J5tVJp3L0BGUPBi/WvyLbP69mIupq wjbebhpD/Mk/ERr8tg1pNVAhtb7UikC4kHY0gnBhI6oeCahFkI19ItRGCruO2N6Zm/A== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794603973; 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=1kXcbvm0z7UiM619s9T7DtZLjsDWfr0JMHsOiwfZJ/E=; b=tP9EcD58P9CVKk+6RfSNZEPz1ekyIMjRot6v/wMQQT3IQAgpx37C0yzCpmp7JTFkhq14 v6lB9PamBbihNi5BLSQs3unlUvaVwpT5FcULRflZavYy3IdphNaEWTV5TEy3O9qLXXvqM oM7A5L+QXJYXh9k0FsJExm6Kh+pFcJkPQO9xbk0NH4rhVNyDQBYxA2+MPAu3V1epwdhyF NphvAoTMhG2Nwcg152ckyCBjgxdVruN7+fPqhwBOI8GhF0mkIZ8AOKiLqZqtf43v/2qck SPO2x5RRynRNvmOLI+2CWO9dfig4KHUZGOAqTz0gJZMSj/8LZ0rMgaF+icE28o/MD/A== 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=aBchvwHb; 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 10B2B606A323; Fri, 13 Nov 2026 21:06:13 +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=aBchvwHb 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=1794603972; b=c3jA+k1A40GJywocc6blxTyaKComSDpSKcl79RCIToqrhZVBa+bTlfPeZtV2YJSWg0Yr Gv9AZnVrg679wAkcIks1jhNE4qzH9VjqZrc03jzf86WW5bIbdaaQRkUoCvFzx2RuVq4HQ wIv+cipMHoXNNVxEr5Ojt9qpon8EDxW1FDq4K+hT4mNexV79eCZZeFsDUXJluNii+xIPZ 9ozkmrSHY6nFyGob3E1vfxuLiEJWQsx/NRbQ5H1wetrTBBNW7l9MEaJ1rDAejEOcEJTRO McCKMvsC7EsG1LnzQVsnr+B7EDYGbXRT3aQLBlaRZ5pqvaVJF4zyBo8CmrJbiGR376w== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794603972; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=1kXcbvm0z7UiM619s9T7DtZLjsDWfr0JMHsOiwfZJ/E=; b=Hq5angGdPrWMTJ7mzalvakLARyVsDCUrXjD2kUdT2Cnc++YXO8duJFOXMj3nW87uiMlP ZYim6XqB9monxox5Mr4SSOJ7ibPXHUTtoFM6UAxzCJruWeU6nb57Nn9xwi0nPVYEqgp33 B9vDhLJUuKpY42TIPrm5y9qDl1KnxZT62Buj0qtCj9THkGze9PzclWBE46R3H55JWV3fW 5w/hF5eYctXcMKSkO410WKRAngBUC73tx/8RBTqLgr2QAP79gQuqMKdXaBw6OVXs0ZSbF 7XZz2Tb4Jl6JvLsjp3DF5FIAK4EafJNpmUpcN8Tss1QCQpYITDzfQhDC2EuIiVHWQ0w== 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=aBchvwHb; 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 E2282606A335; Fri, 13 Nov 2026 21:06:11 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E2282606A335 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=1kXcbvm0z7UiM619s9T7DtZLjsDWfr0JMHsOiwfZJ/E=; b=aBchvwHbNaXOhdjSZx9GbShvul tdiw9DRvJ9mDxFyDrAQyXmZFn4n9wHvp5tHczlVFRnXm74D9cWdxR4ZFImsjfwDbJc6M0aJaDKVhU oxXAoma6NJl0G6YSgeWIGR/qRMDHYnei31DG00HWl5PO/BC98blWaEo8MU5D7kpo9ipY=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xRyT5-00GMcm-Gu; Fri, 13 Nov 2026 22:05:55 +0100 X-Cc: joseph@telaak.dev, Hauke Mehrtens <hauke@hauke-m.de>, Vladimir Oltean <olteanv@gmail.com>, "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>, Philipp Zabel <p.zabel@pengutronix.de>, 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: <avcoghKd4CU13QI_@makrotopia.org>