]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: pinmux: add test for 'pinctrl-single' driver
authorDario Binacchi <dariobin@libero.it>
Sun, 11 Apr 2021 07:39:50 +0000 (09:39 +0200)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 12 Apr 2021 05:47:15 +0000 (11:17 +0530)
commit5532262d46a38dc5b973d7ac0977241b4c850e71
tree9d32c519811c3480dc155c05bb46b237d11c2078
parent76d470de1a3c323823f5c4096a797e366cd225b0
test: pinmux: add test for 'pinctrl-single' driver

The test adds two pinmux nodes to the device tree, one to test when a
register changes only one pin's mux (pinctrl-single,pins), and the other
to test when more than one pin's mux is changed (pinctrl-single,bits).
This required replacing the controller's register access functions when
the driver is used on sandbox.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
configs/sandbox_defconfig
configs/sandbox_flattree_defconfig
drivers/pinctrl/pinctrl-single.c
test/dm/pinmux.c