devicetree-compiler.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] stacked overlay support
@ 2017-07-25 17:24 Pantelis Antoniou
       [not found] ` <1501003476-2480-1-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Pantelis Antoniou @ 2017-07-25 17:24 UTC (permalink / raw)
  To: David Gibson
  Cc: Tom Rini, Nishanth Menon, Tero Kristo, Frank Rowand, Rob Herring,
	Simon Glass, Devicetree Compiler,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Pantelis Antoniou

Overlay application has a shortcoming that it is not possible
to refer to labels that were defined by a previously applied
overlay.

This patchset fixes the problem by keeping around the labels
that each overlay contains.

It is dependent on two previously submitted patches
"Introduce fdt_get_path_len() method"
"Introduce fdt_setprop_placeholder() method"

Changes since V2:
* Rework to make application faster when using target-path
* Various cosmetic fixes

Changes since V1:
* Rework to remove reliance on malloc and FDT_PATH_MAX


Pantelis Antoniou (2):
  fdt: Allow stacked overlays phandle references
  tests: Add stacked overlay tests on fdtoverlay

 libfdt/fdt_overlay.c           | 197 ++++++++++++++++++++++++++++++++++++-----
 tests/run_tests.sh             |  15 ++++
 tests/stacked_overlay_bar.dts  |  13 +++
 tests/stacked_overlay_base.dts |   6 ++
 tests/stacked_overlay_baz.dts  |  13 +++
 5 files changed, 222 insertions(+), 22 deletions(-)
 create mode 100644 tests/stacked_overlay_bar.dts
 create mode 100644 tests/stacked_overlay_base.dts
 create mode 100644 tests/stacked_overlay_baz.dts

-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" 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] 6+ messages in thread

end of thread, other threads:[~2017-07-31 13:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-25 17:24 [PATCH v3 0/2] stacked overlay support Pantelis Antoniou
     [not found] ` <1501003476-2480-1-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2017-07-25 17:24   ` [PATCH v3 1/2] fdt: Allow stacked overlays phandle references Pantelis Antoniou
     [not found]     ` <1501003476-2480-2-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2017-07-31 13:32       ` David Gibson
2017-07-25 17:24   ` [PATCH v3 2/2] tests: Add stacked overlay tests on fdtoverlay Pantelis Antoniou
     [not found]     ` <1501003476-2480-3-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2017-07-31 13:35       ` David Gibson
     [not found]         ` <20170731133530.GL2652-K0bRW+63XPQe6aEkudXLsA@public.gmane.org>
2017-07-31 13:36           ` 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).