summaryrefslogtreecommitdiff
path: root/sound/soc/s3c24xx/s3c24xx_simtec.h
diff options
context:
space:
mode:
authorBen Dooks <ben@simtec.co.uk>2009-08-21 01:50:40 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-08-21 13:52:42 +0400
commit14412acde5b57450b8afb3d4b03132419b6abebf (patch)
treec9b0e3c5897c842e74fd8f9fc6474ffec007f622 /sound/soc/s3c24xx/s3c24xx_simtec.h
parenta0a499c5792b8656cd51e11d5e0db9fb21640f58 (diff)
downloadlinux-14412acde5b57450b8afb3d4b03132419b6abebf.tar.xz
ASoC: S3C24XX: Add audio core and tlv320aic23 for Simtec boards
Add core support for the range of S3C24XX Simtec boards with TLV320AIC23 CODECs on them. Since there are also boards with similar IIS routing the AMP and the configuration code is placed in a core file for re-use with other CODEC bindings. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/s3c24xx/s3c24xx_simtec.h')
-rw-r--r--sound/soc/s3c24xx/s3c24xx_simtec.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/sound/soc/s3c24xx/s3c24xx_simtec.h b/sound/soc/s3c24xx/s3c24xx_simtec.h
new file mode 100644
index 000000000000..2714203af161
--- /dev/null
+++ b/sound/soc/s3c24xx/s3c24xx_simtec.h
@@ -0,0 +1,22 @@
+/* sound/soc/s3c24xx/s3c24xx_simtec.h
+ *
+ * Copyright 2009 Simtec Electronics
+ *
+ * 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.
+*/
+
+extern void simtec_audio_init(struct snd_soc_codec *codec);
+
+extern int simtec_audio_core_probe(struct platform_device *pdev,
+ struct snd_soc_device *socdev);
+
+extern int simtec_audio_remove(struct platform_device *pdev);
+
+#ifdef CONFIG_PM
+extern struct dev_pm_ops simtec_audio_pmops;
+#define simtec_audio_pm &simtec_audio_pmops
+#else
+#define simtec_audio_pm NULL
+#endif