We no longer have a provision for proc entries in the latest GPIO
driver. That is the reason you do not see /proc/gio.
In arch/arm/mach-davinci/board-dm355-evm.c, have a look at the
setup_ethernet() function. That will give an example as to how you can
use the gpio driver.

Thanks,
Sandeep

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Andrea Gasparini
Sent: Monday, July 28, 2008 10:45 AM
To: [email protected]
Subject: Gio Interface on DM355

Hi, 
i'm attempting to create a Gio driver for our purpose, with DM355 and 
dvsdk_1_30_00_40.
While with the oldest kernel i was able to create a working one, now i'm

not stil able, because of changes in the kernel interface.

in particular:
- i don't see /proc/gio/ directory.
- i can't use gpio_interrupt_disable and gpio_interrupt_enable, and
using 
only the base function "request_irq" doesn't work.

I see that's now exists gpio_irq_handler() and davinci_gpio_irq_setup()
in 
arch/arm/mach-davinci/gpio.c, but they're declared as static, and so i 
thought there must be an interface that i'm still missing.

Could you please point me to a document or a fragment of code that could

works with this new SDK?

my kernel version is this:
# uname -a
Linux 192.168.1.71 2.6.10_mvl401 #1 Fri Jul 11 15:52:11 CEST 2008
armv5tejl 
GNU/Linux

Thanks, best regards!
-- 
Andrea Gasparini 
---- ImaVis S.r.l. ----
web: www.imavis.com
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to