alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* ASoC: special SPI format for that5173 driver in daisy chain mode
@ 2012-10-10 15:36 Christian Schörkhuber
  0 siblings, 0 replies; only message in thread
From: Christian Schörkhuber @ 2012-10-10 15:36 UTC (permalink / raw)
  To: alsa-devel

Hi all,

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)?

Thanks,
Chris

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-10 15:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-10 15:36 ASoC: special SPI format for that5173 driver in daisy chain mode Christian Schörkhuber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).