devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: 张波 <zbsdta@gmail.com>
To: robh+dt@kernel.org, frowand.list@gmail.com,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: How delete node or property in overlayd dts?
Date: Tue, 14 Aug 2018 22:46:50 +0800	[thread overview]
Message-ID: <CADUUTHBZ---U7YNYYry7qJY=vt_QpXpytymqJQc9xLFE_NjsAg@mail.gmail.com> (raw)

/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.

             reply	other threads:[~2018-08-14 14:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-14 14:46 张波 [this message]
2018-08-15  1:26 ` How delete node or property in overlayd dts? Frank Rowand
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='CADUUTHBZ---U7YNYYry7qJY=vt_QpXpytymqJQc9xLFE_NjsAg@mail.gmail.com' \
    --to=zbsdta@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=frowand.list@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /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).