forked from OERV-BSP/u-boot
test: dm: update test for pins configuration in gpio
Add tests for new API set_dir_flags and set_dir_flags and associated code in gpio uclass. Test support for new flags GPIO_OPEN_DRAIN, GPIO_OPEN_SOURCE GPIO_PULL_UP and GPIO_PULL_DOWN. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
committed by
Tom Rini
parent
2c0f782e0f
commit
ff52665d03
@@ -286,7 +286,7 @@ static int dm_test_alias_highest_id(struct unit_test_state *uts)
|
||||
ut_asserteq(5, ret);
|
||||
|
||||
ret = dev_read_alias_highest_id("gpio");
|
||||
ut_asserteq(2, ret);
|
||||
ut_asserteq(3, ret);
|
||||
|
||||
ret = dev_read_alias_highest_id("pci");
|
||||
ut_asserteq(2, ret);
|
||||
|
||||
Reference in New Issue
Block a user