diff options
author | Matthias Reichl <hias@horus.com> | 2017-11-08 21:03:30 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-11-10 21:26:07 +0000 |
commit | abd4f0e1c24fd5b7241c77506006e9c0982128c0 (patch) | |
tree | d7382df4973dbc730256509cd157941a1e67eede /CREDITS | |
parent | 3d2b3c707b3f9516d6c183eb1ffbf02a6dc5dc98 (diff) | |
download | linux-abd4f0e1c24fd5b7241c77506006e9c0982128c0.tar.bz2 |
ASoC: bcm2835: Support left/right justified and DSP modes
DSP modes and left/right justified modes can be supported
on bcm2835 by configuring the frame sync polarity and
frame sync length registers and by adjusting the
channel data position registers.
Clock and frame sync polarity handling in hw_params has
been refactored to make the interaction between logical
rising/falling edge frame start and physical configuration
(changed by normal/inverted polarity modes) clearer.
Modes where the first active data bit is transmitted immediately
after frame start (eg DSP mode B with slot 0 active)
only work reliable if bcm2835 is configured as frame master.
In frame slave mode channel swap (or shift, this isn't quite
clear yet) can occur.
Currently the driver only warns if an unstable configuration
is detected but doensn't prevent using them.
Signed-off-by: Matthias Reichl <hias@horus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions