diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-03-31 10:41:30 +0200 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-04-21 19:25:41 +0200 |
commit | 8a246230bd2e822f440ebf4e7424fabb4d42da24 (patch) | |
tree | 6e3b38e7f8203c0818b941a3373eb83e066d6c60 /tools/testing | |
parent | selftests: breakpoints: allow to cross-compile for aarch64/arm64 (diff) | |
download | linux-8a246230bd2e822f440ebf4e7424fabb4d42da24.tar.xz linux-8a246230bd2e822f440ebf4e7424fabb4d42da24.zip |
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/testing')
-rw-r--r-- | tools/testing/selftests/gpio/config | 2 |
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 000000000000..abaa6902b7b6 --- /dev/null +++ b/tools/testing/selftests/gpio/config @@ -0,0 +1,2 @@ +CONFIG_GPIOLIB=y +CONFIG_GPIO_MOCKUP=m |