* Use cases for fdt_nop_* functions @ 2014-09-09 22:52 Jay Bhukhanwala [not found] ` <CAB8QsTBno6L2MFE_JWbkpAH=iBhNzcEQroe0_yyBfYWRG8eCiA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 2+ messages in thread From: Jay Bhukhanwala @ 2014-09-09 22:52 UTC (permalink / raw) To: devicetree-compiler-u79uwXL29TY76Z2rM5mHXA What are the use cases for the below functions? fdt_nop_property fdt_nop_node How would the fdt_nop_node be any different from setting the status property to "disabled" ? I am suspecting the fdt_nop_node, basically makes the node undiscoverable in DT, but I need someone to please confirm the assumption. Thanks, Jay. -- To unsubscribe from this list: send the line "unsubscribe devicetree-compiler" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <CAB8QsTBno6L2MFE_JWbkpAH=iBhNzcEQroe0_yyBfYWRG8eCiA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Use cases for fdt_nop_* functions [not found] ` <CAB8QsTBno6L2MFE_JWbkpAH=iBhNzcEQroe0_yyBfYWRG8eCiA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2014-09-09 23:12 ` David Gibson 0 siblings, 0 replies; 2+ messages in thread From: David Gibson @ 2014-09-09 23:12 UTC (permalink / raw) To: Jay Bhukhanwala; +Cc: devicetree-compiler-u79uwXL29TY76Z2rM5mHXA [-- Attachment #1: Type: text/plain, Size: 854 bytes --] On Tue, Sep 09, 2014 at 03:52:51PM -0700, Jay Bhukhanwala wrote: > What are the use cases for the below functions? > fdt_nop_property > fdt_nop_node > > How would the fdt_nop_node be any different from setting the status > property to "disabled" ? > > I am suspecting the fdt_nop_node, basically makes the node > undiscoverable in DT, but I need someone to please confirm the > assumption. That's correct. fdt_nop_node and fdt_nop_property are functionally equivalent to deleting the node or property entirely, however unlike fdt_del_node() or fdt_del_property() they don't move any other existing nodes or properties around in the blob. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson [-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-09 23:12 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-09-09 22:52 Use cases for fdt_nop_* functions Jay Bhukhanwala [not found] ` <CAB8QsTBno6L2MFE_JWbkpAH=iBhNzcEQroe0_yyBfYWRG8eCiA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2014-09-09 23:12 ` David Gibson
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).