lkml.org 
[lkml]   [2009]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] leds-alix2: add support for button connected to J15
Hi!

> > > for a project I was working on, we used the J15 connector of the ALIX.2D
> > > board (which is connected to a GPIO of the CS5536 Geode companion chip)
> > > for an external button switch.
...
> Hmm, hard to say. One can either use that IO as output to control a
> buzzer (which isn't placed on the board, but there are solder pads for
> it), as output for other purpose or as input.
>
> Don't know what other people use it for, though, but we needed an
> external button in our case and use this IO pin for that purpose.
>
> Anyway - I don't insist in that patch to be taken. The idea was more to
> share it so others won't have to hack the same thing.

So its gpio pin... if you teach gpio framework about it, you should be
able to just use gpio_button driver to handle it, no?

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


\
 
 \ /
  Last update: 2009-10-22 14:17    [W:0.635 / U:1.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site