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

From: Neil Armstrong
Date: Wed Jun 14 2023 - 09:11:14 EST


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@xxxxxxxxxx>
---
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,
--
Neil Armstrong <neil.armstrong@xxxxxxxxxx>