diff options
author | Jitao Shi <jitao.shi@mediatek.com> | 2016-08-19 16:00:01 +0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-08-31 19:59:29 +0200 |
commit | 70c496b24ee2ed09969575afc291dadb19eea189 (patch) | |
tree | f2a284eaa9aac146c179a36c882ce00bbeb8b641 /src/drivers/parade/ps8640/ps8640.h | |
parent | 54aa89c7b4ea793f49f6cfe73e13b4ce71dd138f (diff) | |
download | coreboot-70c496b24ee2ed09969575afc291dadb19eea189.tar.xz |
parade/ps8640: disable mipi mcs
Disable ps8640 mipi mcs function to avoid recognizing the normal mipi dsi
signal as msc cmd.
BUG=chrome-os-partner:56346
BRANCH=none
TEST=build pass elm and show ui
Change-Id: I91c690fb1ff3bd9b5c1f227205829c914347cd30
Signed-off-by: Martin Roth <martinroth@chromium.org>
Original-Commit-Id: 4fd441b46300fea9f238b27c9c1cda4e9e53c80d
Original-Change-Id: I85b9f1e6677e4bf8ab1e30c2e69445079fff2d18
Original-Signed-off-by: Jitao Shi <jitao.shi@mediatek.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/373219
Original-Commit-Ready: Daniel Kurtz <djkurtz@chromium.org>
Original-Tested-by: jitao shi <jitao.shi@mediatek.com>
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-on: https://review.coreboot.org/16365
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/drivers/parade/ps8640/ps8640.h')
-rw-r--r-- | src/drivers/parade/ps8640/ps8640.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/parade/ps8640/ps8640.h b/src/drivers/parade/ps8640/ps8640.h index f7b40061f0..4540122420 100644 --- a/src/drivers/parade/ps8640/ps8640.h +++ b/src/drivers/parade/ps8640/ps8640.h @@ -26,6 +26,9 @@ enum { PS_GPIO9 = BIT(1), I2C_BYPASS_EN = BIT(7), + PAGE2_MCS_EN = 0xf3, + MCS_EN_SHIFT = 0, + MCS_EN_MASK = 0x1, PAGE3_SET_ADD = 0xfe, PAGE3_SET_VAL = 0xff, VDO_CTL_ADD = 0x13, |