devicetree-compiler.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fdt_setprop comma-separated cells
@ 2022-09-22  0:35 Radha Mohan Chintakuntla
       [not found] ` <CA+Nonppng=cKrpwqz6YxiVLikvgZGeuYBfdEn3jH8fW49070Xw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Radha Mohan Chintakuntla @ 2022-09-22  0:35 UTC (permalink / raw)
  To: devicetree-compiler-u79uwXL29TY76Z2rM5mHXA

Hi,
Not sure if this right forum to discuss this issue.
I have a requirement where I have to update the device tree property
with comma-separated values. If I use fdt_setprop() and pass a
2-dimensional array then it is not creating the property with comma
separation. Instead I get all the values in same cell separated by
space.

Is there any other way this should be done?
I have referred to some uboot code that used libfdt and does same way
as me but even that has the same problem.

Any suggestions please?

regards,
RC

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

end of thread, other threads:[~2022-09-28  5:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-22  0:35 fdt_setprop comma-separated cells Radha Mohan Chintakuntla
     [not found] ` <CA+Nonppng=cKrpwqz6YxiVLikvgZGeuYBfdEn3jH8fW49070Xw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-09-26 16:49   ` Rob Herring
2022-09-28  5:35   ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).