From: Bartosz Golaszewski Date: Tue, 16 Jan 2024 09:40:57 +0000 (+0100) Subject: README: mention the Linux 5.10 requirement for libgpiod v2 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fc2f2feaa99dce8aab6381168051f2725b537621;p=qemu-gpiodev%2Flibgpiod.git README: mention the Linux 5.10 requirement for libgpiod v2 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 Signed-off-by: Bartosz Golaszewski --- diff --git a/README b/README index 632aab3..9bc789f 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 5.10. This library +encapsulates the ioctl calls and data structures behind a straightforward API. RATIONALE ---------