1
2
3
4
5
6
7
8
9
10 #ifndef __OMAP_HDMI_AUDIO_H__
11 #define __OMAP_HDMI_AUDIO_H__
12
13 #include <linux/platform_data/omapdss.h>
14
15 struct omap_dss_audio {
16 struct snd_aes_iec958 *iec;
17 struct snd_cea_861_aud_if *cea;
18 };
19
20 struct omap_hdmi_audio_ops {
21 int (*audio_startup)(struct device *dev,
22 void (*abort_cb)(struct device *dev));
23 int (*audio_shutdown)(struct device *dev);
24 int (*audio_start)(struct device *dev);
25 void (*audio_stop)(struct device *dev);
26 int (*audio_config)(struct device *dev,
27 struct omap_dss_audio *dss_audio);
28 };
29
30
31 struct omap_hdmi_audio_pdata {
32 struct device *dev;
33 unsigned int version;
34 phys_addr_t audio_dma_addr;
35
36 const struct omap_hdmi_audio_ops *ops;
37 };
38
39 #endif