ASoC: Document DAI signal polarity
authorAnatol Pomozov <anatol.pomozov@gmail.com>
Thu, 8 Oct 2015 16:37:51 +0000 (09:37 -0700)
committerMark Brown <broonie@kernel.org>
Thu, 22 Oct 2015 16:21:14 +0000 (01:21 +0900)
commit1d387a3fd86f2acf70803262c5a5a5a89df0e097
tree66fee8363e7379d59c09d7a14ecb219d1d820ee1
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
ASoC: Document DAI signal polarity

Currently there is no clear definition of what FSYNC polarity is.
Different drivers use its own definition of what is "normal" and what is
"inverted" fsync. This leads to compatibility problems between drivers.

For example TegraX1 driver assumes that DSP-A format with frames
starting at rising FSYNC edge has "inverted" polarity,
while RT5677 assumes it is "normal" polarity.

Explicitly specify meaning of BCLK/FSYNC polarity to avoid future
compatibility problems.

Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dai.h