Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: where to look for /sys/devices/platform/at91_gpio ?
PostPosted: Tue Jan 17, 2012 5:02 pm 
Offline

Joined: Wed Aug 30, 2006 4:42 pm
Posts: 4
Hello,

Some other platforms expose gpio ports via sysfs drivers, something like
/sys/devices/platform/gpio
/sys/class/gpio

Do such things exist for at91 or this is something yet to be written?

_________________
http://Hutorny.In.UA


Top
 Profile  
 
 Post subject: Re: where to look for /sys/devices/platform/at91_gpio ?
PostPosted: Thu Jan 19, 2012 2:05 am 
Offline

Joined: Sat Oct 30, 2010 6:04 pm
Posts: 574
Using /sys/class/gpio here.


Top
 Profile  
 
 Post subject: Re: where to look for /sys/devices/platform/at91_gpio ?
PostPosted: Thu Jan 19, 2012 7:19 pm 
Offline

Joined: Wed Aug 30, 2006 4:42 pm
Posts: 4
CptTitanic wrote:
Using /sys/class/gpio here.


Is it available somewhere?

_________________
http://Hutorny.In.UA


Top
 Profile  
 
 Post subject: Re: where to look for /sys/devices/platform/at91_gpio ?
PostPosted: Fri Jan 20, 2012 12:45 am 
Offline

Joined: Wed Jan 18, 2012 10:20 pm
Posts: 13
There is another post that might describe what you want a little more: http://www.at91.com/samphpbb/viewtopic.php?f=12&t=20065


Top
 Profile  
 
 Post subject: Re: where to look for /sys/devices/platform/at91_gpio ?
PostPosted: Fri Jan 20, 2012 3:07 am 
Offline

Joined: Sat Oct 30, 2010 6:04 pm
Posts: 574
Hutorny wrote:
Is it available somewhere?


A quick Google gets this
http://www.armbedded.eu/node/258

Pretty sure buildroot pulls it in by default.


Top
 Profile  
 
 Post subject: Re: where to look for /sys/devices/platform/at91_gpio ?
PostPosted: Fri Jan 20, 2012 6:52 pm 
Offline

Joined: Wed Aug 30, 2006 4:42 pm
Posts: 4
starlabrite wrote:
There is another post that might describe what you want a little more: http://www.at91.com/samphpbb/viewtopic.php?f=12&t=20065


Thanks for this link.

CptTitanic wrote:
Hutorny wrote:
Is it available somewhere?


A quick Google gets this
http://www.armbedded.eu/node/258

Pretty sure buildroot pulls it in by default.


Thanks for this link.
Unfortunately prebuilt kernel does not have gpio driver.
Although, when I build the kernel preconfigured for my board (Electrum-100) I see gpio.o among object files.
Interestingly, at what step it is slipped away from the kernel?
Do you think if it would be possible to build gpio as a module?

I appreciate your help on this matter.

_________________
http://Hutorny.In.UA


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: