summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorRuihai Zhou <zhouruihai@huaqin.corp-partner.google.com>2023-05-26 11:15:59 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-06-06 12:16:44 +0000
commit50c201a1027e945c57f11b28122ce138f4acf975 (patch)
tree29693f6be315fb2e669fac300287eeb549f85c0b /src/mainboard/google
parent4a6041814ee0e2e19bc97da550689f7a2d9b7873 (diff)
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>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/corsola/panel_starmie.c9
1 files changed, 9 insertions, 0 deletions
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",