[lkml]   [2017]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] drm: adv7511_audio: Add .get_dai_id callback to map port number to dai id
On Tue, Jun 13, 2017 at 2:59 PM, John Stultz <> wrote:
> ALSA SoC needs to know connected DAI ID for probing. Using
> the new audio-card-graph approach, ports/endpoints are used
> to describe how the links are connected. Unfortunately, since
> ports/endpoints are used as well for video linkages, there
> are some issues mixing the port ids to the two (video and
> audio) namespaces.
> To solve this issue, this patch adds new .get_dai_id callback
> on hdmi_codec_ops.
> The will assume that HDMI audio out will be connected to
> reg = <2>. This will then be remapped to the ALSA SoC side will
> as DAI 0. Allowing the adv7511's hdmi audio support to be used
> with the audio-card-graph.
> Credit to Kuninori Morimoto who's patch to dw-hdmi-i2s-audio.c
> was what this was mostly copy-pasted from.

Forgot to note this has dependencies on patches in the ASoC tree in
-next, so it probably should go in via that tree.


 \ /
  Last update: 2017-06-14 00:02    [W:0.068 / U:30.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site