blob: fd1f745c607377753ba613a03b0c4d76192f0e9b [file] [log] [blame]
Russell King7ed6c662013-11-07 16:01:45 +00001#ifndef DW_HDMI_AUDIO_H
2#define DW_HDMI_AUDIO_H
3
4struct dw_hdmi;
5
6struct dw_hdmi_audio_data {
7 phys_addr_t phys;
8 void __iomem *base;
9 int irq;
10 struct dw_hdmi *hdmi;
Russell Kingf5ce4052013-11-07 16:06:01 +000011 u8 *eld;
Russell King7ed6c662013-11-07 16:01:45 +000012};
13
Kuninori Morimoto2761ba62016-11-08 01:00:57 +000014struct dw_hdmi_i2s_audio_data {
15 struct dw_hdmi *hdmi;
16
17 void (*write)(struct dw_hdmi *hdmi, u8 val, int offset);
18 u8 (*read)(struct dw_hdmi *hdmi, int offset);
19};
20
Russell King7ed6c662013-11-07 16:01:45 +000021#endif