From: "Christian Schörkhuber" <schoerkhuber@iem.at>
To: alsa-devel@alsa-project.org
Subject: ASoC: special SPI format for that5173 driver in daisy chain mode
Date: Wed, 10 Oct 2012 17:36:30 +0200 [thread overview]
Message-ID: <507595FE.8020204@iem.at> (raw)
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
reply other threads:[~2012-10-10 15:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=507595FE.8020204@iem.at \
--to=schoerkhuber@iem.at \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).