ASoC: rsnd: add support graph base DT phase 1
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 18 May 2017 01:27:48 +0000 (01:27 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 19 May 2017 17:36:25 +0000 (18:36 +0100)
commit11d0f8ed6dc3e553b20329bc85f2a1aefb5f180f
tree1777c1a84a99b4ae681cf69f6cc8744e4e9e78e7
parentc73df77d72de28ad72973d3c3103a5361e1440fb
ASoC: rsnd: add support graph base DT phase 1

To enable OF-graph base DT on rsnd driver, and to keep compatible
previous normal sound card style, it need to support both
"rcar_sound,dai" and "ports" (or "port") on DT.

This patch modify rsnd_dai_of_node() to parse
"rcar_sound,dai" and "ports" (or "port") as phase 1. It can detect
graph base style, but do nothing at this point.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/rsnd.h