ASoC: dt-bindings: fsl_asrc: Add new property fsl, asrc-format
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 16 Apr 2020 12:25:32 +0000 (20:25 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 21 Apr 2020 15:34:06 +0000 (16:34 +0100)
commitb84b4c9a688d803b0e7cf91fec9a5d8b3ba47768
treee96fe92f74dfa1050a87e4eabeaa39eafd593894
parent7470704d8b425c4c7045884690f92cf015563aac
ASoC: dt-bindings: fsl_asrc: Add new property fsl, asrc-format

In order to support new EASRC and simplify the code structure,
We decide to share the common structure between them. This bring
a problem that EASRC accept format directly from devicetree, but
ASRC accept width from devicetree.

In order to align with new ESARC, we add new property fsl,asrc-format.
The fsl,asrc-format can replace the fsl,asrc-width, then driver
can accept format from devicetree, don't need to convert it to
format through width.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/e7acbde4b26a82b674a4091515a219e09f847eac.1587038908.git.shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/fsl,asrc.txt