Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1665235

Re: [PATCH] drm: adv7511_audio: Add .get_dai_id callback to map port number to dai id

From John Stultz <john.stultz@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] drm: adv7511_audio: Add .get_dai_id callback to map port number to dai id
Date 2017-06-14 00:10 +0200
Message-ID <tS2aC-59Y-11@gated-at.bofh.it> (permalink)
References <tS2aC-59Y-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jun 13, 2017 at 2:59 PM, John Stultz <john.stultz@linaro.org> 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.

thanks
-john

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] drm: adv7511_audio: Add .get_dai_id callback to map port number to dai id John Stultz <john.stultz@linaro.org> - 2017-06-14 00:10 +0200
  Re: [PATCH] drm: adv7511_audio: Add .get_dai_id callback to map port  number to dai id John Stultz <john.stultz@linaro.org> - 2017-06-14 00:10 +0200
  Re: [PATCH] drm: adv7511_audio: Add .get_dai_id callback to map port  number to dai id Mark Brown <broonie@kernel.org> - 2017-06-14 02:10 +0200

csiph-web