On Wed, Jan 3, 2018 at 11:12 AM, <kevans@xxxxxxxxxxx> wrote: > 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 It seems I also goofed the Signed-off-by lines this series; I've been changing them manually for dtc/libfdt patches as I'm doing these in a FreeBSD capacity. Apologies. -- To unsubscribe from this list: send the line "unsubscribe devicetree-compiler" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html