devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] libfdt: Add support for device tree overlays
@ 2016-05-27  8:28 Maxime Ripard
       [not found] ` <1464337729-7821-1-git-send-email-maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Maxime Ripard @ 2016-05-27  8:28 UTC (permalink / raw)
  To: David Gibson
  Cc: Pantelis Antoniou, Boris Brezillon, Alexander Kaplan,
	Thomas Petazzoni, devicetree-compiler-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Simon Glass,
	Antoine Ténart, Maxime Ripard

Hi,

The device tree overlays are a great solution to the issue raised by
the bunch expandable boards we find everywhere these days, like the
Beaglebone, Raspberry Pi or CHIP.

Although for now Linux is the only available tool that can deal with
overlays, some other components like bootloaders or user-space tools
might need to apply these overlays on top of a base device tree.

To address these use cases, we introduce a new function to the libfdt,
fdt_overlay_apply, that does just that.

You can find a test program here: http://code.bulix.org/792zum-99476?raw

Let me know what you think!
Maxime

Maxime Ripard (3):
  libfdt: Add iterator over properties
  libfdt: Add max phandle retrieval function
  libfdt: Add overlay application function

Thierry Reding (1):
  libfdt: Add a subnodes iterator macro

 libfdt/Makefile.libfdt |   2 +-
 libfdt/fdt_overlay.c   | 414 +++++++++++++++++++++++++++++++++++++++++++++++++
 libfdt/fdt_ro.c        |  15 ++
 libfdt/libfdt.h        |  92 +++++++++++
 libfdt/libfdt_env.h    |   1 +
 5 files changed, 523 insertions(+), 1 deletion(-)
 create mode 100644 libfdt/fdt_overlay.c

-- 
2.8.2

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-06-02  5:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-27  8:28 [PATCH 0/4] libfdt: Add support for device tree overlays Maxime Ripard
     [not found] ` <1464337729-7821-1-git-send-email-maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2016-05-27  8:28   ` [PATCH] fdt: Add a subnodes iterator macro Maxime Ripard
2016-05-27  8:28   ` [PATCH 1/4] libfdt: " Maxime Ripard
     [not found]     ` <1464337729-7821-3-git-send-email-maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2016-05-31  0:47       ` David Gibson
     [not found]         ` <20160531004719.GF17226-RXTfZT5YzpxwFLYp8hBm2A@public.gmane.org>
2016-05-31  0:54           ` David Gibson
2016-05-27  8:28   ` [PATCH 2/4] libfdt: Add iterator over properties Maxime Ripard
     [not found]     ` <1464337729-7821-4-git-send-email-maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2016-05-31  0:53       ` David Gibson
2016-05-27  8:28   ` [PATCH 3/4] libfdt: Add max phandle retrieval function Maxime Ripard
     [not found]     ` <1464337729-7821-5-git-send-email-maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2016-05-31  1:02       ` David Gibson
2016-05-27  8:28   ` [PATCH 4/4] libfdt: Add overlay application function Maxime Ripard
     [not found]     ` <1464337729-7821-6-git-send-email-maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2016-06-02  5:23       ` 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).