From: Johan Jonker Date: Sat, 16 Apr 2022 08:25:16 +0000 (+0200) Subject: rockchip: video: mipi: add more compatible strings for rk3288/rk3399 X-Git-Tag: v2025.01-rc5-pxa1908~1451^2 X-Git-Url: http://git.dujemihanovic.xyz/projects?a=commitdiff_plain;h=dcaaefdc0a7b3052e513b0e5dd2b00be4436386b;p=u-boot.git rockchip: video: mipi: add more compatible strings for rk3288/rk3399 The rk3288/RK3399 DT synced from Linux contains some different compatible strings in the mipi node then origanal used in U-boot. Allow both options to be backwards compatible and to be able to handle recent rk3288.dtsi and rk3399.dtsi files. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang --- diff --git a/drivers/video/rockchip/rk3288_mipi.c b/drivers/video/rockchip/rk3288_mipi.c index 7e48dd8346..c0dffa3cba 100644 --- a/drivers/video/rockchip/rk3288_mipi.c +++ b/drivers/video/rockchip/rk3288_mipi.c @@ -174,6 +174,7 @@ static const struct dm_display_ops rk_mipi_dsi_ops = { }; static const struct udevice_id rk_mipi_dsi_ids[] = { + { .compatible = "rockchip,rk3288-mipi-dsi" }, { .compatible = "rockchip,rk3288_mipi_dsi" }, { } }; diff --git a/drivers/video/rockchip/rk3399_mipi.c b/drivers/video/rockchip/rk3399_mipi.c index 9173350483..7fc79ba904 100644 --- a/drivers/video/rockchip/rk3399_mipi.c +++ b/drivers/video/rockchip/rk3399_mipi.c @@ -165,6 +165,7 @@ static const struct dm_display_ops rk_mipi_dsi_ops = { }; static const struct udevice_id rk_mipi_dsi_ids[] = { + { .compatible = "rockchip,rk3399-mipi-dsi" }, { .compatible = "rockchip,rk3399_mipi_dsi" }, { } };