]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: dm: update test for pins configuration in pinctrl node
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 13 Jan 2020 10:35:12 +0000 (11:35 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 17 Apr 2020 03:06:54 +0000 (23:06 -0400)
commitd15c05b5d0abd24cc30a0bb4d155e487658b7a09
tree8ab24c00b34581c1219e12a0e535fe8ee398bc0f
parent77ed5692c95abcb1cdda5b87570f661bbcf1b4b3
test: dm: update test for pins configuration in pinctrl node

Add test for "pins" configuration in gpio uclass with set_state() ops
and test for generic parsing of pinconf_param array).

set_state() is called by:
- pinctrl_generic_set_state
 |- pinctrl_generic_set_state_subnode

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
drivers/pinctrl/pinctrl-sandbox.c
test/py/tests/test_pinmux.py