From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH] leds-alix2: add support for button connected to J15 Date: Thu, 22 Oct 2009 12:29:38 +0200 Message-ID: <20091022102937.GA3981@ucw.cz> References: <20091016130315.GT28832@buzzloop.caiaq.de> <1255863412.27878.136.camel@ted> <20091019071621.GZ28832@buzzloop.caiaq.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20091019071621.GZ28832@buzzloop.caiaq.de> Sender: linux-kernel-owner@vger.kernel.org To: Daniel Mack Cc: Richard Purdie , linux-kernel@vger.kernel.org, Dmitry Torokhov , linux-input@vger.kernel.org, Constantin Baranov List-Id: linux-input@vger.kernel.org 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