Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752275Ab0AZLaa (ORCPT ); Tue, 26 Jan 2010 06:30:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751916Ab0AZLa3 (ORCPT ); Tue, 26 Jan 2010 06:30:29 -0500 Received: from mail-iw0-f173.google.com ([209.85.223.173]:40092 "EHLO mail-iw0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751525Ab0AZLa2 (ORCPT ); Tue, 26 Jan 2010 06:30:28 -0500 X-Greylist: delayed 391 seconds by postgrey-1.27 at vger.kernel.org; Tue, 26 Jan 2010 06:30:28 EST DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=BMy87E0M+9wZDc1V6eNjaZQfmITUHuqxsZZorDigPrebfrlxX9h96xa8UkAz4hI6qJ zLSHg/XuY8Mm2k7pjIxuv+K66vTVDRiknFjRjvQjQ/vV97T0qTHYxQrE+qHjXqwb4GHe h6GD3+FT4aVMXuaQvrlkVGo83EiTYBxhPPUo4= MIME-Version: 1.0 In-Reply-To: <1264502668.4480.97.camel@utx.utx.cz> References: <20100106071026.GD1382@ucw.cz> <20100107065230.GA1303@ucw.cz> <1264275669.9100.11.camel@utx.utx.cz> <1264286611.11766.49.camel@utx.utx.cz> <1264500824.4480.79.camel@utx.utx.cz> <1264502668.4480.97.camel@utx.utx.cz> Date: Tue, 26 Jan 2010 14:23:56 +0300 Message-ID: Subject: Re: gpio_keys and how PXA27x sets gpio_set_wake() (was Re: sharp c-3000 aka spitz: fix warn_on introduced in 2.6.32-rc1) From: Dmitry Eremin-Solenikov To: Stanislav Brabec Cc: Eric Miao , Andrew Morton , thommycheck , dtor , arminlitzel , linux-input , kernel list , Dirk , "Rafael J. Wysocki" , lenz , rpurdie , linux-arm-kernel , Pavel Machek , Cyril Hrubis , zaurus-devel , omegamoon , Vojtech Pavlik Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 983 Lines: 28 Hello, 2010/1/26 Stanislav Brabec : > Eric Miao wrote: >> > The problem affects gpio_keys: It is a driver implementing "one key per >> > gpio". It now handles On/Off and lid switches on Zaurus. Lid switches >> > are on "normal" GPIOs, On/Off switch is wired to PKWR capable GPIO. >> Ain't On/Off switch one of the matrix key? And so SPITZ_GPIO_KEY_INT >> could be used to handle that? > > No. On/Off is connected directly to GPIO 95. Other keys use strobe/sense > matrix keypad. > > SPITZ_GPIO_KEY_INT is a bit unspecific. I think it means: Charger was > inserted or key was pressed or On/Off was pressed. This seems to be true. At least they used the same design on tosa and other zaurii. -- With best wishes Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/