From 5b4724508d35eee1d45fa748a5ad05e914087bf7 Mon Sep 17 00:00:00 2001 From: Sue Chen Date: Mon, 10 Aug 2020 15:51:21 +0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2346084 Reviewed-by: Daisuke Nojiri --- board/karma/board.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'board') 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; -- cgit v1.2.1