[ELDK] Canyonlands GPIO

Wolfgang Denk wd at denx.de
Mon Jan 3 09:39:38 CET 2011


Dear musaab ali,

In message <COL124-W28CC4CF7B69A5259151308CC070 at phx.gbl> you wrote:
>
> I'm using the Canyonlands evaluation board, and I was wondering if there is any way to access the GPIO
> pins, get its value, set its direction ... etc. Are there any available drivers to do so.

The Linux Kernel has a standard framework to access GPIO pins.

See Documentation/gpio.txt in the Linux kernel tree.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If A equals success, then the formula is A = X + Y + Z. X is work.  Y
is play. Z is keep your mouth shut.                 - Albert Einstein


More information about the eldk mailing list