diff options
author | Tang Zhentian1 <ztang@analogixsemi.com> | 2016-09-08 17:54:28 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-09-12 22:11:49 -0700 |
commit | b275061eecb7f9e0aa320bdf039864ab2a25071a (patch) | |
tree | 8f60d3ddd6858d5098806fa42f492d69620338ab /driver/tcpm/anx74xx.h | |
parent | c5c14ef348bf5203975d6ccc6cc6af918ef4b577 (diff) | |
download | chrome-ec-b275061eecb7f9e0aa320bdf039864ab2a25071a.tar.gz |
anx74xx: get F/W version register and comments
reading F/W version by register 0x50:44
BUG=chrome-os-partner:56866
BRANCH=none
TEST=make buildall -j; > Tested on Reef->
i2cxfer r 0 0x50 0x44 shows correct fw version.
Change-Id: Ic4dce273e95a545d0b90162ee4851a06c277e680
Signed-off-by: Tang Zhentian1 <ztang@analogixsemi.com>
Signed-off-by: Divya Sasidharan <divya.s.sasidharan@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/382858
Commit-Ready: Divya S Sasidharan <divya.s.sasidharan@intel.com>
Tested-by: Divya S Sasidharan <divya.s.sasidharan@intel.com>
Reviewed-by: Divya S Sasidharan <divya.s.sasidharan@intel.com>
Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'driver/tcpm/anx74xx.h')
-rw-r--r-- | driver/tcpm/anx74xx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/driver/tcpm/anx74xx.h b/driver/tcpm/anx74xx.h index a3e54c66b3..7d9d026fe2 100644 --- a/driver/tcpm/anx74xx.h +++ b/driver/tcpm/anx74xx.h @@ -13,6 +13,9 @@ #define ANX74XX_REG_IRQ_POL_LOW 0x00 #define ANX74XX_REG_IRQ_POL_HIGH 0x02 +/* ANX F/W version:0x50:0x44 which contains otp firmware version */ +#define ANX74XX_REG_FW_VERSION 0x44 + #define ANX74XX_REG_IRQ_STATUS 0x53 #define ANX74XX_REG_INTP_VCONN_CTRL 0x33 |