]> git.baikalelectronics.ru Git - uboot.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)
commit63c18abe18268ef668410bb4b753087e39706c9e
tree8999b75b67b284c0130e1ebd87443801605ac2ac
parentf5e5b82f4e1fc177786067d05441cb692044a812
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