dm: test: Add GPIO open drain tests
authormario.six@gdsys.cc <mario.six@gdsys.cc>
Wed, 25 May 2016 13:15:23 +0000 (15:15 +0200)
committerYork Sun <york.sun@nxp.com>
Sat, 4 Jun 2016 05:14:20 +0000 (22:14 -0700)
commit743268f5146e3fd93abb8b6142ef6a259a0656c5
treed28611bc6504378b0316582e62bf8f7f3132c219
parent51781783c59ad0080621d777579eb8acd14aa0ed
dm: test: Add GPIO open drain tests

Add some tests for the new open drain setting feature of the GPIO
uclass, and extend the capabilities of the sandbox GPIO driver
accordingly.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/sandbox/include/asm/gpio.h
drivers/gpio/sandbox.c
test/dm/gpio.c