[PATCH v2 3/7] video: rockchip: rk_vop: add rk3288-dp compare string

Kever Yang kever.yang at rock-chips.com
Tue Mar 21 04:15:02 CET 2023


On 2023/3/16 02:33, Johan Jonker wrote:
> In the current rk3288.dtsi file the compatible string for
> the DisplayPort(DP) node ends with "edp". The string in the
> binding ends with "dp" which conflicts with "cdn-dp" as a
> search term. Add "rk3288-dp" as compare string to select
> vop_id.
>
> Signed-off-by: Johan Jonker <jbx6244 at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Tested-by: Simon Glass <sjg at chromium.org>  # chromebook-jerry
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>   drivers/video/rockchip/rk_vop.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/video/rockchip/rk_vop.c b/drivers/video/rockchip/rk_vop.c
> index bc98ab68..e21ac7e3 100644
> --- a/drivers/video/rockchip/rk_vop.c
> +++ b/drivers/video/rockchip/rk_vop.c
> @@ -307,7 +307,8 @@ static int rk_display_init(struct udevice *dev, ulong fbbase, ofnode ep_node)
>   		      __func__, dev_read_name(dev));
>   		return -EINVAL;
>   	}
> -	if (strstr(compat, "edp")) {
> +	if (strstr(compat, "edp") ||
> +	    strstr(compat, "rk3288-dp")) {
>   		vop_id = VOP_MODE_EDP;
>   	} else if (strstr(compat, "mipi")) {
>   		vop_id = VOP_MODE_MIPI;
> --
> 2.20.1
>


More information about the U-Boot mailing list