summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrover Yen <Grover_Yen@wistron.com>2015-10-14 20:10:59 +0800
committerChromeOS bot <3su6n15k.default@developer.gserviceaccount.com>2015-10-16 02:21:18 +0000
commit8c5242a4eb8d03a0ca976845de0b92c7042fbf13 (patch)
treec1d4fe070c0b3a858eb20748710678989d7ad313
parentb9b22d1f56cd8475ac82a875df1a233a6ebb4bb8 (diff)
downloadchrome-ec-8c5242a4eb8d03a0ca976845de0b92c7042fbf13.tar.gz
buddy: Modify converter setting for new panel solution.
Modify converter setting for LGC(LM238WF1-SLK1), which is to replace BOE panel. BUG=chrome-os-partner:46476 BRANCH=none TEST=make -j buildall, make -j tests Change-Id: I6a7b2ebeed366f51d29f9bb1f90f075e15efcf47 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/305660 Reviewed-by: Mohammed Habibulla <moch@google.com>
-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: