* omap GPIO programming
@ 2007-10-24 9:05 arun c
2007-10-26 0:24 ` Nishanth Menon
0 siblings, 1 reply; 2+ messages in thread
From: arun c @ 2007-10-24 9:05 UTC (permalink / raw)
To: linux-omap-open-source
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: omap GPIO programming
2007-10-24 9:05 omap GPIO programming arun c
@ 2007-10-26 0:24 ` Nishanth Menon
0 siblings, 0 replies; 2+ messages in thread
From: Nishanth Menon @ 2007-10-26 0:24 UTC (permalink / raw)
To: arun c; +Cc: linux-omap-open-source
arun c stated on 10/24/2007 4:05 AM:
> Whether i have to set pin muxing or use any other kernel api to use
> the GPIOS 142 and 87?? please help me.
in general yes. I usually refer to the corresponding OMAP Data Manual to
get which ballout I am interested in, and then see the TRM for the
corresponding register to set. omap2430 pin muxing is very straight
forward and should be easy to do.
Regards,
Nishanth Menon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-26 0:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-24 9:05 omap GPIO programming arun c
2007-10-26 0:24 ` Nishanth Menon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox