[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gpio kernel module



Mike Frysinger spiffera, alle Thursday 1 February 2007 10:04 circa:
> you want to implement the core gpio driver that handles gpio
> allocation or a peripheral driver that utilizes a gpio ?

I should implement a peripheral driver, i think... :-P
advantech DVS 300 has a bttv driven gpio, so i think that it's a bttv gpio 
(so i can try to use bttv_read_gpio and companies)

i have in mind that i should register a device (dev/gpio?) and talk through 
that for calling bttv provided stuff.

but if I'll find an example (even little) i'm the happiest man in the 
world :-D
(i'm not so sure of what i'm doing.. :-P )

Thanks.
bye!
-- 
-gaspa-
-----------------------------------------------
Powered by Debian GNU/Linux and Debian GNU/Hurd
------ HomePage: iogaspa.altervista.org -------
-Il lunedi'dell'arrampicatore: www.lunedi.org -

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/