mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
ddb4e53fc7
The text in this new document is a response to recurring questions about the GPIO in-kernel API vs the userspace ABI. When do you use one or the other? It can be a bit intuitive, but I tried to sum it all up. Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Link: https://lore.kernel.org/r/20200108001712.47500-1-linus.walleij@linaro.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
51 lines
733 B
ReStructuredText
51 lines
733 B
ReStructuredText
===================================
|
|
General Purpose Input/Output (GPIO)
|
|
===================================
|
|
|
|
Contents:
|
|
|
|
.. toctree::
|
|
:maxdepth: 2
|
|
|
|
intro
|
|
using-gpio
|
|
driver
|
|
consumer
|
|
board
|
|
drivers-on-gpio
|
|
legacy
|
|
bt8xxgpio
|
|
|
|
Core
|
|
====
|
|
|
|
.. kernel-doc:: include/linux/gpio/driver.h
|
|
:internal:
|
|
|
|
.. kernel-doc:: drivers/gpio/gpiolib.c
|
|
:export:
|
|
|
|
ACPI support
|
|
============
|
|
|
|
.. kernel-doc:: drivers/gpio/gpiolib-acpi.c
|
|
:export:
|
|
|
|
Device tree support
|
|
===================
|
|
|
|
.. kernel-doc:: drivers/gpio/gpiolib-of.c
|
|
:export:
|
|
|
|
Device-managed API
|
|
==================
|
|
|
|
.. kernel-doc:: drivers/gpio/gpiolib-devres.c
|
|
:export:
|
|
|
|
sysfs helpers
|
|
=============
|
|
|
|
.. kernel-doc:: drivers/gpio/gpiolib-sysfs.c
|
|
:export:
|