mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Roland Stigge <stigge@antcom.de>
To: linux-kernel@vger.kernel.org
Subject: GPIO: Handling multiple lines at once
Date: Tue, 18 Jan 2011 17:15:29 +0100	[thread overview]
Message-ID: <4D35BCA1.1050002@antcom.de> (raw)

Hi,

in the standard gpio interface (see Documentation/gpio.txt), we have an
interface to manipulate single GPIO lines.

Several drivers are implementing an interface for devices that can
handle multiple lines at once. E.g. Maxim MAX7301
(drivers/gpio/max7301.c). There, you can get/set/configure 8 bits at
once which is really helpful if you are handling 8 bit data as
bytes/characters via the lines.

Is there an appropriate interface for this case that I'm somehow missing
from the docs and the code?

Or do I need to create it myself?

Or is this a use case not considered "GPIO" at all?

Please CC me.

Thanks in advance!

Roland

             reply	other threads:[~2011-01-18 16:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-18 16:15 Roland Stigge [this message]
2011-01-19  6:28 ` Ben Nizette

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=4D35BCA1.1050002@antcom.de \
    --to=stigge@antcom.de \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®