]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb53717eada055df1c514a1e12595e1a6555efe50
treed1937ae2c8b0cd26c9e06eb9a3396e317ada8b8a
parent774c2de46c25061c37b5e317e6a361abcd9a7a83
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]