drivers/usb_mux: Allow inverted polarity on muxes

This adds a feature for USB-C muxes to be inverted with respect to cable
orientation. This effectively adds support for the case where CC1/CC2
are swapped.

TEST=USB3 and DP works on ghost MLB port with rest of patchset

Change-Id: I1441810754078c51ff46f84106aa33e8eb813eb0
Signed-off-by: Caveh Jalali <>
Reviewed-by: Jack Rosenthal <>
Commit-Queue: Jack Rosenthal <>
Reviewed-by: Boris Mittelberg <>
1 file changed