linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Barada <peter.barada@gmail.com>
To: linux-omap@vger.kernel.org
Subject: using gpiolib driver to manipulate GPIO pins
Date: Fri, 7 May 2010 12:35:22 -0400	[thread overview]
Message-ID: <w2h738b3f7e1005070935l8b136f6brffa2a5f41b275d5d@mail.gmail.com> (raw)

I'm trying to use the gpio driver in 2.6.32 to manipulate a pin after
the kernel comes up(via /sys/class/gpio/...), and I can tweak the gpio
value,
but the gpio driver does not handle the mux setting to set the mux
mode (or input/output/pullup/puldown) to 4 for the particular pin.

I've looked at the latest in LImus' tree and do not see any code in
the driver/gpio/gpiolib.c to handle the muxing....

Am I going about this all wrong?

                 reply	other threads:[~2010-05-07 16:35 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=w2h738b3f7e1005070935l8b136f6brffa2a5f41b275d5d@mail.gmail.com \
    --to=peter.barada@gmail.com \
    --cc=linux-omap@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;
as well as URLs for NNTP newsgroup(s).