Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd3ff762 authored by Markus Pargmann's avatar Markus Pargmann Committed by Mark Brown
Browse files

ASoC: fsl-ssi: Add SACNT definitions



Add definitions for AC97 control register.

Signed-off-by: default avatarMarkus Pargmann <mpa@pengutronix.de>
Acked-by: default avatarTimur Tabi <timur@tabi.org>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent fa659d83
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -196,5 +196,13 @@ struct ccsr_ssi {
#define CCSR_SSI_SOR_WAIT(x) (((x) & 3) << CCSR_SSI_SOR_WAIT_SHIFT)
#define CCSR_SSI_SOR_SYNRST 		0x00000001

#define CCSR_SSI_SACNT_FRDIV(x)		(((x) & 0x3f) << 5)
#define CCSR_SSI_SACNT_WR		0x00000010
#define CCSR_SSI_SACNT_RD		0x00000008
#define CCSR_SSI_SACNT_RDWR_MASK	0x00000018
#define CCSR_SSI_SACNT_TIF		0x00000004
#define CCSR_SSI_SACNT_FV		0x00000002
#define CCSR_SSI_SACNT_AC97EN		0x00000001

#endif