[PATCH net-next 0/3] Add support for TI DP83826 configuration

From: Jérémie Dautheribes
Date: Thu Feb 22 2024 - 05:31:36 EST


Hi everyone,

This short patch series introduces the possibility of overriding
some parameters which are latched by default by hardware straps on the
TI DP83826 PHY.

The settings that can be overridden include:
- Configuring the PHY in either MII mode or RMII mode.
- When in RMII mode, configuring the PHY in RMII slave mode or RMII
master mode.

The RMII master/slave mode is TI-specific and determines whether the PHY
operates from a 25MHz reference clock (master mode) or from a 50MHz
reference clock (slave mode).

While these features should be supported by all the TI DP8382x family,
I have only been able to test them on TI DP83826 hardware.
Therefore, support has been added specifically for this PHY in this patch
series.

Jérémie Dautheribes (3):
dt-bindings: net: dp83822: support configuring RMII master/slave mode
net: phy: dp83826: Add support for phy-mode configuration
net: phy: dp83826: support configuring RMII master/slave operation
mode

.../devicetree/bindings/net/ti,dp83822.yaml | 16 +++++++
drivers/net/phy/dp83822.c | 44 +++++++++++++++++++
2 files changed, 60 insertions(+)

--
2.34.1