aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/kukui/panel_katsu.c
diff options
context:
space:
mode:
authorchenzanxi <chenzanxi@huaqin.corp-partner.google.com>2021-01-22 18:16:13 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-01-25 09:11:31 +0000
commit8130959d011023077738bd9d6b6b65ab0d7f5233 (patch)
treeaa760aa328a5b42494a9bc58b0a1057c15a124ea /src/mainboard/google/kukui/panel_katsu.c
parent5e0db41602d7e1550d6f669e65dcceb91c291e65 (diff)
mb/google/kukui: Add panel for Katsu
Declare the following panel for Katsu: - BOE_TV105WUM_NW0 - STA_2081101QFH032011_53G BUG=b:176523929 TEST=build Katsu image passed BRANCH=kukui Change-Id: I59a02198bc0e13f2760677ae4ea3eb05eb883464 Signed-off-by: chenzanxi <chenzanxi@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49830 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/mainboard/google/kukui/panel_katsu.c')
-rw-r--r--src/mainboard/google/kukui/panel_katsu.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mainboard/google/kukui/panel_katsu.c b/src/mainboard/google/kukui/panel_katsu.c
new file mode 100644
index 0000000000..f2a2070146
--- /dev/null
+++ b/src/mainboard/google/kukui/panel_katsu.c
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include "panel.h"
+
+static struct panel_description katsu_panels[] = {
+ [1] = { .name = "BOE_TV105WUM_NW0", },
+ [2] = { .name = "STA_2081101QFH032011_53G", },
+};
+
+struct panel_description *get_panel_description(int panel_id)
+{
+ if (panel_id < 0 || panel_id >= ARRAY_SIZE(katsu_panels))
+ return NULL;
+
+ return get_panel_from_cbfs(&katsu_panels[panel_id]);
+}