Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp468578rdb; Sat, 17 Feb 2024 18:31:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWzKU6EzdGsh3sk9XB5qQeY53u8Ck8vARNPxs08U+QN8RohBD0JHm9H74yNwwm/zIhH6rahyF0YUxsBEbJbiBJ1+FZbas5czBydH3shCw== X-Google-Smtp-Source: AGHT+IFe3y1e8bFsTUcXQoKIgmlkDe9lZqcFaK/bDh1IH4vv0mTJa3ZZNfUqjbwjhPJzF2CQQGIj X-Received: by 2002:a05:6402:1cb0:b0:564:1862:b879 with SMTP id cz16-20020a0564021cb000b005641862b879mr1873134edb.37.1708223460056; Sat, 17 Feb 2024 18:31:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708223460; cv=pass; d=google.com; s=arc-20160816; b=fxD3UCT7jeTUeqdqKtZdMKyzpwtWXdEhTA6SVetq+QOrMiNMKNj+LFJ5Pv+a9sLTIZ swPnAeGrFnJi0N9RAwDrsYaXFz4uD4D/Z4u8feRTzDxrGWcjxZgAN3CYizbEvCmzZ2/R YOh68zu9CrVNmOKoI4S+cjFB7qMXeSx+Jc1Mzzrj1k+ztqn+SSfvaZ+zbwx6r1n6awKy eVHYLZDQs+VrTtK2pfQgJlkZV9GMIsZOSqVEwaBPZzVwvvrrE4ZjvPVNLiu9gy5MFRmq igFf1BojBVrFmSX9c0QhWbC65Kmv27Exumb7fhVtaK1fGpDsJpJ0m+rCsIF/u6O6HPhT llDg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=UDrNHug1Cv79Uv/AAm2tRvYzYx8YPRD3FP6QHvJLKxQ=; fh=wKNidMIKptwNhgwKeZypynIqRL6NmhfgFH7KtT0hNo8=; b=i7QIeofrRz5tlRPsace1GuoZDoZUZ5xrYSlCvzEUMiX2ZyyS4ZqTg0afrR916rgpga YURc/7PZv2vn2VLNGZ+fbB613CMeFepNqFilzxZlncePOAxBG9/b/MlUeu3nVCKOH9Xx rB3Q2P8ACaJ4ZLymXf3ue/oCuw1h57rdcp4bh8mZrut81sKW+MPezJ57s79AhQyv/9Ul 3kq1zOw29nYn052TJv+ABWFErv1Ung7YEkMnViQxpEAv69Gm5DTKgTph1njbKBIL2ods K4JCzJQLTxenc/N449a9FZ9unLWHz4u7K5QgpF1OLvg4bIr6Afi1dyDEoRMaPDwg+TPc VbWA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=loongson.cn); spf=pass (google.com: domain of linux-kernel+bounces-70153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70153-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id z15-20020aa7d40f000000b005620c87d248si1207113edq.177.2024.02.17.18.31.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 18:31:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=loongson.cn); spf=pass (google.com: domain of linux-kernel+bounces-70153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70153-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A608B1F21C11 for ; Sun, 18 Feb 2024 02:30:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BCF3A17F8; Sun, 18 Feb 2024 02:30:50 +0000 (UTC) Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 52BCE136A; Sun, 18 Feb 2024 02:30:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=114.242.206.163 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708223450; cv=none; b=TUolR3YT+nq2fUCQ7J8AnkqYg2+rB5HNaZ9nJM4cxhsxFnXcaRHnUvVmZI5p1QQM4lXE5dPhoWyjW3FQ1Ni1ASHHJznSk3IoX4W0xQxrMuhsinJYmC1+UCvsZrwVIeyDVY3cKhuf7CDBJxDk8IUvVz36iNeDJGaGY1HyM1Vcd6E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708223450; c=relaxed/simple; bh=iuYSgsm82GmOEjBo/CfBN7Oyn3THVKnRtiZmMIR38p8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=dfB4gha62riC0M00PGFDtb+8ykHIUQ2mg7ZdOKhGPAWVak/W2QfZE1Uzp6//z87v7Ib95O4hE0vTYGk9JtwUSzvtKLnMWENeBnba7lCOzjGhgj7hlGu4G7uzFfX0PCTB4b1sBNtLauEeHbkdBbYgowN7j9f6M44dy7A7i0G9FUU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=loongson.cn; spf=pass smtp.mailfrom=loongson.cn; arc=none smtp.client-ip=114.242.206.163 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=loongson.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=loongson.cn Received: from loongson.cn (unknown [112.20.108.61]) by gateway (Coremail) with SMTP id _____8CxmejTa9Fl3AwOAA--.18173S3; Sun, 18 Feb 2024 10:30:43 +0800 (CST) Received: from [192.168.100.8] (unknown [112.20.108.61]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxnhPPa9FlJFU6AA--.28623S3; Sun, 18 Feb 2024 10:30:41 +0800 (CST) Message-ID: <0b9c8709-432e-41f4-83f7-9f78ef46ef8f@loongson.cn> Date: Sun, 18 Feb 2024 10:30:39 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] docs: dt: Update overlay file extension To: Geert Uytterhoeven , Andrew Davis , Jonathan Corbet , Alex Shi , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-doc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <5ac79104822cdce7a4caab87f14ce02477f85820.1707819511.git.geert+renesas@glider.be> Content-Language: en-US From: Yanteng Si In-Reply-To: <5ac79104822cdce7a4caab87f14ce02477f85820.1707819511.git.geert+renesas@glider.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID:AQAAf8BxnhPPa9FlJFU6AA--.28623S3 X-CM-SenderInfo: pvl1t0pwhqwqxorr0wxvrqhubq/ X-Coremail-Antispam: 1Uk129KBj93XoW3Ar43XFWkGFWrKr1kGF47WrX_yoW7Xr47pF 13JF17XF17Jr17Ww1UJF1UJr1UAr1UJ3WUGr17Jr1ktr4Yyr15Jr1Utwn5JFyUJFy8AryU JryUJFyUJr12k3XCm3ZEXasCq-sJn29KB7ZKAUJUUUU7529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU 0xBIdaVrnRJUUU9Kb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2 IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_JFI_Gr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI 0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_ Gr0_Gr1UM2kKe7AKxVWUXVWUAwAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYI kI8VC2zVCFFI0UMc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUAVWU twAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcVAKI48JMx kF7I0En4kS14v26r126r1DMxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4U MxCIbckI1I0E14v26r1Y6r17MI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI 0_JrI_JrWlx4CE17CEb7AF67AKxVWUtVW8ZwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE 14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20x vaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVWU JVW8JbIYCTnIWIevJa73UjIFyTuYvjxUcpBTUUUUU 在 2024/2/13 18:24, Geert Uytterhoeven 写道: > Building DTB overlays from .dts files is no longer supported. > Update the documentation to reflect this. > > Fixes: 81d362732bac05f6 ("kbuild: Disallow DTB overlays to built from .dts named source files") > Signed-off-by: Geert Uytterhoeven Reviewed-by: Yanteng Si Thanks, Yanteng > --- > Documentation/devicetree/overlay-notes.rst | 12 ++++++------ > .../translations/zh_CN/devicetree/overlay-notes.rst | 12 ++++++------ > 2 files changed, 12 insertions(+), 12 deletions(-) > > diff --git a/Documentation/devicetree/overlay-notes.rst b/Documentation/devicetree/overlay-notes.rst > index e139f22b363e9f36..35e79242af9a928d 100644 > --- a/Documentation/devicetree/overlay-notes.rst > +++ b/Documentation/devicetree/overlay-notes.rst > @@ -38,10 +38,10 @@ Lets take an example where we have a foo board with the following base tree:: > }; > ---- foo.dts --------------------------------------------------------------- > > -The overlay bar.dts, > +The overlay bar.dtso, > :: > > - ---- bar.dts - overlay target location by label ---------------------------- > + ---- bar.dtso - overlay target location by label --------------------------- > /dts-v1/; > /plugin/; > &ocp { > @@ -51,7 +51,7 @@ The overlay bar.dts, > ... /* various properties and child nodes */ > }; > }; > - ---- bar.dts --------------------------------------------------------------- > + ---- bar.dtso -------------------------------------------------------------- > > when loaded (and resolved as described in [1]) should result in foo+bar.dts:: > > @@ -88,9 +88,9 @@ in the base DT. In this case, the target path can be provided. The target > location by label syntax is preferred because the overlay can be applied to > any base DT containing the label, no matter where the label occurs in the DT. > > -The above bar.dts example modified to use target path syntax is:: > +The above bar.dtso example modified to use target path syntax is:: > > - ---- bar.dts - overlay target location by explicit path -------------------- > + ---- bar.dtso - overlay target location by explicit path ------------------- > /dts-v1/; > /plugin/; > &{/ocp} { > @@ -100,7 +100,7 @@ The above bar.dts example modified to use target path syntax is:: > ... /* various properties and child nodes */ > } > }; > - ---- bar.dts --------------------------------------------------------------- > + ---- bar.dtso -------------------------------------------------------------- > > > Overlay in-kernel API > diff --git a/Documentation/translations/zh_CN/devicetree/overlay-notes.rst b/Documentation/translations/zh_CN/devicetree/overlay-notes.rst > index 43e3c0bc5a9f8235..ba5edd05dc1e7fd2 100644 > --- a/Documentation/translations/zh_CN/devicetree/overlay-notes.rst > +++ b/Documentation/translations/zh_CN/devicetree/overlay-notes.rst > @@ -43,10 +43,10 @@ Documentation/devicetree/dynamic-resolution-notes.rst[1]的配套文档。 > }; > ---- foo.dts --------------------------------------------------------------- > > -覆盖bar.dts, > +覆盖bar.dtso, > :: > > - ---- bar.dts - 按标签覆盖目标位置 ---------------------------- > + ---- bar.dtso - 按标签覆盖目标位置 --------------------------- > /dts-v1/; > /插件/; > &ocp { > @@ -56,7 +56,7 @@ Documentation/devicetree/dynamic-resolution-notes.rst[1]的配套文档。 > ... /* 各种属性和子节点 */ > }; > }; > - ---- bar.dts --------------------------------------------------------------- > + ---- bar.dtso -------------------------------------------------------------- > > 当加载(并按照[1]中描述的方式解决)时,应该产生foo+bar.dts:: > > @@ -90,9 +90,9 @@ Documentation/devicetree/dynamic-resolution-notes.rst[1]的配套文档。 > DT中的适当位置。在这种情况下,可以提供目标路径。通过标签的目标位置的语法是比 > 较好的,因为不管标签在DT中出现在哪里,覆盖都可以被应用到任何包含标签的基础DT上。 > > -上面的bar.dts例子被修改为使用目标路径语法,即为:: > +上面的bar.dtso例子被修改为使用目标路径语法,即为:: > > - ---- bar.dts - 通过明确的路径覆盖目标位置 -------------------- > + ---- bar.dtso - 通过明确的路径覆盖目标位置 ------------------- > /dts-v1/; > /插件/; > &{/ocp} { > @@ -102,7 +102,7 @@ DT中的适当位置。在这种情况下,可以提供目标路径。通过标 > ... /* 各种外围设备和子节点 */ > } > }; > - ---- bar.dts --------------------------------------------------------------- > + ---- bar.dtso -------------------------------------------------------------- > > > 内核中关于覆盖的API