Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754840AbcDTOhc (ORCPT ); Wed, 20 Apr 2016 10:37:32 -0400 Received: from mail-oi0-f48.google.com ([209.85.218.48]:33445 "EHLO mail-oi0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750850AbcDTOhb (ORCPT ); Wed, 20 Apr 2016 10:37:31 -0400 MIME-Version: 1.0 In-Reply-To: <1461068317-28016-4-git-send-email-patrice.chotard@st.com> References: <1461068317-28016-1-git-send-email-patrice.chotard@st.com> <1461068317-28016-4-git-send-email-patrice.chotard@st.com> Date: Wed, 20 Apr 2016 16:37:30 +0200 Message-ID: Subject: Re: [PATCH 3/8] gpio: stmpe: fix edge and rising/falling edge detection From: Linus Walleij To: Patrice CHOTARD Cc: Lee Jones , Alexandre Courbot , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Maxime Coquelin , amelie.delaunay@st.com, Shawn Guo , Sascha Hauer , Dinh Nguyen , Viresh Kumar , Shiraz Hashim , Stephen Warren , Thierry Reding Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1146 Lines: 34 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