linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] selftests: gpio: add config fragment for gpio-mockup
@ 2017-03-31  8:41 Fathi Boudra
  2017-04-04  0:52 ` Bamvor Zhang Jian
  0 siblings, 1 reply; 4+ messages in thread
From: Fathi Boudra @ 2017-03-31  8:41 UTC (permalink / raw)
  To: linux-kselftest, Shuah Khan; +Cc: linux-kernel, Bamvor Jian Zhang, Fathi Boudra

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>
---

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] selftests: gpio: add config fragment for gpio-mockup
  2017-03-31  8:41 [PATCH v2] selftests: gpio: add config fragment for gpio-mockup Fathi Boudra
@ 2017-04-04  0:52 ` Bamvor Zhang Jian
  2017-04-19 17:32   ` Fathi Boudra
  0 siblings, 1 reply; 4+ messages in thread
From: Bamvor Zhang Jian @ 2017-04-04  0:52 UTC (permalink / raw)
  To: Fathi Boudra; +Cc: linux-kselftest, Shuah Khan, lkml

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] selftests: gpio: add config fragment for gpio-mockup
  2017-04-04  0:52 ` Bamvor Zhang Jian
@ 2017-04-19 17:32   ` Fathi Boudra
  2017-04-27 13:46     ` Shuah Khan
  0 siblings, 1 reply; 4+ messages in thread
From: Fathi Boudra @ 2017-04-19 17:32 UTC (permalink / raw)
  To: Shuah Khan; +Cc: linux-kselftest, lkml, Bamvor Zhang Jian

gentle ping

On 4 April 2017 at 03:52, Bamvor Zhang Jian <bamvor.zhangjian@linaro.org> wrote:
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] selftests: gpio: add config fragment for gpio-mockup
  2017-04-19 17:32   ` Fathi Boudra
@ 2017-04-27 13:46     ` Shuah Khan
  0 siblings, 0 replies; 4+ messages in thread
From: Shuah Khan @ 2017-04-27 13:46 UTC (permalink / raw)
  To: Fathi Boudra; +Cc: linux-kselftest, lkml, Bamvor Zhang Jian, Shuah Khan

On 04/19/2017 11:32 AM, Fathi Boudra wrote:
> gentle ping
> 
> On 4 April 2017 at 03:52, Bamvor Zhang Jian <bamvor.zhangjian@linaro.org> wrote:
>> 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>

Applied to linux-kselftest next for 4.12-rc1

thanks for the patch and review.

-- Shuah

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-04-27 13:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-31  8:41 [PATCH v2] selftests: gpio: add config fragment for gpio-mockup Fathi Boudra
2017-04-04  0:52 ` Bamvor Zhang Jian
2017-04-19 17:32   ` Fathi Boudra
2017-04-27 13:46     ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).