summaryrefslogtreecommitdiff
path: root/Documentation/gpio/sysfs.txt
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2018-02-16 23:47:43 +0300
committerSean Paul <seanpaul@chromium.org>2018-02-16 23:47:43 +0300
commitd4da404f36b24b089d20db1fb27d8f99cb66f409 (patch)
tree349c4b792281826652eb9e6d7a46ed6622dc90de /Documentation/gpio/sysfs.txt
parentfa4127c5eb8def998fd8a471d51a4f2560dea0a2 (diff)
parent933519a5a269d8460450545adefcb5caec622cac (diff)
downloadlinux-d4da404f36b24b089d20db1fb27d8f99cb66f409.tar.xz
Merge airlied/drm-next into drm-misc-next
Backmerge 4.15 and hdcp topic branch Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'Documentation/gpio/sysfs.txt')
-rw-r--r--Documentation/gpio/sysfs.txt11
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