diff options
author | Daniel Machon <daniel.machon@microchip.com> | 2024-12-20 14:48:42 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-23 10:57:54 -0800 |
commit | 05bda8a1bdedd5dfc21522d732c3bf9413d70eb3 (patch) | |
tree | ad48ff701c680c4fb4a38b24759f63b7c8ba532c /scripts/lib/kdoc/kdoc_parser.py | |
parent | dd2baee1084034b8666290cbcc02cb32fe5a8666 (diff) |
net: sparx5: use is_port_rgmii() throughout
Now that we can check if a given port is an RGMII port, use it in the
following cases:
- To set RGMII PHY modes for RGMII port devices.
- To avoid checking for a SerDes node in the devicetree, when the port
is an RGMII port.
- To bail out of sparx5_port_init() when the common configuration is
done.
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Tested-by: Robert Marko <robert.marko@sartura.hr>
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://patch.msgid.link/20241220-sparx5-lan969x-switch-driver-4-v5-3-fa8ba5dff732@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions