public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: "arun c" <arun.edarath@gmail.com>
To: linux-omap-open-source@linux.omap.com
Subject: omap GPIO programming
Date: Wed, 24 Oct 2007 14:35:40 +0530	[thread overview]
Message-ID: <c656a4d20710240205h37ed0e13m2484fba021ecd889@mail.gmail.com> (raw)

Hi all,

I want to use GPIOs 87,142,140 in omap2430. I am using a custom kernel.
i wrote a kernel modules with the following API to use the 3 pins

1)omap_request_gpio
2)omap_set_gpio_direction
3)omap_set_gpio_dataout
4)omap_free_gpio

But i could able to write data only to GPIO 140. other GPIOs are not showing
any voltage changes to writing 0 or 1 to them.

Whether i have to set pin muxing or use any other kernel api to use
the GPIOS 142 and 87?? please help me.

Regards,
Arun

             reply	other threads:[~2007-10-24  9:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-24  9:05 arun c [this message]
2007-10-26  0:24 ` omap GPIO programming Nishanth Menon

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=c656a4d20710240205h37ed0e13m2484fba021ecd889@mail.gmail.com \
    --to=arun.edarath@gmail.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /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