January 17, 2026

Kyu - U-boot and MDIO

My aim here is to find the structure that supports PHY and MDIO at higher levels than the drivers/net directory.

To that end I did a recursive grep of the entire U-Boot source tree looking for interesting "hits" on "mdio".
All of the following bear looking at, but miiphyutil.c looks the most interesting.

common/miiphyutil.c
cmd/mdio.c
include/miiphy.h
include/linux/mdio.h
net/mdio-uclass.c
net/mdio-mux-uclass.c
test/py/tests/test_mdio.py
test/dm/mdio.c


Have any comments? Questions? Drop me a line!

Tom's electronics pages / tom@mmto.org