From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755430Ab2K0T4g (ORCPT ); Tue, 27 Nov 2012 14:56:36 -0500 Received: from mail-ia0-f174.google.com ([209.85.210.174]:65001 "EHLO mail-ia0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752039Ab2K0T4f (ORCPT ); Tue, 27 Nov 2012 14:56:35 -0500 MIME-Version: 1.0 In-Reply-To: References: <57384ebc52c7d39d1bae31ba3baa6f820b4ac696.1353610436.git.viresh.kumar@linaro.org> <7a48ae364663ab3a336251fada9aee07ccd728b8.1353610437.git.viresh.kumar@linaro.org> <20121123094132.EFCB73E07BE@localhost> <20121126184015.784993E091F@localhost> <20121127084007.GA7897@gmail.com> From: Rabin Vincent Date: Tue, 27 Nov 2012 20:55:54 +0100 X-Google-Sender-Auth: dOFkfGike18raPI-tdH-YDZDnKU Message-ID: Subject: Re: [PATCH V3 3/3] mfd: stmpe: Update DT support in stmpe driver To: Viresh Kumar Cc: Lee Jones , Linus Walleij , Grant Likely , sameo@linux.intel.com, devicetree-discuss@lists.ozlabs.org, spear-devel@list.st.com, linux-kernel@vger.kernel.org, l.fu@pengutronix.de 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 2012/11/27 Viresh Kumar : > On 27 November 2012 14:10, Lee Jones wrote: > I haven't seen this in any of SPEAr boards i have worked on. Maybe Rabin > would have, that's why he added that part of code :) > > @Rabin/Linus: Do you remember why have you added this in stmpe driver: > > + if (stmpe->pdata->irq_invert_polarity) > + icr ^= STMPE_ICR_LSB_HIGH; > + > > Does somebody actually need it? It was (as irq_rev_pol) part of Luotao Fu's proposed STMPE811 patchset (https://patchwork.kernel.org/patch/106173/) which I integrated into my version of the STMPE driver, which didn't have it in its initial version (https://patchwork.kernel.org/patch/103273/). It's not something _I_ ever used.