From: John Stultz <john.stultz@linaro.org>
To: lkml <linux-kernel@vger.kernel.org>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
Mark Brown <broonie@kernel.org>,
Linux-ALSA <alsa-devel@alsa-project.org>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
Rob Herring <robh+dt@kernel.org>
Subject: Re: [PATCH] drm: adv7511_audio: Add .get_dai_id callback to map port number to dai id
Date: Tue, 13 Jun 2017 15:01:27 -0700 [thread overview]
Message-ID: <CALAqxLUP+O-OGSULdrueTn5heFiC9ovuL7fKig2hNe++YjcXmw@mail.gmail.com> (raw)
In-Reply-To: <1497391189-9301-1-git-send-email-john.stultz@linaro.org>
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
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2017-06-13 22:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-13 21:59 [PATCH] drm: adv7511_audio: Add .get_dai_id callback to map port number to dai id John Stultz
2017-06-13 22:01 ` John Stultz [this message]
2017-06-14 0:05 ` Mark Brown
2017-06-26 16:31 ` John Stultz
2017-06-28 18:50 ` Mark Brown
2017-06-30 11:59 ` Applied "drm: adv7511_audio: Add .get_dai_id callback to map port number to dai id" to the asoc tree Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALAqxLUP+O-OGSULdrueTn5heFiC9ovuL7fKig2hNe++YjcXmw@mail.gmail.com \
--to=john.stultz@linaro.org \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).