diff options
author | Kuninori Morimoto | 2017-05-18 03:28:22 +0200 |
---|---|---|
committer | Mark Brown | 2017-05-19 19:36:25 +0200 |
commit | 7fa72cca39a042228965a578b9249216082591e0 (patch) | |
tree | c1f63680540727418f6cc2703db22fdd6ffd1ca5 /sound/soc/sh/rcar/core.c | |
parent | ASoC: rsnd: add support graph base DT phase 2 (diff) | |
download | kernel-qcow2-linux-7fa72cca39a042228965a578b9249216082591e0.tar.gz kernel-qcow2-linux-7fa72cca39a042228965a578b9249216082591e0.tar.xz kernel-qcow2-linux-7fa72cca39a042228965a578b9249216082591e0.zip |
ASoC: rsnd: add HDMI output support
Renesas R-Car Gen3 can output HDMI sound if SSIU/SSI are connected to
R-Car built-in HDMI device (R-Car Gen3 built-in HDMI device will be
controlled by DRM/KMS driver).
If SSIx was connected to HDMI0/1 on DT, SSI driver will detect it
automatically by this patch.
Note is that now Renesas R-Car sound driver is assuming that it is
using OF-graph base simple card for HDMI sound.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar/core.c')
-rw-r--r-- | sound/soc/sh/rcar/core.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c index 41b2e782b0bf..080431543141 100644 --- a/sound/soc/sh/rcar/core.c +++ b/sound/soc/sh/rcar/core.c @@ -909,8 +909,11 @@ static int rsnd_dai_probe(struct rsnd_priv *priv) */ dai_i = 0; if (is_graph) { - for_each_endpoint_of_node(dai_node, dai_np) - __rsnd_dai_probe(priv, dai_np, dai_i++, is_graph); + for_each_endpoint_of_node(dai_node, dai_np) { + __rsnd_dai_probe(priv, dai_np, dai_i, is_graph); + rsnd_ssi_parse_hdmi_connection(priv, dai_np, dai_i); + dai_i++; + } } else { for_each_child_of_node(dai_node, dai_np) __rsnd_dai_probe(priv, dai_np, dai_i++, is_graph); |