]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: codecs: wcd934x: add mbhc support
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 4 Jun 2021 11:52:29 +0000 (12:52 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 4 Jun 2021 14:29:01 +0000 (15:29 +0100)
commit9fb9b1690f0ba6b2c9ced91facc1fc44f5a0d5c1
tree9201c293cdcc15c95b8a923f5643701d3fb4eb80
parent0e5c9e7ff899808afa4e2b08c2e6ccc469bed681
ASoC: codecs: wcd934x: add mbhc support

WCD934x 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 feature via common mbhc layer.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20210604115230.23259-4-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/mfd/wcd934x/registers.h
sound/soc/codecs/Kconfig
sound/soc/codecs/wcd934x.c