zte's code,first commit
Change-Id: I9a04da59e459a9bc0d67f101f700d9d7dc8d681b
diff --git a/ap/os/linux/linux-3.4.x/sound/soc/sanechips/i2s.h b/ap/os/linux/linux-3.4.x/sound/soc/sanechips/i2s.h
new file mode 100644
index 0000000..1e3bff9
--- /dev/null
+++ b/ap/os/linux/linux-3.4.x/sound/soc/sanechips/i2s.h
@@ -0,0 +1,21 @@
+#ifndef __SND_SOC_SANECHIPS_I2S_H
+#define __SND_SOC_SANECHIPS_I2S_H
+#include <linux/printk.h>
+
+#define ZX29_I2S_WCLK_SEL 0
+
+#define ZX29_I2S_WCLK_FREQ_26M (26*1000*1000)
+#define ZX29_I2S_WCLK_FREQ_104M (104*1000*1000)
+#define ZX29_I2S_WCLK_FREQ_122M88 (12288*10000)
+#define ZX29_I2S_LOOP_CFG ((volatile unsigned int *)(ZX_SOC_SYS_BASE + 0x60))
+
+#define ZX29_TDM_MOD_CLK_SEL ((volatile unsigned int *)(ZX_MATRIX_CRM_BASE+0x50))
+#define ZX29_I2S_DMA_SEL_CFG ((volatile unsigned int *)(ZX_SOC_SYS_BASE+0x120))
+//#ifdef CONFIG_KERNEL_GLOBAL_DEBUG
+#define print_audio(fmt, ...) \
+ printk(fmt, ##__VA_ARGS__)
+//#else
+//#define print_audio(fmt, ...) \
+// no_printk(fmt, ##__VA_ARGS__)
+//#endif
+#endif /* __SND_SOC_SANECHIPS_I2S_H*/