Re: [PATCH net-next 6/9] net: dsa: vsc73xx: speed up mdio bus to max allowed value

From: Paweł Dembicki
Date: Tue Jul 30 2024 - 14:56:47 EST


wt., 30 lip 2024 o 01:10 Andrew Lunn <andrew@xxxxxxx> napisał(a):
>
> On Mon, Jul 29, 2024 at 11:06:12PM +0200, Pawel Dembicki wrote:
> > According the datasheet, vsc73xx family max internal mdio bus speed is
> > 20MHz. It also allow to disable preamble.
> >
> > This commit sets mdio clock prescaler to minimal value and crop preamble
> > to speed up mdio operations.
>
> Just checking...
>
> This has no effect on the external MDIO bus, correct. It has its own
> set of registers for the divider and to crop the preamble.

Yes. It's configured in a completely different subblock. Internal and
external mdio buses have symmetrical register set. It can be
configured separately.

--
Best regards,
Pawel Dembicki