summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2017-03-31 11:41:30 +0300
committerShuah Khan <shuahkh@osg.samsung.com>2017-04-21 11:25:41 -0600
commit8a246230bd2e822f440ebf4e7424fabb4d42da24 (patch)
tree6e3b38e7f8203c0818b941a3373eb83e066d6c60 /tools
parentb13f76664d68b9b9fc0827c5dcfe6811232db5f7 (diff)
downloadop-kernel-dev-8a246230bd2e822f440ebf4e7424fabb4d42da24.zip
op-kernel-dev-8a246230bd2e822f440ebf4e7424fabb4d42da24.tar.gz
selftests: gpio: add config fragment for gpio-mockup
The gpio test requires to insert the gpio mockup module (CONFIG_GPIO_MOCKUP). The gpio mockup driver depends on gpiolib (CONFIG_GPIOLIB). CONFIG_GPIO_SYSFS is selected automatically by the gpio mockup driver. Tested on x86_64 and arm64 with defconfig and kselftest-merge. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/gpio/config2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/gpio/config b/tools/testing/selftests/gpio/config
new file mode 100644
index 0000000..abaa690
--- /dev/null
+++ b/tools/testing/selftests/gpio/config
@@ -0,0 +1,2 @@
+CONFIG_GPIOLIB=y
+CONFIG_GPIO_MOCKUP=m
OpenPOWER on IntegriCloud