diff options
author | Nicolin Chen <b42378@freescale.com> | 2013-12-12 14:44:45 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-19 19:03:52 +0400 |
commit | aafa85e71a75fdea9076c5e0f7fe09e12568c9a4 (patch) | |
tree | 6aa529ebee0651b3e3489344484e42b6e1896bc6 /sound/soc/fsl/fsl_ssi.h | |
parent | 05004cb4cd06127bb8ff70d5ab5a915103828e9d (diff) | |
download | linux-aafa85e71a75fdea9076c5e0f7fe09e12568c9a4.tar.xz |
ASoC: fsl_ssi: Add DAI master mode support for SSI on i.MX series
This patch adds three main functions for DAI master mode: set_dai_fmt(),
set_dai_sysclk() and set_dai_tdm_slot(), and one essential baud clock
accordingly. After appending this patch, the fsl_ssi driver on i.MX series
has the ability to derive LRCLK and BCLK from baud clock source so as to
support some audio Codecs which can only be used in slave mode.
Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/fsl_ssi.h')
-rw-r--r-- | sound/soc/fsl/fsl_ssi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_ssi.h b/sound/soc/fsl/fsl_ssi.h index e6b9a69e2a68..e6b63240a3d7 100644 --- a/sound/soc/fsl/fsl_ssi.h +++ b/sound/soc/fsl/fsl_ssi.h @@ -125,7 +125,9 @@ struct ccsr_ssi { #define CCSR_SSI_SRCR_REFS 0x00000001 /* STCCR and SRCCR */ +#define CCSR_SSI_SxCCR_DIV2_SHIFT 18 #define CCSR_SSI_SxCCR_DIV2 0x00040000 +#define CCSR_SSI_SxCCR_PSR_SHIFT 17 #define CCSR_SSI_SxCCR_PSR 0x00020000 #define CCSR_SSI_SxCCR_WL_SHIFT 13 #define CCSR_SSI_SxCCR_WL_MASK 0x0001E000 |