summaryrefslogtreecommitdiff
path: root/driver/usb_mux/anx3443.h
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2021-07-02 13:08:50 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-07 04:57:04 +0000
commit7dd1f09fab19c2505c420df1339bd57400e10da1 (patch)
tree91d868f4415cd0725376beb20002c77bf298c72c /driver/usb_mux/anx3443.h
parent9c219a90250c3899ea649164a18544d5d24577a3 (diff)
downloadchrome-ec-7dd1f09fab19c2505c420df1339bd57400e10da1.tar.gz
anx3443: enable power saving mode
Ultra low power mode is not low enough, vendor recommends that power saving mode is more suitable for us. BUG=b:192426163 TEST=measure power BRANCH=main Signed-off-by: Ting Shen <phoenixshen@google.com> Change-Id: I788e2ed3b2a9deef5ed1dae4061ec5536783ad33 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3002707 Commit-Queue: Ting Shen <phoenixshen@chromium.org> Tested-by: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Eric Yilun Lin <yllin@google.com>
Diffstat (limited to 'driver/usb_mux/anx3443.h')
-rw-r--r--driver/usb_mux/anx3443.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/driver/usb_mux/anx3443.h b/driver/usb_mux/anx3443.h
index e60ffe2e25..b505f993ea 100644
--- a/driver/usb_mux/anx3443.h
+++ b/driver/usb_mux/anx3443.h
@@ -17,6 +17,10 @@
#define ANX3443_I2C_ADDR2_FLAGS 0x16
#define ANX3443_I2C_ADDR3_FLAGS 0x11
+/* This register is not documented in datasheet. */
+#define ANX3443_REG_POWER_CNTRL 0x2B
+#define ANX3443_POWER_CNTRL_OFF 0xFF
+
/* Ultra low power control register */
#define ANX3443_REG_ULTRA_LOW_POWER 0xE6