summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/trogdor/Kconfig4
-rw-r--r--src/mainboard/google/trogdor/mainboard.c13
2 files changed, 16 insertions, 1 deletions
diff --git a/src/mainboard/google/trogdor/Kconfig b/src/mainboard/google/trogdor/Kconfig
index ebe6df4bf5..1a8ad0c4f6 100644
--- a/src/mainboard/google/trogdor/Kconfig
+++ b/src/mainboard/google/trogdor/Kconfig
@@ -14,9 +14,11 @@ config TROGDOR_HAS_BRIDGE_BACKLIGHT
config TROGDOR_HAS_MIPI_PANEL
bool
- default y if BOARD_GOOGLE_MRBLAND
+ default y if BOARD_GOOGLE_MRBLAND || BOARD_GOOGLE_WORMDINGLER
select MIPI_PANEL_AUO_B101UAN08_3 if BOARD_GOOGLE_MRBLAND
select MIPI_PANEL_BOE_TV101WUM_N53 if BOARD_GOOGLE_MRBLAND
+ select MIPI_PANEL_INX_P110ZZD_DF0 if BOARD_GOOGLE_WORMDINGLER
+ select MIPI_PANEL_BOE_TV110C9M_LL0 if BOARD_GOOGLE_WORMDINGLER
default n
config TROGDOR_HAS_FINGERPRINT
diff --git a/src/mainboard/google/trogdor/mainboard.c b/src/mainboard/google/trogdor/mainboard.c
index 5d4f9a4685..41bef2b3e7 100644
--- a/src/mainboard/google/trogdor/mainboard.c
+++ b/src/mainboard/google/trogdor/mainboard.c
@@ -119,6 +119,19 @@ static struct panel_serializable_data *get_mipi_panel(enum lb_fb_orientation *or
}
}
+ if (CONFIG(BOARD_GOOGLE_WORMDINGLER)) {
+ switch (panel_id) {
+ case 0:
+ cbfs_filename = "panel-INX_P110ZZD_DF0";
+ *orientation = LB_FB_ORIENTATION_LEFT_UP;
+ break;
+ case 4:
+ cbfs_filename = "panel-BOE_TV110C9M_LL0";
+ *orientation = LB_FB_ORIENTATION_LEFT_UP;
+ break;
+ }
+ }
+
if (!cbfs_filename)
return NULL;