mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00
![]() There are already several helpers to find a udevice based on its position in a device tree, like getting a child or a node pointed by a phandle, but there was no support for graph endpoints, which are very common in display pipelines. Add a new helper, named uclass_get_device_by_endpoint() which enters the child graph reprensentation, looks for a specific port, then follows the remote endpoint, and finally retrieves the first parent of the given uclass_id. This is a very handy and straightforward way to get a bridge or a panel handle. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> |
||
---|---|---|
.. | ||
platform_data | ||
acpi.h | ||
device-internal.h | ||
device.h | ||
device_compat.h | ||
devres.h | ||
fdtaddr.h | ||
lists.h | ||
of.h | ||
of_access.h | ||
of_addr.h | ||
of_extra.h | ||
ofnode.h | ||
ofnode_decl.h | ||
ofnode_graph.h | ||
pci.h | ||
pinctrl.h | ||
platdata.h | ||
read.h | ||
root.h | ||
simple_bus.h | ||
tag.h | ||
test.h | ||
uclass-id.h | ||
uclass-internal.h | ||
uclass.h | ||
util.h |