linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ML300-gpio
@ 2005-06-01 10:21 colui77
  2005-06-01 10:42 ` ML300-gpio Andrei Konovalov
  0 siblings, 1 reply; 2+ messages in thread
From: colui77 @ 2005-06-01 10:21 UTC (permalink / raw)
  To: linuxppc-embedded

hi all,
I'm working with the ML300 platform running the shipped Montavista Linux
(and hw configuration). I need to use the onboard gpio and I found a driv=
er,
the xilinx_gpio, that I have loaded (insmod xilinx_gpio). After insmoding=

the driver it is registered in /dev/xgpio (why is not it loaded in /proc/=

before?) I have tried to use the GPIOs...

cat "111111000000" > /dev/xgpio

I was expecting some leds lighting but nothing at all...
Is there someone experienced with the ml300 gpios? 
Please I need help
Luigi

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

* Re: ML300-gpio
  2005-06-01 10:21 ML300-gpio colui77
@ 2005-06-01 10:42 ` Andrei Konovalov
  0 siblings, 0 replies; 2+ messages in thread
From: Andrei Konovalov @ 2005-06-01 10:42 UTC (permalink / raw)
  To: colui77; +Cc: linuxppc-embedded

colui77@virgilio.it wrote:
> hi all,
> I'm working with the ML300 platform running the shipped Montavista Linux
> (and hw configuration). I need to use the onboard gpio and I found a driver,
> the xilinx_gpio, that I have loaded (insmod xilinx_gpio). After insmoding
> the driver it is registered in /dev/xgpio (why is not it loaded in /proc/
> before?) I have tried to use the GPIOs...
> 
> cat "111111000000" > /dev/xgpio

You must use ioctl's.
This driver has the same API as IBM OCP GPIO driver.
Please check include/linux/ibm_ocp_gpio.h.

Thanks,
Andrei

> I was expecting some leds lighting but nothing at all...
> Is there someone experienced with the ml300 gpios? 
> Please I need help
> Luigi
> 
> 
> 
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

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

end of thread, other threads:[~2005-06-01 10:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-01 10:21 ML300-gpio colui77
2005-06-01 10:42 ` ML300-gpio Andrei Konovalov

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