mb/google/corsola/var/starmie: Add K&D-ILI9882T panel support
The K&D-ILI9882T panel and STA-ILI9882T share all DCS commands and EDID information except for the manufacturer_name which has no effect to the function of panel. Let's reuse the STA_ILI9882T struct in this case. BUG=None TEST=emerge-staryu coreboot chromeos-bootimage and boot the panel Signed-off-by: Ruihai Zhou <zhouruihai@huaqin.corp-partner.google.com> Change-Id: I510462a49d273f3d25158b25906d4c514f855cdf Reviewed-on: https://review.coreboot.org/c/coreboot/+/75479 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yidi Lin <yidilin@google.com>
This commit is contained in:
		@@ -38,11 +38,20 @@ static void mipi_panel_power_on(void)
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static struct panel_description starmie_panels[] = {
 | 
					static struct panel_description starmie_panels[] = {
 | 
				
			||||||
 | 
						/* K&D panel vendor and ILI9882T chip,
 | 
				
			||||||
 | 
						   K&D and STA panel are identical except manufacturer_name. */
 | 
				
			||||||
 | 
						[3] = {
 | 
				
			||||||
 | 
							.power_on = mipi_panel_power_on,
 | 
				
			||||||
 | 
							.name = "STA_ILI9882T",
 | 
				
			||||||
 | 
							.orientation = LB_FB_ORIENTATION_LEFT_UP,
 | 
				
			||||||
 | 
						},
 | 
				
			||||||
 | 
						/* STA panel vendor and ILI9882T chip */
 | 
				
			||||||
	[8] = {
 | 
						[8] = {
 | 
				
			||||||
		.power_on = mipi_panel_power_on,
 | 
							.power_on = mipi_panel_power_on,
 | 
				
			||||||
		.name = "STA_ILI9882T",
 | 
							.name = "STA_ILI9882T",
 | 
				
			||||||
		.orientation = LB_FB_ORIENTATION_LEFT_UP,
 | 
							.orientation = LB_FB_ORIENTATION_LEFT_UP,
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
 | 
						/* STA panel vendor and HIMAX83102_J02 chip */
 | 
				
			||||||
	[10] = {
 | 
						[10] = {
 | 
				
			||||||
		.power_on = mipi_panel_power_on,
 | 
							.power_on = mipi_panel_power_on,
 | 
				
			||||||
		.name = "STA_HIMAX83102_J02",
 | 
							.name = "STA_HIMAX83102_J02",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user