2017-03-28 18:41:45

by Fathi Boudra

[permalink] [raw]
Subject: [PATCH] selftests: gpio: add config fragment for gpio-mockup

The gpio test requires to insert gpio-mockup module.

Signed-off-by: Fathi Boudra <[email protected]>
---
tools/testing/selftests/gpio/config | 1 +
1 file changed, 1 insertion(+)
create mode 100644 tools/testing/selftests/gpio/config

diff --git a/tools/testing/selftests/gpio/config b/tools/testing/selftests/gpio/config
new file mode 100644
index 000000000000..ae160d924d22
--- /dev/null
+++ b/tools/testing/selftests/gpio/config
@@ -0,0 +1 @@
+CONFIG_GPIO_MOCKUP=m
--
2.11.0


2017-03-30 13:27:47

by Bamvor Zhang Jian

[permalink] [raw]
Subject: Re: [PATCH] selftests: gpio: add config fragment for gpio-mockup

Hi, Fathi

On 29 March 2017 at 02:41, Fathi Boudra <[email protected]> wrote:
> The gpio test requires to insert gpio-mockup module.
>
> Signed-off-by: Fathi Boudra <[email protected]>
> ---
> tools/testing/selftests/gpio/config | 1 +
> 1 file changed, 1 insertion(+)
> create mode 100644 tools/testing/selftests/gpio/config
>
> diff --git a/tools/testing/selftests/gpio/config b/tools/testing/selftests/gpio/config
> new file mode 100644
> index 000000000000..ae160d924d22
> --- /dev/null
> +++ b/tools/testing/selftests/gpio/config
> @@ -0,0 +1 @@
> +CONFIG_GPIO_MOCKUP=m
The gpio mockup driver depends on gpiolib, debugfs and sysfs(will be
selected automatically):
CONFIG_GPIOLIB=y
CONFIG_DEBUG_GPIO=y

Regards

Bamvor
> --
> 2.11.0
>