mbox series

[0/3] typec: support Audio Accessory mode on FSA4480

Message ID 20230614-topic-sm8550-upstream-type-c-audio-v1-0-15a92565146b@linaro.org
Headers show
Series typec: support Audio Accessory mode on FSA4480 | expand

Message

Neil Armstrong June 14, 2023, 1:10 p.m. UTC
This serie enables Audio Accessory mode support on the FSA4480
USB Type-C Analog Audio Switch.

In order to get the proper MUX state, also let's make UCSI
call type_set_mode() on partner changes to propagate the
Accessory and USB modes.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
Neil Armstrong (3):
      usb: typec: ucsi: call typec_set_mode on non-altmode partner change
      usb: typec: fsa4480: rework mux & switch setup to handle more states
      usb: typec: fsa4480: add support for Audio Accessory Mode

 drivers/usb/typec/mux/fsa4480.c | 126 +++++++++++++++++++++++++++++-----------
 drivers/usb/typec/ucsi/ucsi.c   |  17 ++++++
 2 files changed, 108 insertions(+), 35 deletions(-)
---
base-commit: 858fd168a95c5b9669aac8db6c14a9aeab446375
change-id: 20230614-topic-sm8550-upstream-type-c-audio-2ccdf6d18896

Best regards,