From d9a6fd7eb78df656fcf8d925fc3fe301051a9e1c Mon Sep 17 00:00:00 2001 From: Viorel Suman Date: Wed, 5 Jun 2019 13:46:32 +0000 Subject: MLK-21957-3: ASoC: fsl_sai: add bitcount and timestamp controls Bitcount and timestamp support added in SAI IP recently. Add the related controls in SAI driver. Signed-off-by: Viorel Suman --- sound/soc/fsl/fsl_sai.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sound/soc/fsl/fsl_sai.h') diff --git a/sound/soc/fsl/fsl_sai.h b/sound/soc/fsl/fsl_sai.h index 20cc5745b0cc..ee2eb2fdd03a 100644 --- a/sound/soc/fsl/fsl_sai.h +++ b/sound/soc/fsl/fsl_sai.h @@ -210,6 +210,12 @@ #define SAI_FLAG_PMQOS BIT(0) +/* SAI timestamp and bitcounter */ +#define FSL_SAI_xTCTL_TSEN BIT(0) +#define FSL_SAI_xTCTL_TSINC BIT(1) +#define FSL_SAI_xTCTL_RTSC BIT(8) +#define FSL_SAI_xTCTL_RBC BIT(9) + struct fsl_sai_soc_data { unsigned int fifo_depth; unsigned int fifos; -- cgit v1.2.3