Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1615641

Re: [PATCH v2] selftests: gpio: add config fragment for gpio-mockup

From Bamvor Zhang Jian <bamvor.zhangjian@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] selftests: gpio: add config fragment for gpio-mockup
Date 2017-04-04 03:00 +0200
Message-ID <tskZb-5T4-1@gated-at.bofh.it> (permalink)
References <tr0pQ-2e1-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On 31 March 2017 at 16:41, Fathi Boudra <fathi.boudra@linaro.org> wrote:
> 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>
Reviewed-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
> ---
>
> Changes in v2:
>  * Per Bamvor Zhang Jian review, add gpiolib dependency (CONFIG_GPIOLIB).
>    Skipped CONFIG_DEBUG_GPIO as it isn't necessary, and CONFIG_GPIO_SYSFS
>    as it's selected automatically by the gpio mockup driver.
>
>  tools/testing/selftests/gpio/config | 2 ++
>  1 file changed, 2 insertions(+)
>  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..abaa6902b7b6
> --- /dev/null
> +++ b/tools/testing/selftests/gpio/config
> @@ -0,0 +1,2 @@
> +CONFIG_GPIOLIB=y
> +CONFIG_GPIO_MOCKUP=m
> --
> 2.11.0

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] selftests: gpio: add config fragment for gpio-mockup Fathi Boudra <fathi.boudra@linaro.org> - 2017-03-31 10:50 +0200
  Re: [PATCH v2] selftests: gpio: add config fragment for gpio-mockup Bamvor Zhang Jian <bamvor.zhangjian@linaro.org> - 2017-04-04 03:00 +0200

csiph-web