summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChen Liangjun <b36089@freescale.com>2012-08-21 17:25:36 +0800
committerJason Liu <r64343@freescale.com>2012-08-29 21:00:18 +0800
commit30a00946a51c5d669dc2c99037f9ca3474a53828 (patch)
tree2bfacec6262c436b5293a374f823390d20bdfceb /include
parent3abafe24fd30bbd1ae1c526320a77ce5375169cd (diff)
ENGR00182456-1 HDMI: Add interface for HDMI audio management
In this patch, add support for: 1. Interface for HDMI audio to register PCM into HDMI core driver. 2. Interface for HDMI video driver to stop HDMI audio 3. Interface for HDMI video driver to inform the state of HDMI cable and state of HDMI blank. Signed-off-by: Chen Liangjun <b36089@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/mxc-hdmi-core.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/mfd/mxc-hdmi-core.h b/include/linux/mfd/mxc-hdmi-core.h
index 8ddea5a040cc..f16b11cb5cf4 100644
--- a/include/linux/mfd/mxc-hdmi-core.h
+++ b/include/linux/mfd/mxc-hdmi-core.h
@@ -21,6 +21,11 @@
#include <mach/mxc_edid.h>
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/pcm_params.h>
+#include <sound/soc.h>
+
#define IRQ_DISABLE_SUCCEED 0
#define IRQ_DISABLE_FAIL 1
@@ -50,5 +55,10 @@ extern int mxc_hdmi_disp_id;
void hdmi_set_registered(int registered);
int hdmi_get_registered(void);
unsigned int hdmi_SDMA_check(void);
+int mxc_hdmi_abort_stream(void);
+int mxc_hdmi_register_audio(struct snd_pcm_substream *substream);
+void mxc_hdmi_unregister_audio(struct snd_pcm_substream *substream);
+unsigned int hdmi_set_cable_state(unsigned int state);
+unsigned int hdmi_set_blank_state(unsigned int state);
#endif