1.. SPDX-License-Identifier: GPL-2.0
2.. include:: ../disclaimer-zh_CN.rst
3
4:Original: Documentation/devicetree/kernel-api.rst
5
6:翻译:
7
8 司延腾 Yanteng Si <siyanteng@loongson.cn>
9
10:校译:
11
12
13=================
14内核中的设备树API
15=================
16
17核心函数
18--------
19
20该API在以下内核代码中:
21
22drivers/of/base.c
23
24include/linux/of.h
25
26drivers/of/property.c
27
28include/linux/of_graph.h
29
30drivers/of/address.c
31
32drivers/of/irq.c
33
34drivers/of/fdt.c
35
36驱动模型函数
37------------
38
39该API在以下内核代码中:
40
41include/linux/of_device.h
42
43drivers/of/device.c
44
45include/linux/of_platform.h
46
47drivers/of/platform.c
48
49覆盖和动态DT函数
50----------------
51
52该API在以下内核代码中:
53
54drivers/of/resolver.c
55
56drivers/of/dynamic.c
57
58drivers/of/overlay.c
59