summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2022-05-10 15:42:55 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-05-19 00:48:29 +0000
commit92d7957d470f0660395bfaf9e9186057817dbd6a (patch)
tree7ac4926c3b39f98be23d01786f850bb8986f6362 /include
parent2689d4bf61351d84f7b7fb75ccb6ab8d9ced6794 (diff)
downloadchrome-ec-92d7957d470f0660395bfaf9e9186057817dbd6a.tar.gz
ANX7843: Add datasheet default register tuning
Add an API to set all of the default tuning values given by the datasheet. Additional APIs may be defined as needed to change specific register differences that come up in board SI tuning. BRANCH=None BUG=b:230694492 TEST=zmake testall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I6a10df0a6bed67792b399ad7f072ff62f8c2f467 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3639923 Reviewed-by: Robert Zieba <robertzieba@google.com> Reviewed-by: Andrew McRae <amcrae@google.com> Commit-Queue: Andrew McRae <amcrae@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/driver/retimer/anx7483_public.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/driver/retimer/anx7483_public.h b/include/driver/retimer/anx7483_public.h
index 3d856a3cae..f7654837db 100644
--- a/include/driver/retimer/anx7483_public.h
+++ b/include/driver/retimer/anx7483_public.h
@@ -18,5 +18,9 @@
#define ANX7483_I2C_ADDR2_FLAGS 0x40
#define ANX7483_I2C_ADDR3_FLAGS 0x44
+/* Configure datasheet defaults for tuning registers at this mux setting */
+enum ec_error_list anx7483_set_default_tuning(const struct usb_mux *me,
+ mux_state_t mux_state);
+
extern const struct usb_mux_driver anx7483_usb_retimer_driver;
#endif /* __CROS_EC_USB_RETIMER_ANX7483_PUBLIC_H */