Skip to content

Commit

Permalink
docs/zh_CN: add dt kernel-api translation
Browse files Browse the repository at this point in the history
Translte .../devicetree/kernel-api.rst into Chinese.

Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
Reviewed-by: Alex Shi <alexs@kernel.org>
Link: https://lore.kernel.org/r/35fd1b5801d7191e078937908008115f8949aac3.1662449105.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
  • Loading branch information
Yanteng Si authored and Jonathan Corbet committed Sep 27, 2022
1 parent f773455 commit 9485acf
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 4 deletions.
5 changes: 1 addition & 4 deletions Documentation/translations/zh_CN/devicetree/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ Open Firmware 和 Devicetree

usage-model
of_unittest

Todolist:

* kernel-api
kernel-api

Devicetree Overlays
===================
Expand Down
58 changes: 58 additions & 0 deletions Documentation/translations/zh_CN/devicetree/kernel-api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
.. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst

:Original: Documentation/Devicetree/kernel-api.rst

:翻译:

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

:校译:


=================
内核中的设备树API
=================

核心函数
--------

该API在以下内核代码中:

drivers/of/base.c

include/linux/of.h

drivers/of/property.c

include/linux/of_graph.h

drivers/of/address.c

drivers/of/irq.c

drivers/of/fdt.c

驱动模型函数
------------

该API在以下内核代码中:

include/linux/of_device.h

drivers/of/device.c

include/linux/of_platform.h

drivers/of/platform.c

覆盖和动态DT函数
----------------

该API在以下内核代码中:

drivers/of/resolver.c

drivers/of/dynamic.c

drivers/of/overlay.c

0 comments on commit 9485acf

Please sign in to comment.