On 4 February 2018 at 00:44, Kever Yang <kever.y...@rock-chips.com> wrote:
> Hi Simon, Philipp,
> When I try to convert to live dt, I fount there are many APIs work
> in fdt are missing in live dt,
> do you have any suggestion to add these APIs in live dt quickly? I need:
dev_read_addr_size() - not having a parent doesn't happen with livetree
We don't support changing the live tree yet.
This is an odd function. Can you first check that the property exists,
and then use a dev_read_...() function to read it?
dev_read_name() - although I see that the comment is wrong
Not available but you can add it
Why do you need this?
uclass_get_device_by_phandle() or similar?
ofnode_path() although it does not return a device. Best avoided.
You can't change the livtree at present.
Why do you want that?
This should be found by scanning, generally using separate drivers for
each DT node.
If you like you could send a patch with the info above, to
doc/driver-model/livetree.txt to help others.
U-Boot mailing list