mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	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 <jbx6244@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
		
							parent
							
								
									0944e77fde
								
							
						
					
					
						commit
						dcaaefdc0a
					
				@ -174,6 +174,7 @@ static const struct dm_display_ops rk_mipi_dsi_ops = {
 | 
				
			|||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const struct udevice_id rk_mipi_dsi_ids[] = {
 | 
					static const struct udevice_id rk_mipi_dsi_ids[] = {
 | 
				
			||||||
 | 
						{ .compatible = "rockchip,rk3288-mipi-dsi" },
 | 
				
			||||||
	{ .compatible = "rockchip,rk3288_mipi_dsi" },
 | 
						{ .compatible = "rockchip,rk3288_mipi_dsi" },
 | 
				
			||||||
	{ }
 | 
						{ }
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
				
			|||||||
@ -165,6 +165,7 @@ static const struct dm_display_ops rk_mipi_dsi_ops = {
 | 
				
			|||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const struct udevice_id rk_mipi_dsi_ids[] = {
 | 
					static const struct udevice_id rk_mipi_dsi_ids[] = {
 | 
				
			||||||
 | 
						{ .compatible = "rockchip,rk3399-mipi-dsi" },
 | 
				
			||||||
	{ .compatible = "rockchip,rk3399_mipi_dsi" },
 | 
						{ .compatible = "rockchip,rk3399_mipi_dsi" },
 | 
				
			||||||
	{ }
 | 
						{ }
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user