test: dm: add a test for MDIO MUX DM uclass
Adds a test using a makeshift MDIO MUX. The test is based on the existing MDIO test. It uses the last emulated PHY register to verify MUX selection. Signed-off-by:Alex Marginean <alexm.osslist@gmail.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
Showing
- arch/Kconfig 1 addition, 0 deletionsarch/Kconfig
- arch/sandbox/dts/test.dts 22 additions, 1 deletionarch/sandbox/dts/test.dts
- drivers/net/Kconfig 10 additions, 0 deletionsdrivers/net/Kconfig
- drivers/net/Makefile 1 addition, 0 deletionsdrivers/net/Makefile
- drivers/net/mdio_mux_sandbox.c 97 additions, 0 deletionsdrivers/net/mdio_mux_sandbox.c
- test/dm/Makefile 1 addition, 0 deletionstest/dm/Makefile
- test/dm/mdio_mux.c 80 additions, 0 deletionstest/dm/mdio_mux.c
Loading
Please register or sign in to comment