]> Gentwo Git Trees - linux/.git/commit
ASoC: codecs: add new pm4125 audio codec driver
authorAlexey Klimov <alexey.klimov@linaro.org>
Mon, 15 Sep 2025 16:27:50 +0000 (17:27 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 16 Sep 2025 13:33:23 +0000 (14:33 +0100)
commit8ad5294849379543782e290e8e670b69e4580a24
tree918ff95409635f6c8c27b97dc5f61dde896273a9
parentf83ec76bf285bea5727f478a68b894f5543ca76e
ASoC: codecs: add new pm4125 audio codec driver

The audio codec is found in Qualcomm PM2250/PM4125 PMICs and is used on
platforms like Qualcomm QCM2290. It has soundwire interface and
corresponding RX and TX slave devices.

It has only two input channels: HPH left and right. The line output (LO)
is linked to HPHL so the hardware has some limitations regarding concurrent
playback via HPH and LO for instance.

The codec driver also uses WCD MBCH framework. The MBHC functionality is
implemented in a minimalistic way to enable IRQs and avoid different
issues with IRQs.

Co-developed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20250915-pm4125_audio_codec_v1-v4-3-b247b64eec52@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/pm4125-sdw.c [new file with mode: 0644]
sound/soc/codecs/pm4125.c [new file with mode: 0644]
sound/soc/codecs/pm4125.h [new file with mode: 0644]