This series adds mux control support for USB and DP alternate modes on devices using the cros-ec-typec driver with Type C switch handles provided by firmware bindings.
The first patch imports some recent updates to the EC_CMD_USB_PD_MUX_INFO bit fields from the Chrome EC code base[1], while the rest add the aforementioned functionality. This series depends on the following patch : https://lkml.org/lkml/2020/5/19/1219 [1] : https://chromium.googlesource.com/chromiumos/platform/ec/+/refs/heads/master/include/ec_commands.h Prashant Malani (4): platform/chrome: cros_ec: Update mux state bits platform/chrome: typec: Register PD CTRL cmd v2 platform/chrome: typec: Add USB mux control platform/chrome: typec: Support DP alt mode drivers/platform/chrome/cros_ec_typec.c | 190 ++++++++++++++++-- .../linux/platform_data/cros_ec_commands.h | 14 +- 2 files changed, 187 insertions(+), 17 deletions(-) -- 2.27.0.rc0.183.gde8f92d652-goog