diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2013-04-14 07:42:52 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-16 08:03:15 -0400 |
commit | cd3ff762991ebf309e089ed5a87a8965f175f46a (patch) | |
tree | 527b7ea663f63a683988b6f625ef65994af53c37 /sound/soc | |
parent | fa659d830df0bad8fc3a3815a7f36bd8b7ed9254 (diff) |
ASoC: fsl-ssi: Add SACNT definitions
Add definitions for AC97 control register.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Timur Tabi <timur@tabi.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/fsl/fsl_ssi.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_ssi.h b/sound/soc/fsl/fsl_ssi.h index 217300029b5b..e6b9a69e2a68 100644 --- a/sound/soc/fsl/fsl_ssi.h +++ b/sound/soc/fsl/fsl_ssi.h | |||
@@ -196,5 +196,13 @@ struct ccsr_ssi { | |||
196 | #define CCSR_SSI_SOR_WAIT(x) (((x) & 3) << CCSR_SSI_SOR_WAIT_SHIFT) | 196 | #define CCSR_SSI_SOR_WAIT(x) (((x) & 3) << CCSR_SSI_SOR_WAIT_SHIFT) |
197 | #define CCSR_SSI_SOR_SYNRST 0x00000001 | 197 | #define CCSR_SSI_SOR_SYNRST 0x00000001 |
198 | 198 | ||
199 | #define CCSR_SSI_SACNT_FRDIV(x) (((x) & 0x3f) << 5) | ||
200 | #define CCSR_SSI_SACNT_WR 0x00000010 | ||
201 | #define CCSR_SSI_SACNT_RD 0x00000008 | ||
202 | #define CCSR_SSI_SACNT_RDWR_MASK 0x00000018 | ||
203 | #define CCSR_SSI_SACNT_TIF 0x00000004 | ||
204 | #define CCSR_SSI_SACNT_FV 0x00000002 | ||
205 | #define CCSR_SSI_SACNT_AC97EN 0x00000001 | ||
206 | |||
199 | #endif | 207 | #endif |
200 | 208 | ||