redrix: enable usb_mux idle
Use the new API to put the mux in idle mode on suspend
BRANCH=none
TEST=BBR USB3_Connection bit is correct in S0ix/S0
@@ -99,6 +99,13 @@ const struct usb_mux_chain usb_muxes[] = {
[USBC_PORT_C0] = {
.mux = &(const struct usb_mux) {
.usb_port = USBC_PORT_C0,
+ /*
+ * A USB-A adapter plugged into Type-C port
+ * would increase BBR power consumption, so
+ * clear USB3_Connection bit in S0ix and
+ * re-enable in S0
+ */
+ .flags = USB_MUX_FLAG_CAN_IDLE,
.driver = &bb_usb_retimer,
.hpd_update = bb_retimer_hpd_update,
.i2c_port = I2C_PORT_USB_C0_MUX,
@@ -109,6 +116,7 @@ const struct usb_mux_chain usb_muxes[] = {
[USBC_PORT_C1] = {
.mux = &(const struct usb_mux) {
.usb_port = USBC_PORT_C1,
+ .flags = USB_MUX_FLAG_CAN_IDLE,
.driver = &bb_usb_retimer,
.hpd_update = bb_retimer_hpd_update,
.i2c_port = I2C_PORT_USB_C1_MUX,
