Re: [PATCH] leds-alix2: add support for button connected to J15
From: Pavel Machek <hidden>
Date: 2009-10-22 12:14:43
Also in:
lkml
From: Pavel Machek <hidden>
Date: 2009-10-22 12:14:43
Also in:
lkml
Hi!
quoted
quoted
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