summaryrefslogtreecommitdiff
path: root/configs/sandbox_defconfig
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2021-02-18 13:33:18 +0300
committerNeil Armstrong <narmstrong@baylibre.com>2021-02-18 13:37:26 +0300
commit289d0ead2887af6b1c013a96cc2c85100e1e591c (patch)
treeee4e378502d90c6c423a1fa7ff76688d02d8526e /configs/sandbox_defconfig
parenta638fba9fc77a2d6994671f5bb2afa3e730ff26f (diff)
downloadu-boot-289d0ead2887af6b1c013a96cc2c85100e1e591c.tar.xz
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>
Diffstat (limited to 'configs/sandbox_defconfig')
-rw-r--r--configs/sandbox_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 0c7674efc9..3731bf05ff 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -122,6 +122,7 @@ CONFIG_DM_BOOTCOUNT=y
CONFIG_DM_BOOTCOUNT_RTC=y
CONFIG_DM_BOOTCOUNT_I2C_EEPROM=y
CONFIG_BUTTON=y
+CONFIG_BUTTON_ADC=y
CONFIG_BUTTON_GPIO=y
CONFIG_CLK=y
CONFIG_CLK_COMPOSITE_CCF=y