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