0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef __OMAP_HDMI_AUDIO_H__
0011 #define __OMAP_HDMI_AUDIO_H__
0012
0013 #include <linux/platform_data/omapdss.h>
0014
0015 struct omap_dss_audio {
0016 struct snd_aes_iec958 *iec;
0017 struct snd_cea_861_aud_if *cea;
0018 };
0019
0020 struct omap_hdmi_audio_ops {
0021 int (*audio_startup)(struct device *dev,
0022 void (*abort_cb)(struct device *dev));
0023 int (*audio_shutdown)(struct device *dev);
0024 int (*audio_start)(struct device *dev);
0025 void (*audio_stop)(struct device *dev);
0026 int (*audio_config)(struct device *dev,
0027 struct omap_dss_audio *dss_audio);
0028 };
0029
0030
0031 struct omap_hdmi_audio_pdata {
0032 struct device *dev;
0033 unsigned int version;
0034 phys_addr_t audio_dma_addr;
0035
0036 const struct omap_hdmi_audio_ops *ops;
0037 };
0038
0039 #endif