ASoC: samsung: Add sound support for Midas boards
authorSimon Shields <simon@lineageos.org>
Tue, 28 Jul 2020 13:11:10 +0000 (15:11 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 30 Jul 2020 20:00:29 +0000 (21:00 +0100)
commitfd0ea9cd9698edd8e9dab7dfe86163d00897b000
treed9589a0227329bccdb7ac074ce937d0291e99a95
parentf61d06ae99468e3f02b8af4b464945290c0cf2cc
ASoC: samsung: Add sound support for Midas boards

This patch adds support for voice and BT calls, along with standard
audio output via the speaker, earpiece, headphone jack, HDMI, and
any accessories compatible with Midas boards. This patch also supports
headphone/headset detection and headsets with inline buttons.

[m.szyprowski: adaptation to v5.1+ kernels (DAI links initialization)]
[s.nawrocki: removal of the clk API calls for CODEC MCLK, the jack data
 structure moved to struct midas_priv, coding style and typo fixes,
 conversion to new cpu/codec/dai-node binding]

Signed-off-by: Simon Shields <simon@lineageos.org>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200728131111.14334-2-s.nawrocki@samsung.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/Kconfig
sound/soc/samsung/Makefile
sound/soc/samsung/midas_wm1811.c [new file with mode: 0644]