[alsa-devel] ASoC: special SPI format for that5173 driver in daisy chain mode
schoerkhuber at iem.at
Wed Oct 10 17:36:30 CEST 2012
I'm working on an ASoC driver for the THAT5173 microphone preamplifier
which is controlled via SPI. When operating in daisy chain mode (4 amps)
the desired format is a bit odd: I need to write four 16 bit spi
commands (one gain setting for each amp) in a row without raising the
chipselect line between commands.
That is, I need to write one 64 bit SPI command that is composed of 4
different values (and 4 register addresses which are all 0).
Usually I use regmap but I don't see how I can construct such a message
with regmap. How can this be done (with or without regmap)?
More information about the Alsa-devel