devicetree-compiler.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] overlays: auto allocate phandles for nodes in base fdt
@ 2018-01-03 17:12 kevans-HZy0K5TPuP5AfugRpC6u6w
       [not found] ` <20180103171234.86105-1-kevans-HZy0K5TPuP5AfugRpC6u6w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: kevans-HZy0K5TPuP5AfugRpC6u6w @ 2018-01-03 17:12 UTC (permalink / raw)
  To: David Gibson, Jon Loeliger; +Cc: devicetree-compiler-u79uwXL29TY76Z2rM5mHXA

Nodes in the base fdt that do not have phandles cannot currently be referenced
in overlays; we can target them for an overlay, but we cannot use them as a
reference in another property if needed. This is quite limiting for some
use-cases where you're needing cross-references that don't currently exist in
the base.

Kyle Evans (2):
  fdt_overlay: Allocate phandles as needed for nodes referenced in base
    fdt
  fdt_overlay: Basic regression tests for automatically allocated
    phandles

 libfdt/fdt_overlay.c                               | 64 +++++++++++++++++-----
 tests/overlay_base_manual_symbols_auto_phandle.dts | 24 ++++++++
 tests/run_tests.sh                                 |  6 ++
 3 files changed, 81 insertions(+), 13 deletions(-)
 create mode 100644 tests/overlay_base_manual_symbols_auto_phandle.dts

-- 
2.15.1

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

end of thread, other threads:[~2018-01-03 17:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-03 17:12 [PATCH v3 0/2] overlays: auto allocate phandles for nodes in base fdt kevans-HZy0K5TPuP5AfugRpC6u6w
     [not found] ` <20180103171234.86105-1-kevans-HZy0K5TPuP5AfugRpC6u6w@public.gmane.org>
2018-01-03 17:12   ` [PATCH v3 1/2] fdt_overlay: Allocate phandles as needed for nodes referenced " kevans-HZy0K5TPuP5AfugRpC6u6w
2018-01-03 17:12   ` [PATCH v3 2/2] fdt_overlay: Basic regression tests for automatically allocated phandles kevans-HZy0K5TPuP5AfugRpC6u6w

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