u-boot-brain/drivers/video/rockchip
Arnaud Patard (Rtp) 7fe2ebf3a3 rockchip: video: vop: Use endpoint compatible string to find VOP mode
The current code is using an hard coded enum and the of node reg value of
endpoint to find out if the endpoint is mipi/hdmi/lvds/edp/dp. The order
is different between rk3288, rk3399 vop little, rk3399 vop big.

A possible solution would be to make sure that the rk3288.dtsi and
rk3399.dtsi files have "expected" reg value or an other solution is
to find the kind of endpoint by comparing the endpoint compatible value.

This patch is implementing the more flexible second solution.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
2021-04-10 11:51:13 +02:00
..
Kconfig video: rockchip: Support 4K resolution for rk3288, HDMI 2020-10-30 23:09:01 +08:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3288_hdmi.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
rk3288_mipi.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
rk3288_vop.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
rk3399_hdmi.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
rk3399_mipi.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
rk3399_vop.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
rk_edp.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
rk_hdmi.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
rk_hdmi.h dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
rk_lvds.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
rk_mipi.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
rk_mipi.h video: rockchip: Restrict EDP, VOP, MIPI files to GPL-2.0 2020-11-13 18:16:11 +08:00
rk_vop.c rockchip: video: vop: Use endpoint compatible string to find VOP mode 2021-04-10 11:51:13 +02:00
rk_vop.h video: rockchip: Restrict EDP, VOP, MIPI files to GPL-2.0 2020-11-13 18:16:11 +08:00