2017-07-24 14:57:27 +00:00
|
|
|
===================================
|
|
|
|
General Purpose Input/Output (GPIO)
|
|
|
|
===================================
|
|
|
|
|
2018-03-08 23:40:19 +00:00
|
|
|
Contents:
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
intro
|
2018-03-08 23:40:20 +00:00
|
|
|
driver
|
2018-03-08 23:40:19 +00:00
|
|
|
|
2017-07-24 14:57:27 +00:00
|
|
|
Core
|
|
|
|
====
|
|
|
|
|
|
|
|
.. kernel-doc:: include/linux/gpio/driver.h
|
|
|
|
:internal:
|
|
|
|
|
|
|
|
.. kernel-doc:: drivers/gpio/gpiolib.c
|
|
|
|
:export:
|
|
|
|
|
|
|
|
Legacy API
|
|
|
|
==========
|
|
|
|
|
|
|
|
The functions listed in this section are deprecated. The GPIO descriptor based
|
|
|
|
API described above should be used in new code.
|
|
|
|
|
|
|
|
.. kernel-doc:: drivers/gpio/gpiolib-legacy.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/devres.c
|
|
|
|
:export:
|
|
|
|
|
|
|
|
sysfs helpers
|
|
|
|
=============
|
|
|
|
|
|
|
|
.. kernel-doc:: drivers/gpio/gpiolib-sysfs.c
|
|
|
|
:export:
|