aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/s3c24xx/spdif.h
diff options
context:
space:
mode:
authorSeungwhan Youn <sw.youn@samsung.com>2010-10-12 20:51:23 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-10-15 11:40:58 +0100
commitfc127ccccc5de164d490e8a55a1c2c126293e96f (patch)
tree8b83396088e266eb0960524325f5a61e69d05a5c /sound/soc/s3c24xx/spdif.h
parentpowerpc/85xx: add DIU support to the Freecale P1022DS reference board (diff)
downloadlinux-dev-fc127ccccc5de164d490e8a55a1c2c126293e96f.tar.xz
linux-dev-fc127ccccc5de164d490e8a55a1c2c126293e96f.zip
ASoC: SAMSUNG: Add S/PDIF CPU driver
This patch adds S/PDIF CPU driver for various Samsung SoCs. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to '')
-rw-r--r--sound/soc/s3c24xx/spdif.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/sound/soc/s3c24xx/spdif.h b/sound/soc/s3c24xx/spdif.h
new file mode 100644
index 000000000000..3ed55592710f
--- /dev/null
+++ b/sound/soc/s3c24xx/spdif.h
@@ -0,0 +1,19 @@
+/* sound/soc/s3c24xx/spdif.h
+ *
+ * ALSA SoC Audio Layer - Samsung S/PDIF Controller driver
+ *
+ * Copyright (c) 2010 Samsung Electronics Co. Ltd
+ * http://www.samsung.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __SND_SOC_SAMSUNG_SPDIF_H
+#define __SND_SOC_SAMSUNG_SPDIF_H __FILE__
+
+#define SND_SOC_SPDIF_INT_MCLK 0
+#define SND_SOC_SPDIF_EXT_MCLK 1
+
+#endif /* __SND_SOC_SAMSUNG_SPDIF_H */