summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/fsl_sai.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-01-11 09:15:18 +0100
committerMark Brown <broonie@kernel.org>2022-02-08 13:38:06 +0000
commiteba0f007751986ee401f2a1bcbdd3bdc845cb606 (patch)
treed962053886a5a40b2a3f903ffdffd7974cb83311 /sound/soc/fsl/fsl_sai.h
parent6324cf901e14c6662be508f30485e0f09c54694d (diff)
downloadlinux-stable-eba0f007751986ee401f2a1bcbdd3bdc845cb606.tar.gz
linux-stable-eba0f007751986ee401f2a1bcbdd3bdc845cb606.tar.bz2
linux-stable-eba0f007751986ee401f2a1bcbdd3bdc845cb606.zip
ASoC: fsl_sai: Enable combine mode soft
The fsl_sai driver calculates the number of pins used and enables multiple channels if necessary. This means the SAI expects data in one FIFO per pin. The SDMA engine only services a single FIFO, so multi pin support doesn't work at all. This patch enables the software combine mode in chips that support it. With this the SAI presents only a single FIFO to the outside and distributes the data into the different FIFOs internally. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.kernel.org/r/20220111081518.982437-1-s.hauer@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/fsl_sai.h')
-rw-r--r--sound/soc/fsl/fsl_sai.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_sai.h b/sound/soc/fsl/fsl_sai.h
index 9aaf231bc024..410f6e6a9137 100644
--- a/sound/soc/fsl/fsl_sai.h
+++ b/sound/soc/fsl/fsl_sai.h
@@ -223,6 +223,7 @@ struct fsl_sai_soc_data {
bool use_edma;
bool mclk0_is_mclk1;
unsigned int fifo_depth;
+ unsigned int pins;
unsigned int reg_offset;
unsigned int flags;
};