OSDN Git Service

ASoC: SOF: Intel: hda-mlink: add helper to program SoundWire PCMSyCM registers
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 12 May 2023 17:46:11 +0000 (12:46 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 15 May 2023 01:20:14 +0000 (10:20 +0900)
commitccc2f0c1b6b613cd0014c3dcd465a4b57856b0fe
tree055ab6cf9cbab8400c5c159fb4434e6c8d80fe0a
parent9643456ec3c48adfe535c56f659ab705365f4572
ASoC: SOF: Intel: hda-mlink: add helper to program SoundWire PCMSyCM registers

These registers enable the HDaudio DMA hardware to split/merge data
from different PDIs, possibly on different links.

This capability exists for all types of HDaudio extended links, but
for now is only required for SoundWire. In the SSP/DMIC case, the IP
is programmed by the DSP firmware.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com
Reviewed-by: Rander Wang <rander.wang@intel.com
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com
Link: https://lore.kernel.org/r/20230512174611.84372-7-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org
include/sound/hda-mlink.h
sound/soc/sof/intel/hda-mlink.c