]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: add a simple test for the adc-keys button driver
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 18 Feb 2021 10:33:18 +0000 (11:33 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Thu, 18 Feb 2021 10:37:26 +0000 (11:37 +0100)
commit289d0ead2887af6b1c013a96cc2c85100e1e591c
treeee4e378502d90c6c423a1fa7ff76688d02d8526e
parenta638fba9fc77a2d6994671f5bb2afa3e730ff26f
test: add a simple test for the adc-keys button driver

Add adc-keys device to the sandbox/test.dts and connect it to the channel
#3 of the sandbox_adc driver. The default values sampled by sandbox_adc
driver determines that button3 and button4 are released and button5 is
pressed.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
arch/sandbox/dts/test.dts
configs/sandbox_defconfig
test/dm/button.c