Skip to content

Commit

Permalink
docs/zh_CN: Update the translation of gpio to 6.0-rc1
Browse files Browse the repository at this point in the history
Update to commit 5513b41 ("Documentation: rename pinctl to
pin-control")
Move .../zh_CN/gpio.txt to .../zh_CN/driver-api/gpio/legacy.rst
Translate .../driver-api/index.rst into Chinese.
Translate .../driver-api/gpio/index.rst into Chinese.

Signed-off-by: Yanteng Si <[email protected]>
Reviewed-by: Alex Shi <[email protected]>
Reviewed-by: Wu XiangCheng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
Yanteng Si authored and Jonathan Corbet committed Aug 18, 2022
1 parent 568035b commit 23c48a1
Show file tree
Hide file tree
Showing 4 changed files with 316 additions and 71 deletions.
69 changes: 69 additions & 0 deletions Documentation/translations/zh_CN/driver-api/gpio/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
.. SPDX-License-Identifier: GPL-2.0
.. include:: ../../disclaimer-zh_CN.rst

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

:翻译:

司延腾 Yanteng Si <[email protected]>

:校译:

=======================
通用型输入/输出(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
Loading

0 comments on commit 23c48a1

Please sign in to comment.