test: dm: Add a case to test ofnode_phy_is_fixed_link()
authorBin Meng <bmeng.cn@gmail.com>
Sun, 14 Mar 2021 12:14:58 +0000 (20:14 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 15 Apr 2021 08:52:17 +0000 (14:22 +0530)
commit534c69b09a8907799e0e5f9f85bc2f638f6c99a9
tree5a6673af5a33182feafcd2d0a82d3c6b694a4b21
parentff98da06674d47ff995edd068bcbd4ae6da69f00
test: dm: Add a case to test ofnode_phy_is_fixed_link()

This adds a test case to test the new ofnode_phy_is_fixed_link() API.
Both the new and old DT bindings are covered.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/sandbox/dts/test.dts
test/dm/of_extra.c