summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZick Wei <zick.wei@quanta.corp-partner.google.com>2020-09-21 17:24:50 +0800
committerCommit Bot <commit-bot@chromium.org>2020-09-22 18:56:35 +0000
commit21889b21c704c516a447c93ee3a497ef78949d56 (patch)
tree5a76d5e0efb6239dc9d0362a10d36c86e49868b7
parent0a4ca940a6dc196186a7e7f0780adfe26f93757c (diff)
downloadchrome-ec-21889b21c704c516a447c93ee3a497ef78949d56.tar.gz
zork: move HDMI retimer setting to variant
This CL move HDMI retimer(pi3hdx1204) setting to variant. BUG=none BRANCH=zork TEST=make buildall Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: I5b50058c44ccb9fd5d9403939d5f4ea9a9670b7c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2421391 Reviewed-by: Edward Hill <ecgh@chromium.org> Commit-Queue: Edward Hill <ecgh@chromium.org>
-rw-r--r--baseboard/zork/baseboard.c7
-rw-r--r--board/berknip/board.c7
-rw-r--r--board/dalboz/board.c7
-rw-r--r--board/ezkinil/board.c7
-rw-r--r--board/morphius/board.c7
-rw-r--r--board/trembyle/board.c7
-rw-r--r--board/woomax/board.c7
7 files changed, 42 insertions, 7 deletions
diff --git a/baseboard/zork/baseboard.c b/baseboard/zork/baseboard.c
index ea128356c1..ee9d9fbd9a 100644
--- a/baseboard/zork/baseboard.c
+++ b/baseboard/zork/baseboard.c
@@ -246,13 +246,6 @@ __overridable int check_hdmi_hpd_status(void)
return 1;
}
-const struct pi3hdx1204_tuning pi3hdx1204_tuning = {
- .eq_ch0_ch1_offset = PI3HDX1204_EQ_DB710,
- .eq_ch2_ch3_offset = PI3HDX1204_EQ_DB710,
- .vod_offset = PI3HDX1204_VOD_115_ALL_CHANNELS,
- .de_offset = PI3HDX1204_DE_DB_MINUS5,
-};
-
void sbu_fault_interrupt(enum ioex_signal signal)
{
int port = (signal == IOEX_USB_C0_SBU_FAULT_ODL) ? 0 : 1;
diff --git a/board/berknip/board.c b/board/berknip/board.c
index 083d8c612c..bd61e383dc 100644
--- a/board/berknip/board.c
+++ b/board/berknip/board.c
@@ -161,6 +161,13 @@ const int usb_port_enable[USBA_PORT_COUNT] = {
IOEX_EN_USB_A1_5V_DB,
};
+const struct pi3hdx1204_tuning pi3hdx1204_tuning = {
+ .eq_ch0_ch1_offset = PI3HDX1204_EQ_DB710,
+ .eq_ch2_ch3_offset = PI3HDX1204_EQ_DB710,
+ .vod_offset = PI3HDX1204_VOD_115_ALL_CHANNELS,
+ .de_offset = PI3HDX1204_DE_DB_MINUS5,
+};
+
/*****************************************************************************
* Board suspend / resume
*/
diff --git a/board/dalboz/board.c b/board/dalboz/board.c
index a460dad2d7..f0a0e23c2b 100644
--- a/board/dalboz/board.c
+++ b/board/dalboz/board.c
@@ -193,6 +193,13 @@ void pcal6408_interrupt(enum gpio_signal signal)
hook_call_deferred(&pcal6408_handler_data, 0);
}
+const struct pi3hdx1204_tuning pi3hdx1204_tuning = {
+ .eq_ch0_ch1_offset = PI3HDX1204_EQ_DB710,
+ .eq_ch2_ch3_offset = PI3HDX1204_EQ_DB710,
+ .vod_offset = PI3HDX1204_VOD_115_ALL_CHANNELS,
+ .de_offset = PI3HDX1204_DE_DB_MINUS5,
+};
+
/*****************************************************************************
* Board suspend / resume
*/
diff --git a/board/ezkinil/board.c b/board/ezkinil/board.c
index 732e69a216..17134dd522 100644
--- a/board/ezkinil/board.c
+++ b/board/ezkinil/board.c
@@ -196,6 +196,13 @@ const int usb_port_enable[USBA_PORT_COUNT] = {
IOEX_EN_USB_A1_5V_DB,
};
+const struct pi3hdx1204_tuning pi3hdx1204_tuning = {
+ .eq_ch0_ch1_offset = PI3HDX1204_EQ_DB710,
+ .eq_ch2_ch3_offset = PI3HDX1204_EQ_DB710,
+ .vod_offset = PI3HDX1204_VOD_115_ALL_CHANNELS,
+ .de_offset = PI3HDX1204_DE_DB_MINUS5,
+};
+
/*
* USB C0 port SBU mux use standalone FSUSB42UMX
* chip and it need a board specific driver.
diff --git a/board/morphius/board.c b/board/morphius/board.c
index 3c9810f9d3..1f8c528999 100644
--- a/board/morphius/board.c
+++ b/board/morphius/board.c
@@ -186,6 +186,13 @@ const int usb_port_enable[USBA_PORT_COUNT] = {
IOEX_EN_USB_A1_5V_DB,
};
+const struct pi3hdx1204_tuning pi3hdx1204_tuning = {
+ .eq_ch0_ch1_offset = PI3HDX1204_EQ_DB710,
+ .eq_ch2_ch3_offset = PI3HDX1204_EQ_DB710,
+ .vod_offset = PI3HDX1204_VOD_115_ALL_CHANNELS,
+ .de_offset = PI3HDX1204_DE_DB_MINUS5,
+};
+
/*****************************************************************************
* USB-C MUX/Retimer dynamic configuration
*/
diff --git a/board/trembyle/board.c b/board/trembyle/board.c
index e01f426dc6..10247219df 100644
--- a/board/trembyle/board.c
+++ b/board/trembyle/board.c
@@ -184,6 +184,13 @@ const int usb_port_enable[USBA_PORT_COUNT] = {
IOEX_EN_USB_A1_5V_DB,
};
+const struct pi3hdx1204_tuning pi3hdx1204_tuning = {
+ .eq_ch0_ch1_offset = PI3HDX1204_EQ_DB710,
+ .eq_ch2_ch3_offset = PI3HDX1204_EQ_DB710,
+ .vod_offset = PI3HDX1204_VOD_115_ALL_CHANNELS,
+ .de_offset = PI3HDX1204_DE_DB_MINUS5,
+};
+
/*****************************************************************************
* Board suspend / resume
*/
diff --git a/board/woomax/board.c b/board/woomax/board.c
index eb12185efb..8b03905b44 100644
--- a/board/woomax/board.c
+++ b/board/woomax/board.c
@@ -197,6 +197,13 @@ const int usb_port_enable[USBA_PORT_COUNT] = {
IOEX_EN_USB_A0_5V,
};
+const struct pi3hdx1204_tuning pi3hdx1204_tuning = {
+ .eq_ch0_ch1_offset = PI3HDX1204_EQ_DB710,
+ .eq_ch2_ch3_offset = PI3HDX1204_EQ_DB710,
+ .vod_offset = PI3HDX1204_VOD_115_ALL_CHANNELS,
+ .de_offset = PI3HDX1204_DE_DB_MINUS5,
+};
+
/*****************************************************************************
* Board suspend / resume
*/