Skip to content

Series short description

John Bonesio linux-devicetree 1 version In review

Get series with b4
b4 am 20101102225243.1707.23433.stgit@riker

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Allow nodes to be refrenced by path at the top level.dtc-lexer.l dtc-parser.y tests/run_tests.sh +1 more+46 -45 replies
2/4Implements a new feature for deleting existing device tree nodes.Makefile.dtc checks.c dtc-lexer.l +5 more+98 -00 replies
3/4Implements a new feature for deleting existing properties in device tree nodes.dtc-lexer.l dtc-parser.y dtc.h +4 more+47 -60 replies
4/4Allow nodes at the root to be specified by path as well as by label.dtc-lexer.l dtc-parser.y dtc.h +1 more+133 -10 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchDavid Gibson
1/4A-b
2/4
3/4
4/4

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

Read the v1 thread

Cover letter [PATCH 0/4] Series short description

The following series implements various changes for merging and modifiying device trees.

The last one is a first stab at making labels from aliases. This way we can have a consistent syntax for paths from alias and label references:

	&{alias/path/from/alias}
	&{label/path/from/label}

There might be a better approach to implementing this. Once of the constraints I ended up following was to provide line information when there is an attempt to re-use a label from a deleted or modified node. This constraint (or requirement) might not be viewed as important like I think. Removing this might make the changes easier to implemnt but may make it harder for dts writers to discover the source of errors.

This last patch doesn't include a test case, though I have tested basic functionality.

---

John Bonesio (4):
Allow nodes to be refrenced by path at the top level.
Implements a new feature for deleting existing device tree nodes. Implements a new feature for deleting existing properties in device tree nodes. Allow nodes at the root to be specified by path as well as by label.

 Makefile.dtc                    |    1 
 checks.c                        |   20 +++++++
 dtc-lexer.l                     |   38 ++++++++++++-
 dtc-parser.y                    |   86 +++++++++++++++++++++++++++-
 dtc.h                           |   10 +++
 flattree.c                      |    3 +
 livetree.c                      |  118 +++++++++++++++++++++++++++++++++++++--
 tests/dtc-checkfails.sh         |    2 -
 tests/run_tests.sh              |    6 ++
 tests/test_tree1_merge_path.dts |   41 ++++++++++++++
 util.h                          |   10 +++
 11 files changed, 324 insertions(+), 11 deletions(-)
 create mode 100644 tests/test_tree1_merge_path.dts
Signature · 1 line
Signature