diff options
| author | Oleksij Rempel <[email protected]> | 2024-11-06 08:59:41 +0100 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-11-11 16:04:32 -0800 |
| commit | 34125ac851b8926a94727e2a20246551fe691551 (patch) | |
| tree | 3225efca8e6a60b99b523c0ade1f35463ae98e0b /tools/perf/scripts/python/task-analyzer.py | |
| parent | f47e6e1e79a107cd389519da224f10e58bddcee2 (diff) | |
net: dsa: microchip: parse PHY config from device tree
Introduce ksz_parse_dt_phy_config() to validate and parse PHY
configuration from the device tree for KSZ switches. This function
ensures proper setup of internal PHYs by checking `phy-handle`
properties, verifying expected PHY IDs, and handling parent node
mismatches. Sets the PHY mask on the MII bus if validation is
successful. Returns -EINVAL on configuration errors.
Signed-off-by: Oleksij Rempel <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions