All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] fdtput: Make it clearer how to create nodes
@ 2026-10-27 12:01 Simon Glass
  2026-10-27 12:01 ` [PATCH 1/5] fdtput: Explain " Simon Glass
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Simon Glass @ 2026-10-27 12:01 UTC (permalink / raw)
  To: Devicetree Compiler; +Cc: David Gibson, Simon Glass

fdtput can create nodes with -c, and -p creates any missing nodes along
the way, but this is easy to miss. A user has asked for a way to add
nodes, not realising that one exists.

The first patch explains in the help and the manual how to create
nodes. The second fixes -p for a path which starts with an alias, which
creates a stray node at the top level. The third suggests -p when a
node is missing, naming the parent which is missing. The fourth names
the property, rather than the node, when it cannot be deleted. The
fifth corrects the manual's description of -t.

Link: https://github.com/dgibson/dtc/issues/49


Simon Glass (5):
  fdtput: Explain how to create nodes
  fdtput: Follow an alias when creating nodes with -p
  fdtput: Suggest -p when a node is missing
  fdtput: Name the property when it cannot be deleted
  fdtput: Correct the description of -t in the manual

 Documentation/manual.txt | 38 ++++++++++++++++++++++++++++++-----
 fdtput.c                 | 43 ++++++++++++++++++++++++++++++++++------
 tests/run_tests.sh       | 11 ++++++++++
 3 files changed, 81 insertions(+), 11 deletions(-)

---
base-commit: 9a712e0c7fb7eec14cc83a06d7a2ff7910f49b97
branch: fdtput-nodes

-- 
2.43.0


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

end of thread, other threads:[~2026-10-28  7:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-27 12:01 [PATCH 0/5] fdtput: Make it clearer how to create nodes Simon Glass
2026-10-27 12:01 ` [PATCH 1/5] fdtput: Explain " Simon Glass
2026-10-27 12:01 ` [PATCH 2/5] fdtput: Follow an alias when creating nodes with -p Simon Glass
2026-10-28  1:34   ` David Gibson
2026-10-27 12:01 ` [PATCH 3/5] fdtput: Suggest -p when a node is missing Simon Glass
2026-10-28  1:39   ` David Gibson
2026-10-28  7:39     ` Simon Glass
2026-10-27 12:01 ` [PATCH 4/5] fdtput: Name the property when it cannot be deleted Simon Glass
2026-10-28  1:43   ` David Gibson
2026-10-27 12:01 ` [PATCH 5/5] fdtput: Correct the description of -t in the manual Simon Glass
2026-10-28  1:58 ` [PATCH 0/5] fdtput: Make it clearer how to create nodes David Gibson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.