diff options
author | 2024-11-06 08:59:41 +0100 | |
---|---|---|
committer | 2024-11-11 16:04:32 -0800 | |
commit | 34125ac851b8926a94727e2a20246551fe691551 (patch) | |
tree | 3225efca8e6a60b99b523c0ade1f35463ae98e0b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: dsa: microchip: add support for side MDIO interface in LAN937x (diff) | |
download | wireguard-linux-34125ac851b8926a94727e2a20246551fe691551.tar.xz wireguard-linux-34125ac851b8926a94727e2a20246551fe691551.zip |
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 <o.rempel@pengutronix.de>
Link: https://patch.msgid.link/20241106075942.1636998-7-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions