test: dm: add a test for class button
authorPhilippe Reynes <philippe.reynes@softathome.com>
Fri, 24 Jul 2020 16:19:52 +0000 (18:19 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 29 Jul 2020 01:30:39 +0000 (19:30 -0600)
commit1d310001dc47bd2582d03d05a167b5adf7d4f3b8
treeb30774acbb155914410a98777f82160e843aaea5
parenta6c6f0f0c8880b2f3d04784eef49f85b78d0f29e
test: dm: add a test for class button

Add a test to confirm that we can read button state
using the button-gpio driver.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
test/dm/Makefile
test/dm/button.c [new file with mode: 0644]