summaryrefslogtreecommitdiff
path: root/driver/tcpm/anx7447.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/tcpm/anx7447.h')
-rw-r--r--driver/tcpm/anx7447.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/driver/tcpm/anx7447.h b/driver/tcpm/anx7447.h
index 75f9fd449c..3f4947a556 100644
--- a/driver/tcpm/anx7447.h
+++ b/driver/tcpm/anx7447.h
@@ -94,6 +94,15 @@ struct anx7447_i2c_addr {
#define AN7447_SPI2_I2C_ADDR 0x64
#define AN7447_SPI3_I2C_ADDR 0x62
+/*
+ * Time TEST_R must be held high for a reset
+ */
+#define ANX74XX_RESET_HOLD_MS 1
+/*
+ * Time after TEST_R reset to wait for eFuse loading
+ */
+#define ANX74XX_RESET_FINISH_MS 2
+
int anx7447_set_power_supply_ready(int port);
int anx7447_power_supply_reset(int port);
int anx7447_board_charging_enable(int port, int enable);