Re: [PATCH v6 3/3] net: phy: micrel: expose KSZ87xx low-loss cable tunables

From: Marek Vasut

Date: Wed May 20 2026 - 11:28:06 EST


On 5/20/26 10:48 AM, Fidelio Lawson wrote:
Add support for the KSZ87xx low-loss cable PHY tunables in the Micrel
PHY driver by implementing get_tunable and set_tunable callbacks.

These callbacks expose vendor-specific PHY tunables used to control the
KSZ87xx embedded PHY receiver behavior when operating with short or
low-loss Ethernet cables. The tunables provide:

- a boolean short-cable preset applying known good settings;
- an integer LPF bandwidth control;
- an integer DSP EQ initial value control.

The Micrel PHY driver forwards these tunables via standard phy_read() /
phy_write() operations, which are virtualized by the KSZ8 DSA driver and
translated into the appropriate indirect switch register accesses.

Signed-off-by: Fidelio Lawson <fidelio.lawson@xxxxxxxxxx>
Reviewed-by: Marek Vasut <marex@xxxxxxxxxxxx>