1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef DW_HDMI_AUDIO_H 3 #define DW_HDMI_AUDIO_H 4 5 struct dw_hdmi; 6 7 struct dw_hdmi_audio_data { 8 phys_addr_t phys; 9 void __iomem *base; 10 int irq; 11 struct dw_hdmi *hdmi; 12 u8 *(*get_eld)(struct dw_hdmi *hdmi); 13 u8 *eld; 14 }; 15 16 struct dw_hdmi_i2s_audio_data { 17 struct dw_hdmi *hdmi; 18 u8 *eld; 19 20 void (*write)(struct dw_hdmi *hdmi, u8 val, int offset); 21 u8 (*read)(struct dw_hdmi *hdmi, int offset); 22 u8 *(*get_eld)(struct dw_hdmi *hdmi); 23 }; 24 25 #endif 26