Skip to content

Commit dcaaefd

Browse files
Johan Jonkerkeveryang
authored andcommitted
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 <[email protected]> Reviewed-by: Kever Yang <[email protected]>
1 parent 0944e77 commit dcaaefd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/video/rockchip/rk3288_mipi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ static const struct dm_display_ops rk_mipi_dsi_ops = {
174174
};
175175

176176
static const struct udevice_id rk_mipi_dsi_ids[] = {
177+
{ .compatible = "rockchip,rk3288-mipi-dsi" },
177178
{ .compatible = "rockchip,rk3288_mipi_dsi" },
178179
{ }
179180
};

drivers/video/rockchip/rk3399_mipi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ static const struct dm_display_ops rk_mipi_dsi_ops = {
165165
};
166166

167167
static const struct udevice_id rk_mipi_dsi_ids[] = {
168+
{ .compatible = "rockchip,rk3399-mipi-dsi" },
168169
{ .compatible = "rockchip,rk3399_mipi_dsi" },
169170
{ }
170171
};

0 commit comments

Comments
 (0)