Re: [PATCH] leds-alix2: add support for button connected to J15
From: Pavel Machek
Date: Thu Oct 22 2009 - 08:14:53 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/