]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: boards: add sof_sdw machine driver
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 25 Mar 2020 22:07:44 +0000 (17:07 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 27 Mar 2020 17:11:54 +0000 (17:11 +0000)
commit1c5da71a349702ccb024943a0ad211f2af6a514d
treee4e107f3b3cc5f4af941e21ace6c83e94dbc8800
parent3ee7cfbca6ac7ac2f24becaff1d619e6b4460cd7
ASoC: Intel: boards: add sof_sdw machine driver

This machine driver provides support for different configurations:

RT700, RT711, RT1308 (1x and 2x, I2S or SoundWire mode), and RT715
CometLake, Icelake, TigerLake.
PDM digital microphones
HDMI

To avoid introducing one driver per configuration, this common machine
driver relies on platform-specific information, tables and quirks to
dynamically create the relevant dailinks.

Unlike a lot of machine drivers, we use different DAI links for
SoundWire capture and playback since the Cadence PDIs can do capture
OR playback, not both simultaneously.

For each configuration, the card component string is updated so that UCM
can select the relevant parts.

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20200325220746.29601-3-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_sdw.c [new file with mode: 0644]
sound/soc/intel/boards/sof_sdw_common.h [new file with mode: 0644]
sound/soc/intel/boards/sof_sdw_dmic.c [new file with mode: 0644]
sound/soc/intel/boards/sof_sdw_hdmi.c [new file with mode: 0644]
sound/soc/intel/boards/sof_sdw_rt1308.c [new file with mode: 0644]
sound/soc/intel/boards/sof_sdw_rt700.c [new file with mode: 0644]
sound/soc/intel/boards/sof_sdw_rt711.c [new file with mode: 0644]
sound/soc/intel/boards/sof_sdw_rt715.c [new file with mode: 0644]