summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-02 05:35:04 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-02 05:35:04 +0100
commit546694bc42a4ee4f1a5d2f14e1c71d11fdafba4d (patch)
tree15767d995eb0b5867bb6f13655be696c68b44d13 /include
parentMerge remote-tracking branch 'asoc/topic/dmaengine' into asoc-next (diff)
parentASoC: fsi: add SND_SOC_DAIFMT_INV_xxx support (diff)
downloadlinux-546694bc42a4ee4f1a5d2f14e1c71d11fdafba4d.tar.xz
linux-546694bc42a4ee4f1a5d2f14e1c71d11fdafba4d.zip
Merge remote-tracking branch 'asoc/topic/fsi' into asoc-next
Diffstat (limited to 'include')
-rw-r--r--include/sound/sh_fsi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sound/sh_fsi.h b/include/sound/sh_fsi.h
index 906010344dd7..cc1c919c6436 100644
--- a/include/sound/sh_fsi.h
+++ b/include/sound/sh_fsi.h
@@ -26,6 +26,7 @@
* A: inversion
* B: format mode
* C: chip specific
+ * D: clock selecter if master mode
*/
/* A: clock inversion */
@@ -44,6 +45,11 @@
#define SH_FSI_OPTION_MASK 0x00000F00
#define SH_FSI_ENABLE_STREAM_MODE (1 << 8) /* for 16bit data */
+/* D: clock selecter if master mode */
+#define SH_FSI_CLK_MASK 0x0000F000
+#define SH_FSI_CLK_EXTERNAL (0 << 12)
+#define SH_FSI_CLK_CPG (1 << 12) /* FSIxCK + FSI-DIV */
+
/*
* set_rate return value
*