* [libgpiod][PATCH v2] README: mention the Linux 5.10 requirement for libgpiod v2
@ 2024-01-16 9:40 Bartosz Golaszewski
2024-01-16 10:08 ` Kent Gibson
0 siblings, 1 reply; 3+ messages in thread
From: Bartosz Golaszewski @ 2024-01-16 9:40 UTC (permalink / raw)
To: Linus Walleij, Kent Gibson, Phil Howard, Erik Schilling
Cc: linux-gpio, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Major version 2 of libgpiod requires linux kernel uAPI v2 to be available.
This was released in Linux 5.10 so mention it in the README.
Suggested-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
v1 -> v2:
- reword as suggested by Kent
README | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/README b/README
index 632aab3..6063f43 100644
--- a/README
+++ b/README
@@ -8,8 +8,9 @@ libgpiod
character device (gpiod stands for GPIO device)
Since linux 4.8 the GPIO sysfs interface is deprecated. User space should use
-the character device instead. This library encapsulates the ioctl calls and
-data structures behind a straightforward API.
+the character device instead. Version 2 of libgpiod requires GPIO character
+device uAPI v2 which was first released in linux v5.10. This library
+encapsulates the ioctl calls and data structures behind a straightforward API.
RATIONALE
---------
--
2.40.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [libgpiod][PATCH v2] README: mention the Linux 5.10 requirement for libgpiod v2
2024-01-16 9:40 [libgpiod][PATCH v2] README: mention the Linux 5.10 requirement for libgpiod v2 Bartosz Golaszewski
@ 2024-01-16 10:08 ` Kent Gibson
2024-01-16 10:09 ` Bartosz Golaszewski
0 siblings, 1 reply; 3+ messages in thread
From: Kent Gibson @ 2024-01-16 10:08 UTC (permalink / raw)
To: Bartosz Golaszewski
Cc: Linus Walleij, Phil Howard, Erik Schilling, linux-gpio,
Bartosz Golaszewski
On Tue, Jan 16, 2024 at 10:40:57AM +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> Major version 2 of libgpiod requires linux kernel uAPI v2 to be available.
> This was released in Linux 5.10 so mention it in the README.
>
> Suggested-by: Kent Gibson <warthog618@gmail.com>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> ---
> v1 -> v2:
> - reword as suggested by Kent
>
> README | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/README b/README
> index 632aab3..6063f43 100644
> --- a/README
> +++ b/README
> @@ -8,8 +8,9 @@ libgpiod
> character device (gpiod stands for GPIO device)
>
> Since linux 4.8 the GPIO sysfs interface is deprecated. User space should use
> -the character device instead. This library encapsulates the ioctl calls and
> -data structures behind a straightforward API.
> +the character device instead. Version 2 of libgpiod requires GPIO character
> +device uAPI v2 which was first released in linux v5.10. This library
> +encapsulates the ioctl calls and data structures behind a straightforward API.
>
Minor nit - drop the "v" in v5.10 to be consistent with other use,
including the 4.8 in the same paragraph?
Cheers,
Kent.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [libgpiod][PATCH v2] README: mention the Linux 5.10 requirement for libgpiod v2
2024-01-16 10:08 ` Kent Gibson
@ 2024-01-16 10:09 ` Bartosz Golaszewski
0 siblings, 0 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2024-01-16 10:09 UTC (permalink / raw)
To: Kent Gibson
Cc: Linus Walleij, Phil Howard, Erik Schilling, linux-gpio,
Bartosz Golaszewski
On Tue, Jan 16, 2024 at 11:08 AM Kent Gibson <warthog618@gmail.com> wrote:
>
> On Tue, Jan 16, 2024 at 10:40:57AM +0100, Bartosz Golaszewski wrote:
> > From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> >
> > Major version 2 of libgpiod requires linux kernel uAPI v2 to be available.
> > This was released in Linux 5.10 so mention it in the README.
> >
> > Suggested-by: Kent Gibson <warthog618@gmail.com>
> > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> > ---
> > v1 -> v2:
> > - reword as suggested by Kent
> >
> > README | 5 +++--
> > 1 file changed, 3 insertions(+), 2 deletions(-)
> >
> > diff --git a/README b/README
> > index 632aab3..6063f43 100644
> > --- a/README
> > +++ b/README
> > @@ -8,8 +8,9 @@ libgpiod
> > character device (gpiod stands for GPIO device)
> >
> > Since linux 4.8 the GPIO sysfs interface is deprecated. User space should use
> > -the character device instead. This library encapsulates the ioctl calls and
> > -data structures behind a straightforward API.
> > +the character device instead. Version 2 of libgpiod requires GPIO character
> > +device uAPI v2 which was first released in linux v5.10. This library
> > +encapsulates the ioctl calls and data structures behind a straightforward API.
> >
>
> Minor nit - drop the "v" in v5.10 to be consistent with other use,
> including the 4.8 in the same paragraph?
>
Sure, I'll change it when applying.
Bart
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-01-16 10:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-16 9:40 [libgpiod][PATCH v2] README: mention the Linux 5.10 requirement for libgpiod v2 Bartosz Golaszewski
2024-01-16 10:08 ` Kent Gibson
2024-01-16 10:09 ` Bartosz Golaszewski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.