ASoC: fsl-asoc-card: Support configuring dai fmt from DT
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 21 Jul 2020 03:41:49 +0000 (11:41 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 23 Jul 2020 18:52:27 +0000 (19:52 +0100)
commit08b54b5e38e67b7e99f71b35cb8841b53e006759
tree7b79a0550fdcf3397f43905822436f347ba0e4d2
parentc8361757a712dff4db49e18b736635e367b0f473
ASoC: fsl-asoc-card: Support configuring dai fmt from DT

Support same propeties as simple card for configuring fmt
from DT.
In order to make this change compatible with old DT, these
properties are optional.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link: https://lore.kernel.org/r/1595302910-19688-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl-asoc-card.c