All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Kulhavy <petr@barix.com>
To: alsa-devel@alsa-project.org
Subject: GPIO control from ALSA
Date: Wed, 20 Apr 2016 10:03:48 +0200	[thread overview]
Message-ID: <571737E4.5030908@barix.com> (raw)

Hello,

I'm writing a driver for ASoC "sound card" hardware which uses CPU GPIO 
to mute/unmute an analogue amplifier and another GPIO to control an 
analogue switch for line/mic switching. Is there an abstraction in ALSA 
to model this kind of hardware?

Thanks
Petr

             reply	other threads:[~2016-04-20  8:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-20  8:03 Petr Kulhavy [this message]
2016-04-20  8:33 ` GPIO control from ALSA Lars-Peter Clausen
2016-04-20  8:51   ` Petr Kulhavy
2016-04-20  9:06     ` Lars-Peter Clausen
2016-04-20  9:47       ` Petr Kulhavy
2016-04-20 10:39         ` Lars-Peter Clausen

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=571737E4.5030908@barix.com \
    --to=petr@barix.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.