Documentation: gpio: add chardev userspace API documentation
authorKent Gibson <warthog618@gmail.com>
Mon, 15 Jan 2024 00:48:39 +0000 (08:48 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 22 Jan 2024 09:47:14 +0000 (10:47 +0100)
commit32a0a0da530eab78d755474270bf53274b93a1e6
treefc61b7dbc62fada70639b681976cf3656f7308e4
parentb6747ef69fa44717f7ee6bbf012324bfdbdb5aa4
Documentation: gpio: add chardev userspace API documentation

Add documentation for the GPIO character device userspace API.

Added to the userspace-api book, but also provide a link from the
admin-guide book, as historically the GPIO documentation has been
there.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
15 files changed:
Documentation/admin-guide/gpio/index.rst
Documentation/userspace-api/gpio/chardev.rst [new file with mode: 0644]
Documentation/userspace-api/gpio/error-codes.rst [new file with mode: 0644]
Documentation/userspace-api/gpio/gpio-get-chipinfo-ioctl.rst [new file with mode: 0644]
Documentation/userspace-api/gpio/gpio-get-lineinfo-unwatch-ioctl.rst [new file with mode: 0644]
Documentation/userspace-api/gpio/gpio-v2-get-line-ioctl.rst [new file with mode: 0644]
Documentation/userspace-api/gpio/gpio-v2-get-lineinfo-ioctl.rst [new file with mode: 0644]
Documentation/userspace-api/gpio/gpio-v2-get-lineinfo-watch-ioctl.rst [new file with mode: 0644]
Documentation/userspace-api/gpio/gpio-v2-line-event-read.rst [new file with mode: 0644]
Documentation/userspace-api/gpio/gpio-v2-line-get-values-ioctl.rst [new file with mode: 0644]
Documentation/userspace-api/gpio/gpio-v2-line-set-config-ioctl.rst [new file with mode: 0644]
Documentation/userspace-api/gpio/gpio-v2-line-set-values-ioctl.rst [new file with mode: 0644]
Documentation/userspace-api/gpio/gpio-v2-lineinfo-changed-read.rst [new file with mode: 0644]
Documentation/userspace-api/gpio/index.rst [new file with mode: 0644]
Documentation/userspace-api/index.rst