From: Radha Mohan Chintakuntla <radhamohan.cta-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: fdt_setprop comma-separated cells
Date: Wed, 21 Sep 2022 17:35:19 -0700 [thread overview]
Message-ID: <CA+Nonppng=cKrpwqz6YxiVLikvgZGeuYBfdEn3jH8fW49070Xw@mail.gmail.com> (raw)
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
next reply other threads:[~2022-09-22 0:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-22 0:35 Radha Mohan Chintakuntla [this message]
[not found] ` <CA+Nonppng=cKrpwqz6YxiVLikvgZGeuYBfdEn3jH8fW49070Xw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-09-26 16:49 ` fdt_setprop comma-separated cells Rob Herring
2022-09-28 5:35 ` David Gibson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+Nonppng=cKrpwqz6YxiVLikvgZGeuYBfdEn3jH8fW49070Xw@mail.gmail.com' \
--to=radhamohan.cta-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).