summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorZeng Zhaoming <b32542@freescale.com>2011-08-04 03:20:22 +0800
committerZeng Zhaoming <b32542@freescale.com>2011-08-05 01:54:04 +0800
commitbe75f376017a04b55cc9f4b3d1c3f2836deb9e47 (patch)
treec7045f7ae3091552a65a07819f1b274f23722462 /include
parentdf2e19c0588129456db8cc38ceeab7a20e5d6727 (diff)
ENGR00154300-2 ASRC: Fix Mx53 ASRC not works with SSI
Asrc not works with ssi, it partly caused by ASRC driver not correctly handle ssi input clock and data format. SSI frame clock counting by word, when data format is 16bit-LE, two channel data combine to one word, and frame rate used by ASRC should take this into account. And more, unlike Mx3x, Mx5x should set input and output data format correctly in its ASRMCR1x register. Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mxc_asrc.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/linux/mxc_asrc.h b/include/linux/mxc_asrc.h
index 326cd20b2c30..c5d959d8b976 100644
--- a/include/linux/mxc_asrc.h
+++ b/include/linux/mxc_asrc.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2008-2010 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2008-2011 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
@@ -162,6 +162,17 @@ enum asrc_error_status {
#define ASRC_ASR76K_REG 0x98
#define ASRC_ASR56K_REG 0x9C
+/* mx53 expanded */
+#define ASRC_ASRMCRA_REG 0xA0
+#define ASRC_ASRFSTA_REG 0xA4
+#define ASRC_ASRMCRB_REG 0xA8
+#define ASRC_ASRFSTB_REG 0xAC
+#define ASRC_ASRMCRC_REG 0xB0
+#define ASRC_ASRFSTC_REG 0xB4
+#define ASRC_ASRMCR1A_REG 0xC0
+#define ASRC_ASRMCR1B_REG 0xC4
+#define ASRC_ASRMCR1C_REG 0xC8
+
struct dma_block {
unsigned int index;
unsigned int length;