diff options
author | Sue Chen <sue.chen@quanta.corp-partner.google.com> | 2021-07-29 11:39:02 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-03 03:56:37 +0000 |
commit | feafc75579f79c372d470fea5c1c076d0ed7f673 (patch) | |
tree | 66d7acd098641c8872beac7d1f7d62a158f93dcc /include/config.h | |
parent | d2ad9255ce615d9e752b38fb5b2a6f3fe7120162 (diff) | |
download | chrome-ec-feafc75579f79c372d470fea5c1c076d0ed7f673.tar.gz |
ps8xxx: patch ps8805 A3 chip Device ID
Add config option for the ps8805 to override the TCPCI Device
ID field based on the page 0 register 0x62 bit 7-4.
A2 chip: reg 0x62 bit7-4 = 0x0
A3 chip: reg 0x62 bit7-4 = 0xA
BUG=b:193099851
BRANCH=trogdor
TEST=ectool pdchipinfo can show overridden DID for both A2
and A3 chip on Lazor DUTs
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I99767c92a97c2fcefd3bbe03e3cd2b90de192ff3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3056225
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 63049d234b..1ca75dc4f9 100644 --- a/include/config.h +++ b/include/config.h @@ -4540,6 +4540,12 @@ /* * Use this to override the TCPCI Device ID value to be 0x0002 for + * chip rev A3. Early A3 firmware misreports the DID as 0x0001. + */ +#undef CONFIG_USB_PD_TCPM_PS8805_FORCE_DID + +/* + * Use this to override the TCPCI Device ID value to be 0x0002 for * chip rev A1. Early A1 firmware misreports the DID as 0x0001. */ #undef CONFIG_USB_PD_TCPM_PS8815_FORCE_DID |