diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-01-18 12:43:43 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-01-18 12:43:43 +0300 |
commit | adbf02998b2e21e3f055f72fe2daa86260f03637 (patch) | |
tree | e9a6b8bd543acf3ab7ad68eecb488f2ed6bd424e /Documentation/gpio/sysfs.txt | |
parent | 40a3c9db08ad59062c6ca525fca32ca97edcf99e (diff) | |
download | linux-adbf02998b2e21e3f055f72fe2daa86260f03637.tar.xz |
gpio: Documentation update
Update a slew of documentation files with the latest changes in the
API/ABI. Again stress that sysfs is deprecated. Add all new flags and
clean up and move some text.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/gpio/sysfs.txt')
-rw-r--r-- | Documentation/gpio/sysfs.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/gpio/sysfs.txt b/Documentation/gpio/sysfs.txt index aeab01aa4d00..6cdeab8650cd 100644 --- a/Documentation/gpio/sysfs.txt +++ b/Documentation/gpio/sysfs.txt @@ -1,6 +1,17 @@ GPIO Sysfs Interface for Userspace ================================== +THIS ABI IS DEPRECATED, THE ABI DOCUMENTATION HAS BEEN MOVED TO +Documentation/ABI/obsolete/sysfs-gpio AND NEW USERSPACE CONSUMERS +ARE SUPPOSED TO USE THE CHARACTER DEVICE ABI. THIS OLD SYSFS ABI WILL +NOT BE DEVELOPED (NO NEW FEATURES), IT WILL JUST BE MAINTAINED. + +Refer to the examples in tools/gpio/* for an introduction to the new +character device ABI. Also see the userspace header in +include/uapi/linux/gpio.h + +The deprecated sysfs ABI +------------------------ Platforms which use the "gpiolib" implementors framework may choose to configure a sysfs user interface to GPIOs. This is different from the debugfs interface, since it provides control over GPIO direction and |