Re: [PATCH 2/3] drm/vc4: Add HDMI audio support

2017-02-24 Thread Boris Brezillon
Hi Eric, On Tue, 7 Feb 2017 13:07:02 -0800 Eric Anholt wrote: > +static int vc4_hdmi_audio_init(struct vc4_hdmi *hdmi) > +{ > + struct snd_soc_dai_link *dai_link = >audio.link; > + struct snd_soc_card *card = >audio.card; > + struct device *dev = >pdev->dev; > +

[PATCH 2/3] drm/vc4: Add HDMI audio support

2017-02-07 Thread Eric Anholt
The HDMI encoder IP embeds all needed blocks to output audio, with a custom DAI called MAI moving audio between the two parts of the HDMI core. This driver now exposes a sound card to let users stream audio to their display. Using the hdmi-codec driver has been considered here, but MAI meant