-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fdtput does not seem to support to add a new node as a children #49
Comments
I'm not sure exactly what you're asking for here. Do you mean you want I think that case just wasn't considered when writing it. Patches welcome? |
Yes, the problem is you can use fdtput to extend the device tree entry by entry when calling it multiple times. However, I was not able to create a new node (which is per default a child node to another node if I understood the device tree specification correctly). Therefore I couldn't use fdtput to solve my problem. I can think of two interfaces:
However, realistically, I won't create a patch to provide this functionality, as it was only a side problem and I basically stopped using fdtput directly after starting to use it. So please feel free to close this bug, if you think this is the best way to handle it in this situation. |
Right, those are the two obvious interfaces, or alternatively adding a new fdtsubnode command. It's a reasonable thing to want, and it shouldn't be that complicated but I don't have the spare time to work on it, so I don't expect it to happen until/unless someone volunteers to do it. |
Either it's not documented or it's not supported to add a new node as a children using fdtput. This limits the use of fdtput.
The text was updated successfully, but these errors were encountered: