john.bonesio at xilinx.com
Fri May 16 04:39:08 EST 2008
If you're using arch/powerpc, my understanding is that
CONFIG_XILINX_GPIO needs to be enabled as well as having the right info
in the dts file.
Right now I'll have to defer to others to tell you what's needed in the
If you're using arch/ppc, I believe you just need CONFIG_XILINX_GPIO
When the system boots up, you see a message on the console when the GPIO
This is not exactly a tutorial. Hopefully this still helps,
From: linuxppc-dev-bounces+john.bonesio=xilinx.com at ozlabs.org
[mailto:linuxppc-dev-bounces+john.bonesio=xilinx.com at ozlabs.org] On
Behalf Of Guillaume Dargaud
Sent: Thursday, May 15, 2008 9:35 AM
To: linuxppc-dev at ozlabs.org
Subject: Using GPIO
I'm trying to use the Xilinx GPIO from a user program.
Since I haven't managed to compile their example (simon.c is given
makefile), I wanted to try using /dev/gpio...
So I added
/dev/gpio0 c 666 0 0 10 185 - - -
to device_table.txt when I generated my root filesystem with buildroot,
apparently this leads nowhere as it's not visible in /proc/devices.
Is there some example or tutorial on how to use CONFIG_XILINX_GPIO ?
as a device or as API calls...
Linuxppc-dev mailing list
Linuxppc-dev at ozlabs.org
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
More information about the Linuxppc-dev