summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/buddy/panel.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/board/buddy/panel.c b/board/buddy/panel.c
index 90705764a5..f665caa8e6 100644
--- a/board/buddy/panel.c
+++ b/board/buddy/panel.c
@@ -16,8 +16,9 @@
enum panel_id_list {
- PANEL_LGC = 0,
+ PANEL_LGC_SLE = 0,
PANEL_BOE,
+ PANEL_LGC_SLK,
PANEL_COUNT,
PANEL_UNKNOWN,
PANEL_NONE,
@@ -45,6 +46,14 @@ static const struct converter_cfg converter_cfg_vals[PANEL_COUNT][CMD_NUM] = {
{0x04, 0x00},
{0x05, 0xB7},
},
+ {
+ {0x00, 0x71},
+ {0x01, 0x43},
+ {0x02, 0x8A},
+ {0x03, 0x00},
+ {0x04, 0x00},
+ {0x05, 0xC7},
+ },
};
static int get_panel_id(void)
@@ -60,9 +69,11 @@ static int get_panel_id(void)
switch (pin_status) {
case 0x00:
- return PANEL_LGC;
+ return PANEL_LGC_SLE;
case 0x01:
return PANEL_BOE;
+ case 0x04:
+ return PANEL_LGC_SLK;
case 0x07:
return PANEL_NONE;
default: