summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_spdif.h
diff options
context:
space:
mode:
authorViorel Suman <viorel.suman@nxp.com>2018-08-08 09:56:36 +0300
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:54:20 +0800
commitfff54ed842c9e88b6b3ece2a0f1616f92fbcfe79 (patch)
tree2104dd3636eced115a5ebb47418d976b09505216 /sound/soc/fsl/fsl_spdif.h
parent83fbe123247d174b41a985e4c4021939bf4e983e (diff)
MLK-19115-2: ASoC: fsl_spdif: add support for enabling raw capture mode
Since i.MX8 MQ SPDIF interface is able to capture raw data. Add support in SPDIF driver for this functionality. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> (cherry picked from commit e13a302391f56a6bb547ff89e3fac73941cee429)
Diffstat (limited to 'sound/soc/fsl/fsl_spdif.h')
-rw-r--r--sound/soc/fsl/fsl_spdif.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_spdif.h b/sound/soc/fsl/fsl_spdif.h
index e6c61e07bc1a..f60b64675d39 100644
--- a/sound/soc/fsl/fsl_spdif.h
+++ b/sound/soc/fsl/fsl_spdif.h
@@ -63,6 +63,7 @@
#define SCR_TXFIFO_FSEL_IF4 (0x1 << SCR_TXFIFO_FSEL_OFFSET)
#define SCR_TXFIFO_FSEL_IF8 (0x2 << SCR_TXFIFO_FSEL_OFFSET)
#define SCR_TXFIFO_FSEL_IF12 (0x3 << SCR_TXFIFO_FSEL_OFFSET)
+#define SCR_RAW_CAPTURE_MODE (1 << 14)
#define SCR_LOW_POWER (1 << 13)
#define SCR_SOFT_RESET (1 << 12)
#define SCR_TXFIFO_CTRL_OFFSET 10