]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox, test: add test for GPIO_HOG function
authorHeiko Schocher <hs@denx.de>
Fri, 22 May 2020 09:08:58 +0000 (11:08 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 5 Jul 2020 12:06:09 +0000 (08:06 -0400)
commitb9ed99166c4618c7eafd460145fa35a50b1fa7aa
tree7a276566b545e1a8df7f2113d67baaace3c5b2e8
parent59619bb58cf9b0ff623e50794dc7ecbade60b051
sandbox, test: add test for GPIO_HOG function

currently gpio hog function is not tested with "ut dm gpio"
so add some basic tests for gpio hog functionality.

For this enable GPIO_HOG in sandbox_defconfig, add
in DTS some gpio hog entries, and add testcase in
"ut dm gpio" command.

Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
configs/sandbox64_defconfig
configs/sandbox_defconfig
configs/sandbox_flattree_defconfig
configs/sandbox_spl_defconfig
test/dm/gpio.c