2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/drivers/gpu/drm/bridge
John Stultz 7204e97685 drm: adv7511_audio: Add .get_dai_id callback to map port number to dai id
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.

Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Archit Taneja <architt@codeaurora.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: David Airlie <airlied@linux.ie>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Linux-ALSA <alsa-devel@alsa-project.org>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-06-28 21:00:08 +01:00
..
adv7511 drm: adv7511_audio: Add .get_dai_id callback to map port number to dai id 2017-06-28 21:00:08 +01:00
analogix drm: bridge: analogix: Destroy connector & encoder when unbinding 2017-04-07 13:28:32 -04:00
synopsys drm: dw-hdmi-i2s: add .get_dai_id callback for ALSA SoC 2017-06-28 20:46:39 +01:00
analogix-anx78xx.c drm/bridge: Call drm_connector_cleanup directly 2016-10-05 15:20:36 +02:00
analogix-anx78xx.h drm/bridge: Add Analogix anx78xx support 2016-05-12 11:32:14 +02:00
dumb-vga-dac.c drm: convert drivers to use of_graph_get_remote_node 2017-04-06 17:00:27 -04:00
Kconfig drm: bridge: dw-hdmi: Move the driver to a separate directory. 2017-03-10 16:32:54 +05:30
lvds-encoder.c drm: bridge: lvds-encoder: Add thine,thc63lvdm83d compatible string 2017-03-05 19:01:45 +05:30
Makefile drm: bridge: dw-hdmi: Move the driver to a separate directory. 2017-03-10 16:32:54 +05:30
megachips-stdpxxxx-ge-b850v3-fw.c drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: Fix bridge initialization 2017-04-03 09:58:05 +05:30
nxp-ptn3460.c drm: convert drivers to use drm_of_find_panel_or_bridge 2017-04-06 17:00:27 -04:00
parade-ps8622.c drm: convert drivers to use drm_of_find_panel_or_bridge 2017-04-06 17:00:27 -04:00
sii902x.c drm/bridge: Add sii902x driver 2016-06-20 15:55:49 +02:00
sil-sii8620.c drm/bridge/sii8620: add missing error handling in probe 2017-02-23 11:06:11 -05:00
sil-sii8620.h drm/bridge/sii8620: add HSIC initialization code 2017-02-02 15:15:30 +05:30
tc358767.c drm: convert drivers to use drm_of_find_panel_or_bridge 2017-04-06 17:00:27 -04:00
ti-tfp410.c drm: convert drivers to use of_graph_get_remote_node 2017-04-06 17:00:27 -04:00