Skip to content

Restore phandles from binary representations

Uwe Kleine-König devicetree-compiler 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 4 repliesIn review
  2. v16 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Emit /plugin/ when compiling to .dts with DTSF_PLUGIN settreesource.c+4 -10 replies
2/6Set DTSF_PLUGIN if needed when compiling from dtbflattree.c+5 -10 replies
3/6Improve type guessing when compiling to dts formattreesource.c+40 -300 replies
4/6Restore labels from __symbols__ nodedtc.c dtc.h livetree.c+24 -00 replies
5/6Restore phandle references from __local_fixups__ nodedtc.c dtc.h livetree.c +1 more+94 -00 replies
6/6Restore phandle references from __fixups__ nodedtc.c dtc.h livetree.c +1 more+106 -00 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchDavid Gibson
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] Restore phandles from binary representations

Hello,

the motivation is to improve the result when compiling from dtb to dts. By restoring the labels and phandles the noise in the output of dtdiff is considerably reduced in many cases.

This is v2 of the series. (Implicit) v1 can be found at
https://lore.kernel.org/devicetree-compiler/[email protected]
. The only change is an added return statement in an error case that i missed to add. Thanks to David who spotted that.

Note that this series supersedes https://github.com/dgibson/dtc/pull/151
which can be closed once this series is in.

Best regards
Uwe

Uwe Kleine-König (6):
Emit /plugin/ when compiling to .dts with DTSF_PLUGIN set Set DTSF_PLUGIN if needed when compiling from dtb Improve type guessing when compiling to dts format Restore labels from __symbols__ node
Restore phandle references from __local_fixups__ node Restore phandle references from __fixups__ node

 dtc.c        |   5 ++
 dtc.h        |   6 ++
 flattree.c   |   6 +-
 livetree.c   | 174 +++++++++++++++++++++++++++++++++++++++++++++++++++
 treesource.c | 114 ++++++++++++++++++++++++---------
 5 files changed, 273 insertions(+), 32 deletions(-)

base-commit: 9197f1ccd95c9475006677aa97bf39727c1e8aa5

Signature · 1 line
2.51.0