u-boot-brain/drivers/video/rockchip
Philipp Tomsich 5de0b5a36a rockchip: video: rk_vop: migrate to livetree
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>
2018-02-23 20:48:48 +01:00
..
Kconfig rockchip: video: Kconfig: set MAX_XRES and MAX_YRES via Kconfig 2017-06-07 21:30:49 -06:00
Makefile rockchip: video: Makefile: Add soc specific driver for rk3288 mipi dsi 2017-08-07 21:32:11 +02:00
rk_edp.c rockchip: video: Add remove() methods 2017-06-09 13:45:28 -06:00
rk_hdmi.c rockchip: video: rk_hdmi: migrate to livetree 2018-02-23 20:48:31 +01:00
rk_hdmi.h rockchip: video: document externally visible functions for rk_hdmi 2017-06-09 15:53:48 +02:00
rk_lvds.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
rk_mipi.c rockchip: video: mipi: Split mipi driver into common and specific parts 2017-08-07 20:44:01 +02:00
rk_mipi.h rockchip: video: mipi: Add rk3288 soc specific driver for mipi dsi 2017-08-07 21:16:22 +02:00
rk_vop.c rockchip: video: rk_vop: migrate to livetree 2018-02-23 20:48:48 +01:00
rk_vop.h rockchip: video: document externally visible functions for rk_vop 2017-06-09 15:57:25 +02:00
rk3288_hdmi.c rockchip: video: split RK3288-specific part off from rk_hdmi 2017-06-07 21:30:50 -06:00
rk3288_mipi.c rockchip: video: mipi: Add rk3288 soc specific driver for mipi dsi 2017-08-07 21:16:22 +02:00
rk3288_vop.c rockchip: video: Add remove() methods 2017-06-09 13:45:28 -06:00
rk3399_hdmi.c rockchip: video: rk3399: add HDMI TX support on the RK3399 2017-06-07 21:30:50 -06:00
rk3399_mipi.c rockchip: video: mipi: Split mipi driver into common and specific parts 2017-08-07 20:44:01 +02:00
rk3399_vop.c rockchip: video: rk3399: enable HDMI output (from the rk_vop) for the RK3399 2017-06-07 21:30:49 -06:00