All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>
To: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
Subject: Re: [PATCH V2] dtc: Add ability to delete nodes and properties
Date: Thu, 5 Jul 2012 08:19:50 +0200	[thread overview]
Message-ID: <20120705061950.GI17705@game.jcrosoft.org> (raw)
In-Reply-To: <4FF35218.4030602-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>

On 14:12 Tue 03 Jul     , Stephen Warren wrote:
> On 06/12/2012 05:10 PM, Stephen Warren wrote:
> > From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> > 
> > dtc currently allows the contents of properties to be changed, and the
> > contents of nodes to be added to. There are situations where removing
> > properties or nodes may be useful. This change implements the following
> > syntax to do that:
> > 
> >     / {
> >         propname /delprop/;
> >         nodename /delnode/;
> >     };
> > 
> > or:
> > 
> >     &noderef /delnode/;
> > 
> > Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> > ---
> > v2: Implemented in a significantly different fashion: Rather than actually
> > deleting nodes/properties as the DT is parsed, simply mark them deleted,
> > and skip deleted nodes during later processing. This allows implementation
> > without needing rework of various error-checks, such as duplicate labels.
> 
> David, Jon, does this look reasonable?
I need this on AT91 as Grant refused to have a 0 value on boolean

so this is my only ay to disable it

Best Regards,
J.
> _______________________________________________
> devicetree-discuss mailing list
> devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
> https://lists.ozlabs.org/listinfo/devicetree-discuss

  parent reply	other threads:[~2012-07-05  6:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-12 23:10 [PATCH V2] dtc: Add ability to delete nodes and properties Stephen Warren
     [not found] ` <1339542620-24590-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-06-27 21:39   ` Stephen Warren
2012-07-03 20:12   ` Stephen Warren
     [not found]     ` <4FF35218.4030602-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-07-05  6:19       ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-08-03  6:04   ` David Gibson

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=20120705061950.GI17705@game.jcrosoft.org \
    --to=plagnioj-sclmfoaustbwk0htik3j/w@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.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 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.