1.. SPDX-License-Identifier: GPL-2.0
2
3.. include:: ../../disclaimer-zh_CN.rst
4
5:Original: Documentation/driver-api/gpio/index.rst
6
7:翻译:
8
9 司延腾 Yanteng Si <siyanteng@loongson.cn>
10
11:校译:
12
13=======================
14通用型输入/输出(GPIO)
15=======================
16
17目录:
18
19.. toctree::
20   :maxdepth: 2
21
22   legacy
23
24Todolist:
25
26*   intro
27*   using-gpio
28*   driver
29*   consumer
30*   board
31*   drivers-on-gpio
32*   bt8xxgpio
33
34核心
35====
36
37该API在以下内核代码中:
38
39include/linux/gpio/driver.h
40
41drivers/gpio/gpiolib.c
42
43ACPI支持
44========
45
46该API在以下内核代码中:
47
48drivers/gpio/gpiolib-acpi.c
49
50设备树支持
51==========
52
53该API在以下内核代码中:
54
55drivers/gpio/gpiolib-of.c
56
57设备管理支持
58============
59
60该API在以下内核代码中:
61
62drivers/gpio/gpiolib-devres.c
63
64sysfs帮助(函数)
65=================
66
67该API在以下内核代码中:
68
69drivers/gpio/gpiolib-sysfs.c
70