Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752598AbcDUNth (ORCPT ); Thu, 21 Apr 2016 09:49:37 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:12201 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752121AbcDUNtf (ORCPT ); Thu, 21 Apr 2016 09:49:35 -0400 Subject: Re: [PATCH 3/8] gpio: stmpe: fix edge and rising/falling edge detection To: Linus Walleij References: <1461068317-28016-1-git-send-email-patrice.chotard@st.com> <1461068317-28016-4-git-send-email-patrice.chotard@st.com> CC: Lee Jones , Alexandre Courbot , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Maxime Coquelin , , Shawn Guo , Sascha Hauer , Dinh Nguyen , Viresh Kumar , Shiraz Hashim , Stephen Warren , Thierry Reding From: Patrice Chotard Message-ID: <5718DA3C.6060304@st.com> Date: Thu, 21 Apr 2016 15:48:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.48.1.66] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-04-21_10:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1334 Lines: 44 On 04/20/2016 04:37 PM, Linus Walleij wrote: > On Tue, Apr 19, 2016 at 2:18 PM, wrote: > >> From: Patrice Chotard >> >> By cross-checking STMPE 610/801/811/1601/2401/2403 datasheets, >> it appears that edge detection and rising/falling edge detection >> is not supported by all STMPE variant: >> >> GPIO GPIO >> Edge detection rising/falling >> edge detection >> 610 | X | X | >> 801 | | | >> 811 | X | X | >> 1600 | | | >> 1601 | X | X | >> 1801 | | X | >> 2401 | X | X | >> 2403 | X | X | >> >> Rework stmpe_dbg_show_one() and stmpe_gpio_irq to correctly >> take these cases into account. >> >> Signed-off-by: Patrice Chotard > Very nice. > Reviewed-by: Linus Walleij > > I expect this to go into the MFD tree with the rest, I guess > Lee will cook me an immutable branch for the whole thing > once he's happy with it. > > Yours, > Linus Walleij Hi Linus I will send a v2 as warnings as been detected by kbuild test robot Thanks Patrice