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>
Mon, 26 Apr 2021 06:48:36 +0000 (12:18 +0530)
commitf116602ecc0288c97cd2b6fcc897d3533c323a2c
treeda3cabf6a91de57b7aa647066c1f69913e07dad1
parent6f20356e45468a2c07f3b8e723ee19dc33a4d522
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>
arch/sandbox/dts/test.dts
test/dm/of_extra.c