mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 15:13:55 +08:00
fc1ca6e01d
Provide the eld to the generic hdmi-codec driver. This will let the driver enforce the maximum channel number and set the channel allocation depending on the hdmi sink. Cc: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Reviewed-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190812125016.20169-1-jbrunet@baylibre.com
24 lines
402 B
C
24 lines
402 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef DW_HDMI_AUDIO_H
|
|
#define DW_HDMI_AUDIO_H
|
|
|
|
struct dw_hdmi;
|
|
|
|
struct dw_hdmi_audio_data {
|
|
phys_addr_t phys;
|
|
void __iomem *base;
|
|
int irq;
|
|
struct dw_hdmi *hdmi;
|
|
u8 *eld;
|
|
};
|
|
|
|
struct dw_hdmi_i2s_audio_data {
|
|
struct dw_hdmi *hdmi;
|
|
u8 *eld;
|
|
|
|
void (*write)(struct dw_hdmi *hdmi, u8 val, int offset);
|
|
u8 (*read)(struct dw_hdmi *hdmi, int offset);
|
|
};
|
|
|
|
#endif
|