On Thu, Mar 3, 2022 at 4:09 PM Yanteng Si <siyanteng01@xxxxxxxxx> wrote: > > Translate .../devicetree/index.rst into Chinese. > > Signed-off-by: Yanteng Si <siyanteng@xxxxxxxxxxx> > Signed-off-by: Yanteng Si <siyanteng01@xxxxxxxxx> Uh, it's first time for me to see 2 signed-off from same person. :) Reviewed-by: Alex Shi <alexs@xxxxxxxxxx> > --- > .../translations/zh_CN/devicetree/index.rst | 49 +++++++++++++++++++ > Documentation/translations/zh_CN/index.rst | 6 ++- > 2 files changed, 54 insertions(+), 1 deletion(-) > create mode 100644 Documentation/translations/zh_CN/devicetree/index.rst > > diff --git a/Documentation/translations/zh_CN/devicetree/index.rst b/Documentation/translations/zh_CN/devicetree/index.rst > new file mode 100644 > index 000000000000..5ca1ae87b57d > --- /dev/null > +++ b/Documentation/translations/zh_CN/devicetree/index.rst > @@ -0,0 +1,49 @@ > +.. SPDX-License-Identifier: GPL-2.0 > +.. include:: ../disclaimer-zh_CN.rst > + > +:Original: Documentation/Devicetree/index.rst > + > +:翻译: > + > + 司延腾 Yanteng Si <siyanteng@xxxxxxxxxxx> > + > +:校译: > + > + > +============================= > +Open Firmware 和 Devicetree > +============================= > + > +该文档是整个设备树文档的总目录,标题中多是业内默认的术语,初见就翻译成中文, > +晦涩难懂,因此尽量保留,后面翻译其子文档时,可能会根据语境,灵活地翻译为中文。 > + > +内核Devicetree的使用 > +======================= > +.. toctree:: > + :maxdepth: 1 > + > +Todolist: > + > +* usage-model > +* of_unittest > +* kernel-api > + > +Devicetree Overlays > +=================== > +.. toctree:: > + :maxdepth: 1 > + > +Todolist: > + > +* changesets > +* dynamic-resolution-notes > +* overlay-notes > + > +Devicetree Bindings > +=================== > +.. toctree:: > + :maxdepth: 1 > + > +Todolist: > + > +* bindings/index > diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst > index 23f8f4c68e83..46a29f006bd4 100644 > --- a/Documentation/translations/zh_CN/index.rst > +++ b/Documentation/translations/zh_CN/index.rst > @@ -56,10 +56,14 @@ TODOList: > > 下列文档描述了内核需要的平台固件相关信息。 > > +.. toctree:: > + :maxdepth: 2 > + > + devicetree/index > + > TODOList: > > * firmware-guide/index > -* devicetree/index > > 应用程序开发人员文档 > -------------------- > -- > 2.27.0 >