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>
This commit is contained in:
Родитель
f773455ce5
Коммит
9485acfded
|
@ -24,10 +24,7 @@ Open Firmware 和 Devicetree
|
|||
|
||||
usage-model
|
||||
of_unittest
|
||||
|
||||
Todolist:
|
||||
|
||||
* kernel-api
|
||||
kernel-api
|
||||
|
||||
Devicetree Overlays
|
||||
===================
|
||||
|
|
|
@ -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
|
Загрузка…
Ссылка в новой задаче