mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 14:40:41 +00:00
5de0b5a36a
This migrates rk_vop (the shared functions used by multiple VOP mini-drivers) to be compatible with a live tree. Unfortunately, there's (i) a lot of tree traversal needed for a VOP (as each active VOP vnode references back to the endpoints in the encoders and vice versa) to configure the connection between VOPs and encoders; (ii) the DTS binding is not too sane and one needs to walk a node's parents (the original code just assumed that the device would live 3 levels above the property linked through a phandle) until a UCLASS_DISPLAY device can be found. As part of the migration, the code for finding the enclosing display device has been changed to not assume a specific depth of nesting (i.e. we walk until we reach the root or find a matching device) and to use the newly introduced (in the same series) ofnode_get_parent() function. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com> Reviewed-by: Anatolij Gustschin <agust@denx.de> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
rk3288_hdmi.c | ||
rk3288_mipi.c | ||
rk3288_vop.c | ||
rk3399_hdmi.c | ||
rk3399_mipi.c | ||
rk3399_vop.c | ||
rk_edp.c | ||
rk_hdmi.c | ||
rk_hdmi.h | ||
rk_lvds.c | ||
rk_mipi.c | ||
rk_mipi.h | ||
rk_vop.c | ||
rk_vop.h |