summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/asoc-s3c.h
diff options
context:
space:
mode:
authorPadmavathi Venna <padma.v@samsung.com>2013-08-12 15:19:52 +0530
committerMark Brown <broonie@linaro.org>2013-08-13 13:44:09 +0100
commit4ca0c0d4784fa82d68733f7793e3487023e12282 (patch)
treef5dfe6ed90617527f19fe399e4af8265a9074cf4 /include/linux/platform_data/asoc-s3c.h
parent7da493e9229c737c399886f57996f6bfd4454e21 (diff)
ASoC: Samsung: I2S: Modify the I2S driver to support I2S on Exynos5420
Exynos5420 added support for I2S TDM mode. For this, there are some register changes in the I2S controller. This patch adds the relevant register changes to support I2S in normal mode. This patch adds a quirk for TDM mode and if TDM mode is present all the relevent changes will be applied. Signed-off-by: Padmavathi Venna <padma.v@samsung.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux/platform_data/asoc-s3c.h')
-rw-r--r--include/linux/platform_data/asoc-s3c.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/asoc-s3c.h b/include/linux/platform_data/asoc-s3c.h
index 88272591a895..9efc04dd255a 100644
--- a/include/linux/platform_data/asoc-s3c.h
+++ b/include/linux/platform_data/asoc-s3c.h
@@ -36,6 +36,7 @@ struct samsung_i2s {
*/
#define QUIRK_NO_MUXPSR (1 << 2)
#define QUIRK_NEED_RSTCLR (1 << 3)
+#define QUIRK_SUPPORTS_TDM (1 << 4)
/* Quirks of the I2S controller */
u32 quirks;
dma_addr_t idma_addr;