[lkml]   [2009]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] leds-alix2: add support for button connected to J15
On Sun, Oct 18, 2009 at 11:56:52AM +0100, Richard Purdie wrote:
> On Fri, 2009-10-16 at 15:03 +0200, Daniel Mack wrote:
> > 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.
> >
> > I thought it might be worth sharing this piece of code, so others can do
> > the same.
> >
> > There is, however, a small hardware modification is necessary as the pin
> > is also shared as buzzer output. I noted that in the Kconfig entry.
> >
> > The patch should go thru Richard's led-2.6.git as it depends on another
> > one that has been queued there already.
> How common is this modification? I'm just trying to get a feel for the
> number of users out there of this feature...

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.

I'll still submit a new version with Dmitry's suggestions addressed.


 \ /
  Last update: 2009-10-19 09:19    [W:0.044 / U:0.544 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site