ASoC: Intel: sof_sdw: Add MAX98373 support
authorNaveen Manohar <naveen.m@intel.com>
Thu, 25 Jun 2020 19:26:20 +0000 (14:26 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 26 Jun 2020 15:10:59 +0000 (16:10 +0100)
commitbe82e88895d17c1e69f3506e133dd4a24af1e3d7
treed1937ae2c8b0cd26c9e06eb9a3396e317ada8b8a
parentf6de798eca429881ac7938fc31d55b3739c6387f
ASoC: Intel: sof_sdw: Add MAX98373 support

Add max98373-sdw helper function, which configures 2x MAX98373 codecs to
Link1. This patch shares code between the I2S and SoundWire modes of
MAX98373 and adds the trigger already added for I2S.

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
Signed-off-by: Naveen Manohar <naveen.m@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20200625192620.4312-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/Kconfig
sound/soc/intel/boards/Makefile
sound/soc/intel/boards/sof_maxim_common.c
sound/soc/intel/boards/sof_maxim_common.h
sound/soc/intel/boards/sof_sdw.c
sound/soc/intel/boards/sof_sdw_common.h
sound/soc/intel/boards/sof_sdw_max98373.c [new file with mode: 0644]