summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zephyr/program/skyrim/markarth/project.overlay8
-rw-r--r--zephyr/program/skyrim/markarth/src/usb_mux_config.c4
2 files changed, 10 insertions, 2 deletions
diff --git a/zephyr/program/skyrim/markarth/project.overlay b/zephyr/program/skyrim/markarth/project.overlay
index 89c49fa8c1..de8b2c6504 100644
--- a/zephyr/program/skyrim/markarth/project.overlay
+++ b/zephyr/program/skyrim/markarth/project.overlay
@@ -165,6 +165,11 @@
&i2c0_0 {
/delete-node/ nx20p348x@71;
/delete-node/ pi3usb9201@5f;
+ /delete-node/ anx7483@3e;
+};
+
+&amd_fp6_port0 {
+ board-set = "board_c0_amd_fp6_mux_set";
};
&i2c1_0 {
@@ -179,6 +184,9 @@
&usbc_port0 {
/delete-property/ bc12;
/delete-property/ chg_alt;
+ usb-mux-chain-0 {
+ usb-muxes = <&amd_fp6_port0>;
+ };
};
&usbc_port1 {
diff --git a/zephyr/program/skyrim/markarth/src/usb_mux_config.c b/zephyr/program/skyrim/markarth/src/usb_mux_config.c
index 92b8bc1902..95b4524b16 100644
--- a/zephyr/program/skyrim/markarth/src/usb_mux_config.c
+++ b/zephyr/program/skyrim/markarth/src/usb_mux_config.c
@@ -48,12 +48,12 @@ static int ioex_set_flip(int port, mux_state_t mux_state)
return EC_SUCCESS;
}
-int board_anx7483_c0_mux_set(const struct usb_mux *me, mux_state_t mux_state)
+int board_c0_amd_fp6_mux_set(const struct usb_mux *me, mux_state_t mux_state)
{
/* Set the SBU polarity mux */
RETURN_ERROR(ioex_set_flip(me->usb_port, mux_state));
- return anx7483_set_default_tuning(me, mux_state);
+ return EC_SUCCESS;
}
int board_anx7483_c1_mux_set(const struct usb_mux *me, mux_state_t mux_state)