-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs/zh_CN: add dt kernel-api translation
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
Showing
2 changed files
with
59 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
Documentation/translations/zh_CN/devicetree/kernel-api.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |