diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2023-05-08 10:03:59 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-05-09 12:57:53 +0300 |
commit | 94e86ef1b801d213dfb8543633dec86abb1a457d (patch) | |
tree | f8226f4b0a0e3564ea43b7d9e49db37cefc750ff /drivers/net/ethernet | |
parent | ed23734c23d2fc1e6a1ff80f8c2b82faeed0ed0c (diff) | |
download | linux-94e86ef1b801d213dfb8543633dec86abb1a457d.tar.xz |
net: phy: dp83869: support mii mode when rgmii strap cfg is used
The DP83869 PHY on TI's k3-am642-evm supports both MII and RGMII
interfaces and is configured by default to use RGMII interface (strap).
However, the board design allows switching dynamically to MII interface
for testing purposes by applying different set of pinmuxes.
To support switching to MII interface, update the DP83869 PHY driver to
configure OP_MODE_DECODE.RGMII_MII_SEL(bit 5) properly when MII PHY
interface mode is requested.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20230508070359.357474-1-s-vadapalli@ti.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions