public inbox for devicetree-compiler@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] libfdt: Add namelen variants for setprop
@ 2024-12-05  4:51 Ayush Singh
  2024-12-05  4:51 ` [PATCH v2 1/4] libfdt: add fdt_get_property_namelen_w() Ayush Singh
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Ayush Singh @ 2024-12-05  4:51 UTC (permalink / raw)
  To: d-gole, lorforlinux, jkridner, robertcnelson, nenad.marinkovic,
	Andrew Davis, Geert Uytterhoeven, Robert Nelson, David Gibson
  Cc: devicetree-compiler, Ayush Singh

Helper functions to setproperty with length of property name similar to
getprop_namelen variants.

This patch series was originally part of overlay-path patch series [0].

[0]: https://lore.kernel.org/devicetree-compiler/6b2dba90-3c52-4933-88f3-b47f96dc7710@beagleboard.org/T/#t

Signed-off-by: Ayush Singh <ayush@beagleboard.org>

---
Changes in v2:
- Rename fdt_setprop_namelen_placeholder() to
  fdt_setprop_placeholder_namelen().
- Some formatting changes in fdt_resize_property_().
- Add trailers.
- Link to v1: https://lore.kernel.org/r/20241203-setprop-namelen-v1-0-d1ea333fbd6c@beagleboard.org

---
Ayush Singh (4):
      libfdt: add fdt_get_property_namelen_w()
      libfdt_internal: fdt_find_string_len_()
      libfdt: Add fdt_setprop_namelen()
      libfdt: Add fdt_setprop_namelen_string()

 libfdt/fdt.c             |   8 ++--
 libfdt/fdt_rw.c          |  41 +++++++++-------
 libfdt/libfdt.h          | 120 +++++++++++++++++++++++++++++++++++++++++++++--
 libfdt/libfdt_internal.h |  11 ++++-
 libfdt/version.lds       |   2 +
 5 files changed, 156 insertions(+), 26 deletions(-)
---
base-commit: 6f183c7d9246bde8f05d2edbc31fdd497c4a8702
change-id: 20241203-setprop-namelen-a94f7f057acf

Best regards,
-- 
Ayush Singh <ayush@beagleboard.org>


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

end of thread, other threads:[~2024-12-06  5:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-05  4:51 [PATCH v2 0/4] libfdt: Add namelen variants for setprop Ayush Singh
2024-12-05  4:51 ` [PATCH v2 1/4] libfdt: add fdt_get_property_namelen_w() Ayush Singh
2024-12-05  4:51 ` [PATCH v2 2/4] libfdt_internal: fdt_find_string_len_() Ayush Singh
2024-12-05  4:51 ` [PATCH v2 3/4] libfdt: Add fdt_setprop_namelen() Ayush Singh
2024-12-05  4:51 ` [PATCH v2 4/4] libfdt: Add fdt_setprop_namelen_string() Ayush Singh
2024-12-06  5:48 ` [PATCH v2 0/4] libfdt: Add namelen variants for setprop David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox