From: Mirek23 <miroslaw.dach@psi.ch>
To: linuxppc-dev@ozlabs.org
Subject: xilinx gpio in kernel 2.6
Date: Mon, 30 Apr 2007 08:05:02 -0700 (PDT) [thread overview]
Message-ID: <10255005.post@talk.nabble.com> (raw)
Hi All,
I am trying to build the kernel 2.6 for my ml403 board. I use the
kernel 2.6 by Grant.
The ethernet (Temac) and serial drivers work fine. It is however no support
for xilinx gpio in the kernel tree.
To satisfy that I have generated the xilinx_gpio driver by means of the EDK
8.2 .
I have tried to place the xilinx_gpio to the kernel 2.6 tree under
drivers/char/xilinx_gpio.
I have done the suitable configuration on the Makefile and Kconfig level.
When I build the kernel, the crosscompiler complaines about the
xgpio_ioctl.h which comes
from the adapter.c file.
It seems to be that xgpio_ioctl.h conatins the missing macros:
XGPIO_IN
XGPIO_OUT
XGPIO_TRISTATE
XGPIO_OPEN_DRAIN
.
.
.
Did sombody of you face the same problem?
The second thing is that I did not find any documentation how to use GPIO on
the user level to access things like LEDS and Swiches on my xilinx board. Do
you have an idea how to do that (ie. which function calls to use).
Many thanks in advance for any hint.
Best Regards
Mirek
--
View this message in context: http://www.nabble.com/xilinx-gpio-in-kernel-2.6-tf3670144.html#a10255005
Sent from the linuxppc-dev mailing list archive at Nabble.com.
next reply other threads:[~2007-04-30 15:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-30 15:05 Mirek23 [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-04-30 15:01 xilinx gpio in kernel 2.6 Mirek23
2007-05-02 12:33 ` Mirek23
2007-07-10 15:52 ` Mirek23
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=10255005.post@talk.nabble.com \
--to=miroslaw.dach@psi.ch \
--cc=linuxppc-dev@ozlabs.org \
/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;
as well as URLs for NNTP newsgroup(s).