All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Shi <seakeel@gmail.com>
To: Yanteng Si <siyanteng@loongson.cn>
Cc: Alex Shi <alexs@kernel.org>, "Wu X.C." <bobwxc@email.cn>,
	Jonathan Corbet <corbet@lwn.net>,
	Huacai Chen <chenhuacai@kernel.org>,
	Jiaxun Yang <jiaxun.yang@flygoat.com>,
	Linux Doc Mailing List <linux-doc@vger.kernel.org>,
	yanteng si <siyanteng01@gmail.com>
Subject: Re: [PATCH v1 3/5] docs/zh_CN: add dt dynamic-resolution-notes translation
Date: Fri, 2 Sep 2022 16:13:11 +0800	[thread overview]
Message-ID: <CAJy-Ammq4vqqMSPb65c7yG1R4orJ+gzqSZeDNS2GYZ8Xy=9TmA@mail.gmail.com> (raw)
In-Reply-To: <be219cfda1db15eedd57b77cfdfd52acbd1a8aee.1662022757.git.siyanteng@loongson.cn>

On Thu, Sep 1, 2022 at 7:16 PM Yanteng Si <siyanteng@loongson.cn> wrote:
>
> Translate .../devicetree/dynamic-resolution-notes.rst into Chinese.
>
> Signed-off-by: Yanteng Si <siyanteng@loongson.cn>

Reviewed-by: Alex Shi <alexs@kernel.org>
> ---
>  .../devicetree/dynamic-resolution-notes.rst   | 31 +++++++++++++++++++
>  .../translations/zh_CN/devicetree/index.rst   |  2 +-
>  2 files changed, 32 insertions(+), 1 deletion(-)
>  create mode 100644 Documentation/translations/zh_CN/devicetree/dynamic-resolution-notes.rst
>
> diff --git a/Documentation/translations/zh_CN/devicetree/dynamic-resolution-notes.rst b/Documentation/translations/zh_CN/devicetree/dynamic-resolution-notes.rst
> new file mode 100644
> index 000000000000..115190341305
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/devicetree/dynamic-resolution-notes.rst
> @@ -0,0 +1,31 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +.. include:: ../disclaimer-zh_CN.rst
> +
> +:Original: Documentation/Devicetree/dynamic-resolution-notes.rst
> +
> +:翻译:
> +
> + 司延腾 Yanteng Si <siyanteng@loongson.cn>
> +
> +:校译:
> +
> +========================
> +Devicetree动态解析器说明
> +========================
> +
> +本文描述了内核内DeviceTree解析器的实现,它位于drivers/of/resolver.c中。
> +
> +解析器如何工作?
> +----------------
> +
> +解析器被赋予一个任意的树作为输入,该树用适当的dtc选项编译,并有一个/plugin/标签。这就产
> +生了适当的__fixups__和__local_fixups__节点。
> +
> +解析器依次通过以下步骤工作:
> +
> +1. 从实时树中获取最大的设备树phandle值 + 1.
> +2. 调整树的所有本地 phandles,以解决这个量。
> +3. 使用 __local__fixups__ 节点信息以相同的量调整所有本地引用。
> +4. 对于__fixups__节点中的每个属性,找到它在实时树中引用的节点。这是用来标记该节点的标签。
> +5. 检索fixup的目标的phandle。
> +6. 对于属性中的每个fixup,找到节点:属性:偏移的位置,并用phandle值替换它。
> diff --git a/Documentation/translations/zh_CN/devicetree/index.rst b/Documentation/translations/zh_CN/devicetree/index.rst
> index e9aff2ccc579..be5b974c6e68 100644
> --- a/Documentation/translations/zh_CN/devicetree/index.rst
> +++ b/Documentation/translations/zh_CN/devicetree/index.rst
> @@ -35,10 +35,10 @@ Devicetree Overlays
>     :maxdepth: 1
>
>     changesets
> +   dynamic-resolution-notes
>
>  Todolist:
>
> -*   dynamic-resolution-notes
>  *   overlay-notes
>
>  Devicetree Bindings
> --
> 2.31.1
>

  reply	other threads:[~2022-09-02  8:14 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-01 11:15 [PATCH v1 0/5] docs/zh_CN: Add some dt and PCI Chinese translation Yanteng Si
2022-09-01 11:15 ` [PATCH v1 1/5] docs/zh_CN: add PCI acpi-info translation Yanteng Si
2022-09-02 12:56   ` Wu XiangCheng
2022-09-05 12:27     ` YanTeng Si
2022-09-05 16:41       ` Wu XiangCheng
2022-09-06  2:19         ` Alex Shi
2022-09-01 11:15 ` [PATCH v1 2/5] docs/zh_CN: add dt changesets translation Yanteng Si
2022-09-02  6:56   ` Alex Shi
2022-09-05 11:58     ` YanTeng Si
2022-09-01 11:15 ` [PATCH v1 3/5] docs/zh_CN: add dt dynamic-resolution-notes translation Yanteng Si
2022-09-02  8:13   ` Alex Shi [this message]
2022-09-01 11:15 ` [PATCH v1 4/5] docs/zh_CN: add dt overlay-notes translation Yanteng Si
2022-09-02  8:23   ` Alex Shi
2022-09-05 12:05     ` YanTeng Si
2022-09-01 11:15 ` [PATCH v1 5/5] docs/zh_CN: add dt kernel-api translation Yanteng Si
2022-09-02  8:29   ` Alex Shi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJy-Ammq4vqqMSPb65c7yG1R4orJ+gzqSZeDNS2GYZ8Xy=9TmA@mail.gmail.com' \
    --to=seakeel@gmail.com \
    --cc=alexs@kernel.org \
    --cc=bobwxc@email.cn \
    --cc=chenhuacai@kernel.org \
    --cc=corbet@lwn.net \
    --cc=jiaxun.yang@flygoat.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=siyanteng01@gmail.com \
    --cc=siyanteng@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.