diff options
author | Sue Chen <sue.chen@quanta.corp-partner.google.com> | 2020-08-10 15:51:21 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-08-17 04:09:35 +0000 |
commit | 5b4724508d35eee1d45fa748a5ad05e914087bf7 (patch) | |
tree | f87769eda29da5170ae9e2917644954c2237333f | |
parent | 2f1cf3360ab1cd24ee42ea810c0c56e26b7cd4bc (diff) | |
download | chrome-ec-5b4724508d35eee1d45fa748a5ad05e914087bf7.tar.gz |
Karma: Add PANEL_LM_SSM1 panel settings to OZ554
add panel id 0x06 for PANEL_LM_SSM1.
Modified initial setting:
offset = 2, data = 0x46
offset = 5, data = 0x87
BUG=b:162909856
BRANCH=kalista
TEST=make buildall; PANEL_ID and oz554 setting are correct for
the new panel
Change-Id: Ia74e3911b05efdf35ada1d2d28484fba5293aa95
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2346084
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r-- | board/karma/board.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/karma/board.c b/board/karma/board.c index c66a8d02be..7bac35bd64 100644 --- a/board/karma/board.c +++ b/board/karma/board.c @@ -28,6 +28,13 @@ __override void oz554_board_init(void) if (oz554_set_config(2, 0x55)) CPRINTS("oz554 config failed"); break; + case 0x06: + CPRINTS("PANEL_LM_SSM1"); + if (oz554_set_config(2, 0x46)) + CPRINTS("oz554 config failed"); + if (oz554_set_config(5, 0x87)) + CPRINTS("oz554 config failed"); + break; default: CPRINTS("PANEL_UNKNOWN"); break; |