From: Frank Rowand <frowand.list@gmail.com>
To: 张波 <zbsdta@gmail.com>,
robh+dt@kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: How delete node or property in overlayd dts?
Date: Tue, 14 Aug 2018 18:26:25 -0700 [thread overview]
Message-ID: <c342562e-f915-a853-c2a8-eecefd94b88d@gmail.com> (raw)
In-Reply-To: <CADUUTHBZ---U7YNYYry7qJY=vt_QpXpytymqJQc9xLFE_NjsAg@mail.gmail.com>
On 08/14/18 07:46, 张波 wrote:
> /delete-node/ /delete-prop/ could be used in dtsi files without device
> tree overlay.
>
> but with device tree overlay, /delete-node/ and /delete-prop/ are not work.
> How to delete property and node in overlay dts?
>
> for example,
> in basel.dts have following node
> node1 {
> property1;
> property3;
> node2 {
> property2;
> }
> }
>
> in overlay.dts as following
> node1 {
> /delete-property/ property1;
> /delete-node/ node2;
> }
>
> after overlay, property1 and node2 is not deleted.
>
The /delete-node/ and /delete-prop/ directives are only used by the
dtc compiler within a single compilation.
There is nothing in the format of a devicetree blob to represent the
notion of deleting a property or a node.
You can not delete a property or a node in an overlay dtb.
next prev parent reply other threads:[~2018-08-15 1:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-14 14:46 How delete node or property in overlayd dts? 张波
2018-08-15 1:26 ` Frank Rowand [this message]
2018-08-17 17:47 ` Rob Herring
2018-08-18 10:38 ` Zhang Bo
2018-08-19 6:12 ` Frank Rowand
-- strict thread matches above, loose matches on Subject: below --
2018-08-14 14:44 张波
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=c342562e-f915-a853-c2a8-eecefd94b88d@gmail.com \
--to=frowand.list@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=zbsdta@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).