diff options
| author | Tommaso Merciai <[email protected]> | 2022-05-21 01:58:46 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-05-22 21:46:30 +0100 |
| commit | 621427fbdada788f18f77238e1c36f463c2cb9d1 (patch) | |
| tree | d192af9257f0461727468c4e87260bd65bd96ca7 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | a3f7404c0befe336108094b3141169abd1fb1561 (diff) | |
net: phy: DP83822: enable rgmii mode if phy_interface_is_rgmii
RGMII mode can be enable from dp83822 straps, and also writing bit 9
of register 0x17 - RMII and Status Register (RCSR).
When phy_interface_is_rgmii rgmii mode must be enabled, same for
contrary, this prevents malconfigurations of hw straps
References:
- https://www.ti.com/lit/gpn/dp83822i p66
Signed-off-by: Tommaso Merciai <[email protected]>
Co-developed-by: Michael Trimarchi <[email protected]>
Suggested-by: Alberto Bianchi <[email protected]>
Tested-by: Tommaso Merciai <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions