summaryrefslogtreecommitdiff
path: root/Documentation/translations/zh_CN/driver-api/gpio/index.rst
blob: 9ab64e94aced4cb4affebe3f4983ce8c825e22d0 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.. SPDX-License-Identifier: GPL-2.0

.. include:: ../../disclaimer-zh_CN.rst

:Original: Documentation/driver-api/gpio/index.rst

:翻译:

 司延腾 Yanteng Si <siyanteng@loongson.cn>

:校译:

=======================
通用型输入/输出(GPIO)
=======================

目录:

.. toctree::
   :maxdepth: 2

   legacy

Todolist:

*   intro
*   using-gpio
*   driver
*   consumer
*   board
*   drivers-on-gpio
*   bt8xxgpio

核心
====

该API在以下内核代码中:

include/linux/gpio/driver.h

drivers/gpio/gpiolib.c

ACPI支持
========

该API在以下内核代码中:

drivers/gpio/gpiolib-acpi.c

设备树支持
==========

该API在以下内核代码中:

drivers/gpio/gpiolib-of.c

设备管理支持
============

该API在以下内核代码中:

drivers/gpio/gpiolib-devres.c

sysfs帮助(函数)
=================

该API在以下内核代码中:

drivers/gpio/gpiolib-sysfs.c