diff options
author | Ting Shen <phoenixshen@google.com> | 2021-12-08 16:54:35 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-12-22 07:36:43 +0000 |
commit | 2a7c3757f259b955de618f3b8a2e448ea4b742ff (patch) | |
tree | e0299edb0b5ba3d8c2c176d98c6e9092cf05d0b2 /driver | |
parent | ae2a36a67871e361c77e59ab004a68590001a947 (diff) | |
download | chrome-ec-2a7c3757f259b955de618f3b8a2e448ea4b742ff.tar.gz |
ps8762: add DCI mode config register
BUG=b:209530005
TEST=make
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I2f076042696308d00ade0d6b3a5a6849fd79954f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3322250
Tested-by: Ting Shen <phoenixshen@chromium.org>
Auto-Submit: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
Diffstat (limited to 'driver')
-rw-r--r-- | driver/retimer/ps8802.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/driver/retimer/ps8802.h b/driver/retimer/ps8802.h index 858b83bfc7..5f4b9e4e9c 100644 --- a/driver/retimer/ps8802.h +++ b/driver/retimer/ps8802.h @@ -2,7 +2,7 @@ * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * - * PS8802 retimer. + * PS8802/PS8762 retimer. */ #include "usb_mux.h" @@ -47,6 +47,10 @@ #define PS8802_EXTRA_SWING_LEVEL_P0_UP_3 0X07 #define PS8802_EXTRA_SWING_LEVEL_P0_MASK 0X07 +#define PS8802_REG_DCIRX 0x4B +#define PS8802_AUTO_DCI_MODE_DISABLE BIT(7) +#define PS8802_FORCE_DCI_MODE BIT(6) + /* * PAGE 2 Register Definitions */ |