diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2020-04-16 14:25:32 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-04-21 17:34:06 +0200 |
commit | b84b4c9a688d803b0e7cf91fec9a5d8b3ba47768 (patch) | |
tree | e96fe92f74dfa1050a87e4eabeaa39eafd593894 /Documentation/devicetree/bindings/sound/fsl,asrc.txt | |
parent | ASoC: fsl_asrc: rename asrc_priv to asrc (diff) | |
download | linux-b84b4c9a688d803b0e7cf91fec9a5d8b3ba47768.tar.xz linux-b84b4c9a688d803b0e7cf91fec9a5d8b3ba47768.zip |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/fsl,asrc.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/fsl,asrc.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/fsl,asrc.txt b/Documentation/devicetree/bindings/sound/fsl,asrc.txt index cb9a25165503..998b4c8a7f78 100644 --- a/Documentation/devicetree/bindings/sound/fsl,asrc.txt +++ b/Documentation/devicetree/bindings/sound/fsl,asrc.txt @@ -51,6 +51,10 @@ Optional properties: will be in use as default. Otherwise, the big endian mode will be in use for all the device registers. + - fsl,asrc-format : Defines a mutual sample format used by DPCM Back + Ends, which can replace the fsl,asrc-width. + The value is 2 (S16_LE), or 6 (S24_LE). + Example: asrc: asrc@2034000 { |