test: dm: add a test for MDIO MUX DM uclass
authorAlex Marginean <alexandru.marginean@nxp.com>
Fri, 12 Jul 2019 07:13:53 +0000 (10:13 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 18 Jul 2019 21:37:13 +0000 (16:37 -0500)
commitc3d9f3f899038e21a66e1e4a685abc0a5a1d5d9c
tree241f0f7fda642a91bbf1676b0a6a5085e3159715
parentb47edf8069cc9fbac8bcb96a1e519c2fbcda7911
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>
arch/Kconfig
arch/sandbox/dts/test.dts
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/mdio_mux_sandbox.c [new file with mode: 0644]
test/dm/Makefile
test/dm/mdio_mux.c [new file with mode: 0644]