kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* linux gpio
@ 2011-03-29  8:06 Jürgen Lambrecht
  2011-04-03  7:36 ` Jim Cromie
  0 siblings, 1 reply; 3+ messages in thread
From: Jürgen Lambrecht @ 2011-03-29  8:06 UTC (permalink / raw)
  To: kernelnewbies

Hello,

I am new to linux (coming from eCos).
My backlight driver does not start up because the reset gpio pin is not
correct specified.
How does gpio work in Linux?

I have 2 platforms that use the same backlight driver, under arm, for freescale imx: imx31_3ds and imx27_3ds.
I don't think that matters, I just need to understand the linux gpio.

The imx31 platform gives the number 88 as gpio number to the backlight
driver.
That number comes out of 'iomux-mx3.h'.
In 'iomux-mx27.h' the GPIO's are specified in an other way, the
"hardware" way, specifying bank and port. I think Linux GPIO needs a
sort of general gpio number.
But how do I calculate that number out of the datasheet?
In the imx31 datasheet, I cannot find that number 88 (or the other
numbers in 'iomux-mx3.h').

Kind regards,
J?rgen

-- 
J?rgen Lambrecht
R&D Associate
Tel: +32 (0)51 303045    Fax: +32 (0)51 310670
http://www.televic-rail.com
Televic Rail NV - Leo Bekaertlaan 1 - 8870 Izegem - Belgium
Company number 0825.539.581 - RPR Kortrijk

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-04 11:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-29  8:06 linux gpio Jürgen Lambrecht
2011-04-03  7:36 ` Jim Cromie
2011-04-04 11:44   ` Jürgen Lambrecht

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).