diff options
author | Viorel Suman <viorel.suman@nxp.com> | 2019-06-05 13:46:32 +0000 |
---|---|---|
committer | Viorel Suman <viorel.suman@nxp.com> | 2019-12-10 13:28:28 +0200 |
commit | d9a6fd7eb78df656fcf8d925fc3fe301051a9e1c (patch) | |
tree | d31ce119dca074b50267097dfaad9a72cd946914 /sound/soc/fsl/fsl_sai.h | |
parent | 4c4b7df6f93eb17509c38ff14ffe416db70cb6b2 (diff) |
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 <viorel.suman@nxp.com>
Diffstat (limited to 'sound/soc/fsl/fsl_sai.h')
-rw-r--r-- | sound/soc/fsl/fsl_sai.h | 6 |
1 files changed, 6 insertions, 0 deletions
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; |