Merge tag 'openrisc-for-linus' of git://github.com/openrisc/linux
[sfrench/cifs-2.6.git] / Documentation / driver-api / gpio.rst
1 ===================================
2 General Purpose Input/Output (GPIO)
3 ===================================
4
5 Core
6 ====
7
8 .. kernel-doc:: include/linux/gpio/driver.h
9    :internal:
10
11 .. kernel-doc:: drivers/gpio/gpiolib.c
12    :export:
13
14 Legacy API
15 ==========
16
17 The functions listed in this section are deprecated. The GPIO descriptor based
18 API described above should be used in new code.
19
20 .. kernel-doc:: drivers/gpio/gpiolib-legacy.c
21    :export:
22
23 ACPI support
24 ============
25
26 .. kernel-doc:: drivers/gpio/gpiolib-acpi.c
27    :export:
28
29 Device tree support
30 ===================
31
32 .. kernel-doc:: drivers/gpio/gpiolib-of.c
33    :export:
34
35 Device-managed API
36 ==================
37
38 .. kernel-doc:: drivers/gpio/devres.c
39    :export:
40
41 sysfs helpers
42 =============
43
44 .. kernel-doc:: drivers/gpio/gpiolib-sysfs.c
45    :export: