ASoC: codecs: wcd937x: add wcd937x codec driver

This patch adds basic SoundWire codec driver to support for
WCD9370/WCD9375 TX and RX devices.

The WCD9370/WCD9375 has Multi Button Headset Control hardware to
support Headset insertion, type detection, 8 headset buttons detection,
Over Current detection and Impedence measurements.
This patch adds support for this using wcd-mbhc apis.

Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
Co-developed-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
Link: https://lore.kernel.org/r/20240524035535.3119208-4-quic_mohs@quicinc.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Prasad Kumpatla 2024-05-24 09:25:31 +05:30 committed by Mark Brown
parent c99a515ff1
commit 9be3ec196d
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

1677
sound/soc/codecs/wcd937x.c Normal file

File diff suppressed because it is too large Load Diff