[U-Boot] [PATCH v4 4/4] test: dm: add a test for MDIO MUX DM uclass
Bin Meng
bmeng.cn at gmail.com
Fri Jul 12 02:13:07 UTC 2019
On Thu, Jul 11, 2019 at 3:07 PM Alex Marginean
<alexandru.marginean at nxp.com> wrote:
>
> 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 at gmail.com>
> ---
>
> Changes in v2:
> - no change
> Changes in v3:
> - no change, just fighting with the email server
> Changes in v4:
> - a more explicit comment on why relative ordering between mdio-test and
> mdio-mux-test nodes in test.dts matters.
>
> arch/Kconfig | 1 +
> arch/sandbox/dts/test.dts | 23 +++++++-
> drivers/net/Kconfig | 10 ++++
> drivers/net/Makefile | 1 +
> drivers/net/mdio_mux_sandbox.c | 97 ++++++++++++++++++++++++++++++++++
> test/dm/Makefile | 1 +
> test/dm/mdio_mux.c | 80 ++++++++++++++++++++++++++++
> 7 files changed, 212 insertions(+), 1 deletion(-)
> create mode 100644 drivers/net/mdio_mux_sandbox.c
> create mode 100644 test/dm/mdio_mux.c
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list