README: mention the Linux 5.10 requirement for libgpiod v2
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 16 Jan 2024 09:40:57 +0000 (10:40 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 17 Jan 2024 16:15:15 +0000 (17:15 +0100)
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>
README

diff --git a/README b/README
index 632aab35cc9f66e596357a41a0c2618d6485ee49..9bc789f4d961fa05d457d44379a8f7e45025af76 100644 (file)
--- 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
 ---------