[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <25d0c091-3dce-4d62-a112-c82106809c65@lunn.ch>
Date: Thu, 30 Nov 2023 18:26:13 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Tomer Maimon <tmaimon77@...il.com>
Cc: alexandre.torgue@...s.st.com, tali.perry1@...il.com,
edumazet@...gle.com, krzysztof.kozlowski+dt@...aro.org,
linux-stm32@...md-mailman.stormreply.com, benjaminfair@...gle.com,
openbmc@...ts.ozlabs.org, joabreu@...opsys.com, joel@....id.au,
devicetree@...r.kernel.org, j.neuschaefer@....net,
robh+dt@...nel.org, peppe.cavallaro@...com,
linux-arm-kernel@...ts.infradead.org, avifishman70@...il.com,
venture@...gle.com, linux-kernel@...r.kernel.org,
mcoquelin.stm32@...il.com, netdev@...r.kernel.org,
davem@...emloft.net
Subject: Re: [PATCH v1 2/2] net: stmmac: Add NPCM support
> I will check with the xpcs maintainer how can we add indirect access
> to the xpcs module.
https://elixir.bootlin.com/linux/latest/source/drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c#L449
It creates a regmap for the memory range. On top of that it creates an
MDIO bus. You can then access the PCS in the normal way.
Andrew
Powered by blists - more mailing lists