summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@ti.com>2011-12-02 09:58:06 +0800
committerSebastien Jan <s-jan@ti.com>2011-12-05 11:20:23 +0100
commitdf61de1ea320f0b2083bd95914e4ccbd180fe91e (patch)
treed5be8e0086d5baa54b582ac809f934b765040ba8 /include
parenta795562a9ac47cc0469ceb1b91cae47e74fde40d (diff)
ASoC: OMAP4 ABE DSP - Add support for the OMAP4 ABE DSP
This patch adds the OMAP4 ABE platform driver. This driver defines and exports control for the DSP Frontend and Backend routing. TODO: cleanup Signed-off-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com> Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/sound/omap-abe-dsp.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/sound/omap-abe-dsp.h b/include/sound/omap-abe-dsp.h
new file mode 100644
index 000000000000..901a55c3418d
--- /dev/null
+++ b/include/sound/omap-abe-dsp.h
@@ -0,0 +1,21 @@
+/*
+ * omap-aess -- OMAP4 ABE DSP
+ *
+ * Author: Liam Girdwood <lrg@slimlogic.co.uk>
+ *
+ * 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 _OMAP4_ABE_DSP_H
+#define _OMAP4_ABE_DSP_H
+
+struct omap4_abe_dsp_pdata {
+ bool (*was_context_lost)(struct device *dev);
+ int (*device_scale)(struct device *req_dev,
+ struct device *target_dev,
+ unsigned long rate);
+};
+
+#endif