drm/bridge: sii902x: add audio graph card support
authorOlivier Moysan <olivier.moysan@st.com>
Wed, 3 Jul 2019 08:04:12 +0000 (10:04 +0200)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Thu, 25 Jul 2019 12:20:02 +0000 (14:20 +0200)
commit17224cf29cbb5c496d08ffecc9db3c5e6cf09551
treeec815121ceebb6ad0fe87b53ffde5b9923f42e62
parent6b72c7a98bd631533c4f4ab293c8082abbb42601
drm/bridge: sii902x: add audio graph card support

Implement get_dai_id callback of audio HDMI codec
to support ASoC audio graph card.
HDMI audio output has to be connected to sii902x port 3.
get_dai_id callback maps this port to ASoC DAI index 0.

Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Reviewed-by: Philippe Cornu <philippe.cornu@st.com>
Acked-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1562141052-26221-1-git-send-email-olivier.moysan@st.com
drivers/gpu/drm/bridge/sii902x.c