summaryrefslogtreecommitdiff
path: root/src/device/mipi/Kconfig
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2021-08-12 16:48:12 -0700
committerFelix Held <felix-coreboot@felixheld.de>2021-08-18 14:21:28 +0000
commitb2a14801916ad9dfa2a6b4fa9ceb6de7d2d03e24 (patch)
tree75788742da59525637ea977bcb419891f98d0c2e /src/device/mipi/Kconfig
parent4080e08c09a4f063ed1df280e74fa2b87d304b87 (diff)
device: Move MIPI panel library from mainboard/google/kukui into common
All boards that are trying to use MIPI panels eventually run into the problem that they need to store physical parameters and a list of DCS initialization commands for each panel, and these commands can be very different (e.g. a large amount of very short commands, a few very large commands, etc.). Finding a data format to fit all these different cases efficiently into the same structures keeps being a challenge, and the Kukui mainboard already once put a lot of effort into designing a clean, flexible and efficient solution for this. This patch moves that framework into a common src/device/mipi/ library where it can be used by other boards as well. (Also, this will hopefully allow us to save some duplicated work when using the same panel on different boards at some point.) Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I877f2b0c7ab984412b288e2ed27f37cd93c70863 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56965 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src/device/mipi/Kconfig')
-rw-r--r--src/device/mipi/Kconfig37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/device/mipi/Kconfig b/src/device/mipi/Kconfig
new file mode 100644
index 0000000000..0b05e463ba
--- /dev/null
+++ b/src/device/mipi/Kconfig
@@ -0,0 +1,37 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+# Mainboards should select the options in here to specify which panel parameter
+# settings they want stored in their CBFS.
+
+config MIPI_PANEL_AUO_B101UAN08_3
+ bool
+
+config MIPI_PANEL_AUO_KD101N80_45NA
+ bool
+
+config MIPI_PANEL_AUO_NT51021D8P
+ bool
+
+config MIPI_PANEL_BOE_TV080WUM_NG0
+ bool
+
+config MIPI_PANEL_BOE_TV101WUM_N53
+ bool
+
+config MIPI_PANEL_BOE_TV101WUM_NG0
+ bool
+
+config MIPI_PANEL_BOE_TV101WUM_NL6
+ bool
+
+config MIPI_PANEL_BOE_TV105WUM_NW0
+ bool
+
+config MIPI_PANEL_CMN_P097PFG_SSD2858
+ bool
+
+config MIPI_PANEL_INX_OTA7290D10P
+ bool
+
+config MIPI_PANEL_STA_2081101QFH032011_53G
+ bool