ASoC: codec: wcd-mbhc-v2: add support when connected behind an USB-C audio mux

When the WCD codec is connected behind an USB-C audio mux,
plug/unplug events, clock control, pull-up and threshold are
different.
Add a typec_analog_mux config enabling those changes and add
two callbacks to trigger plug/unplug events from USB-C events.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://msgid.link/r/20231219-topic-sm8650-upstream-wcd939x-codec-v4-3-1c3bbff2d7ab@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Neil Armstrong 2023-12-19 13:45:36 +01:00 • committed by Mark Brown
commit 0c105997ee
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 83 additions and 15 deletions