]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: video: mipi: add more compatible strings for rk3288/rk3399
authorJohan Jonker <jbx6244@gmail.com>
Sat, 16 Apr 2022 08:25:16 +0000 (10:25 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 18 Apr 2022 03:25:13 +0000 (11:25 +0800)
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 <jbx6244@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/video/rockchip/rk3288_mipi.c
drivers/video/rockchip/rk3399_mipi.c

index 7e48dd834663a5aacd1a18c7ca91dc697966e3f4..c0dffa3cba26e5c1d1c52f86dafb6e7e424e4ddb 100644 (file)
@@ -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" },
        { }
 };
index 9173350483149f5aec46739e0fc4c9964a91079a..7fc79ba904540ef866b2bcde8350031cf67c3062 100644 (file)
@@ -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" },
        { }
 };