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.. toctree:: 18 :caption: 目录 19 :maxdepth: 2 20 21Todolist: 22 23* intro 24* using-gpio 25* driver 26* consumer 27* board 28* drivers-on-gpio 29* bt8xxgpio 30 31核心 32==== 33 34该API在以下内核代码中: 35 36include/linux/gpio/driver.h 37 38drivers/gpio/gpiolib.c 39 40ACPI支持 41======== 42 43该API在以下内核代码中: 44 45drivers/gpio/gpiolib-acpi.c 46 47设备树支持 48========== 49 50该API在以下内核代码中: 51 52drivers/gpio/gpiolib-of.c 53 54设备管理支持 55============ 56 57该API在以下内核代码中: 58 59drivers/gpio/gpiolib-devres.c 60 61sysfs帮助(函数) 62================= 63 64该API在以下内核代码中: 65 66drivers/gpio/gpiolib-sysfs.c 67