summaryrefslogtreecommitdiff
path: root/include/driver/retimer
diff options
context:
space:
mode:
Diffstat (limited to 'include/driver/retimer')
-rw-r--r--include/driver/retimer/anx7483_public.h13
-rw-r--r--include/driver/retimer/bb_retimer.h2
-rw-r--r--include/driver/retimer/ps8818_public.h5
3 files changed, 2 insertions, 18 deletions
diff --git a/include/driver/retimer/anx7483_public.h b/include/driver/retimer/anx7483_public.h
index 4f44c4d180..83ad32508e 100644
--- a/include/driver/retimer/anx7483_public.h
+++ b/include/driver/retimer/anx7483_public.h
@@ -38,14 +38,6 @@ enum anx7483_eq_setting {
ANX7483_EQ_SETTING_12_5DB = 15,
};
-/* Flat gain tuning */
-enum anx7483_fg_setting {
- ANX7483_FG_SETTING_NEG_1_5DB = 0,
- ANX7483_FG_SETTING_0_5DB = 1,
- ANX7483_FG_SETTING_0_3DB = 2,
- ANX7483_FG_SETTING_1_2DB = 3,
-};
-
enum anx7483_tune_pin {
ANX7483_PIN_UTX1,
ANX7483_PIN_UTX2,
@@ -60,11 +52,6 @@ enum ec_error_list anx7483_set_eq(const struct usb_mux *me,
enum anx7483_tune_pin pin,
enum anx7483_eq_setting eq);
-/* Adjust the flat gain for a pin */
-enum ec_error_list anx7483_set_fg(const struct usb_mux *me,
- enum anx7483_tune_pin pin,
- enum anx7483_fg_setting fg);
-
/*
* Configure datasheet defaults for tuning registers at this mux setting.
* Return int so function can be used directly for board_set.
diff --git a/include/driver/retimer/bb_retimer.h b/include/driver/retimer/bb_retimer.h
index b47743f882..460156803e 100644
--- a/include/driver/retimer/bb_retimer.h
+++ b/include/driver/retimer/bb_retimer.h
@@ -8,8 +8,8 @@
#ifndef __CROS_EC_BB_RETIMER_H
#define __CROS_EC_BB_RETIMER_H
-#include "driver/retimer/bb_retimer_public.h"
#include "usb_mux.h"
+#include "driver/retimer/bb_retimer_public.h"
/* Burnside Bridge I2C Configuration Space */
#define BB_RETIMER_REG_VENDOR_ID 0
diff --git a/include/driver/retimer/ps8818_public.h b/include/driver/retimer/ps8818_public.h
index bdecb7a0d4..3f0aba963b 100644
--- a/include/driver/retimer/ps8818_public.h
+++ b/include/driver/retimer/ps8818_public.h
@@ -9,10 +9,7 @@
#ifndef __CROS_EC_USB_RETIMER_PS8818_H
#define __CROS_EC_USB_RETIMER_PS8818_H
-#define PS8818_I2C_ADDR0_FLAGS 0x28
-#define PS8818_I2C_ADDR1_FLAGS 0x30
-#define PS8818_I2C_ADDR2_FLAGS 0x58
-#define PS8818_I2C_ADDR3_FLAGS 0x70
+#define PS8818_I2C_ADDR_FLAGS 0x28
/*
* PAGE 0 Register Definitions