From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932554AbdABJdv (ORCPT ); Mon, 2 Jan 2017 04:33:51 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:39061 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932143AbdABJdt (ORCPT ); Mon, 2 Jan 2017 04:33:49 -0500 Date: Mon, 2 Jan 2017 10:33:45 +0100 From: Pavel Machek To: Jarkko Nikula Cc: Pali =?iso-8859-1?Q?Roh=E1r?= , Tony Lindgren , Peter Ujfalusi , Eduardo Valentin , Lars-Peter Clausen , Aaro Koskinen , Nishanth Menon , Sebastian Reichel , Ivaylo Dimitrov , joerg Reisenweber , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Nokia N900 sound driver and ECI GPIOs Message-ID: <20170102093345.GA20104@amd> References: <201701012054.54505@pali> <20170101223639.GA13868@amd> <4f150265-aa9b-c1f3-4634-9df8b320836b@bitmer.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <4f150265-aa9b-c1f3-4634-9df8b320836b@bitmer.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > I'd like to get detection of headset button presses to work in recent > > kernels, but could not figure it out :-(. > >=20 > My vague memory doesn't tell how basic button press detection was > implemented in Maemo kernel. Was it codec, same voltage detection > circuit than ECI or some another GPIO? I don't even remember did we > implement it for the MeeGo N900 developer edition :-( Another GPIO, as far as I can tell. There was some delay logic in 2.6 kernel (it removed false events happening when jack was inserted), other that that it should be quite simple. (But I did not yet figure it out in 4.x kernel). Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlhqHnkACgkQMOfwapXb+vKFsgCfXmsfqtCBv6nof8CI84BX+Anz ydUAoLy3hPP6f9fhSn+nMMroXiYCw2i8 =lorm -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn--