Thread (2 messages) flat view 2 messages, 2 authors, 2008-10-21

Xilininx GPIO

From: Peter Scott <hidden>
Date: 2008-10-20 20:07:48

Hello there,

I am having difficulties with some xilinx gpios and the xilinx-2.6-xlnx
kernel. As far as I can tell the kernel is configured correctly for
gpio.
 
I can see that the module_init function "xgpio_init" is called, and that
bus_add_driver and driver_add_groups returns without error. But I cannot
see that the probe function is called.  /proc/misc doesnt list a driver
for the gpios. I am not sure where to go next as there is no error
printouts.

I have seen other peoples consoles stating that the gpio is mapped to xx
but this doesn't happen for me.

I am using the default bit file for the ml507 board, and have created
device files 
/dev/xgpio0 
/dev/xgpio1 etc with major 10 and minor 185 

However if I try to open these devices the open fails. 

I would rally appreciate it if someone could give me some pointers as to
what to look for, or how a to go about debugging this.

Many thanks
Peter Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help