summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api/gpio.rst
blob: 6dd4aa647f27d6297dd5496be5f5695d2f11c639 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
===================================
General Purpose Input/Output (GPIO)
===================================

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:
OpenPOWER on IntegriCloud