From 50c201a1027e945c57f11b28122ce138f4acf975 Mon Sep 17 00:00:00 2001 From: Ruihai Zhou Date: Fri, 26 May 2023 11:15:59 +0800 Subject: 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 Change-Id: I510462a49d273f3d25158b25906d4c514f855cdf Reviewed-on: https://review.coreboot.org/c/coreboot/+/75479 Tested-by: build bot (Jenkins) Reviewed-by: Yidi Lin --- src/mainboard/google/corsola/panel_starmie.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') diff --git a/src/mainboard/google/corsola/panel_starmie.c b/src/mainboard/google/corsola/panel_starmie.c index aadabf4119..9306960309 100644 --- a/src/mainboard/google/corsola/panel_starmie.c +++ b/src/mainboard/google/corsola/panel_starmie.c @@ -38,11 +38,20 @@ static void mipi_panel_power_on(void) } 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] = { .power_on = mipi_panel_power_on, .name = "STA_ILI9882T", .orientation = LB_FB_ORIENTATION_LEFT_UP, }, + /* STA panel vendor and HIMAX83102_J02 chip */ [10] = { .power_on = mipi_panel_power_on, .name = "STA_HIMAX83102_J02", -- cgit v1.2.3