]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: gpio: Add tests for the managed API
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 11 Sep 2020 08:13:35 +0000 (13:43 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 15:55:22 +0000 (11:55 -0400)
commit88e6a60e4aeed2fec059e513572d191ce9387b07
tree8999b75b67b284c0130e1ebd87443801605ac2ac
parentd4b722e3a85f3a5704501f3a71faa43db1979209
test: gpio: Add tests for the managed API

Add a test to verify that GPIOs can be acquired/released using the managed
API. Also check that the GPIOs are released when the consumer device is
removed.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
arch/sandbox/dts/test.dts
test/dm/bus.c
test/dm/gpio.c
test/dm/test-fdt.c