[PATCH] net: ti: am65-cpsw-nuss: Use dedicated port mode control registers

Tom Rini trini at konsulko.com
Sat Jul 15 17:03:23 CEST 2023


On Wed, Jun 14, 2023 at 05:28:53PM -0500, Andreas Dannenberg wrote:

> The different CPSW sub-system Ethernet ports have different PHY mode
> control registers. In order to allow the modes to get configured
> independently only the register for the port in question must be
> accessed, otherwise we would just be re-configuring the mode for port 1,
> while leaving all others at their power-on defaults. Fix this issue by
> adding a port-number based offset to the mode control base register
> address based on the fact that the control registers for the different
> ports are spaced exactly 0x4 bytes apart.
> 
> Fixes: 9d0dca1199d1 ("net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver")
> Signed-off-by: Andreas Dannenberg <dannenberg at ti.com>
> Reviewed-by: Siddharth Vadapalli <s-vadapalli at ti.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230715/a7c40d06/attachment.sig>


More information about the U-Boot mailing list