Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753865AbaKQE2h (ORCPT ); Sun, 16 Nov 2014 23:28:37 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:56026 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752149AbaKQE2e (ORCPT ); Sun, 16 Nov 2014 23:28:34 -0500 Message-ID: <54697919.5030302@ti.com> Date: Mon, 17 Nov 2014 09:57:05 +0530 From: Vignesh R User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Richard Cochran CC: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Benoit Cousson , Tony Lindgren , Russell King , Jonathan Cameron , Hartmut Knaack , Dmitry Torokhov , Lee Jones , Sebastian Andrzej Siewior , Lars-Peter Clausen , Peter Meerwald , Samuel Ortiz , Felipe Balbi , Brad Griffis , Sanjeev Sharma , Paul Gortmaker , Jan Kardell , , , , , , Subject: Re: [PATCH v4 2/6] input: touchscreen: ti_am335x_tsc: Remove udelay in interrupt handler References: <1415941651-28962-1-git-send-email-vigneshr@ti.com> <1415941651-28962-3-git-send-email-vigneshr@ti.com> <20141115192739.GA18766@localhost.localdomain> In-Reply-To: <20141115192739.GA18766@localhost.localdomain> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sunday 16 November 2014 12:57 AM, Richard Cochran wrote: > On Fri, Nov 14, 2014 at 10:37:27AM +0530, Vignesh R wrote: >> From: Brad Griffis >> >> TSC interrupt handler had udelay to avoid reporting of false pen-up >> interrupt to user space. This patch implements workaround suggesting in >> Advisory 1.0.31 of silicon errata for am335x, thus eliminating udelay >> and touchscreen lag. This also improves performance of touchscreen and >> eliminates sudden jump of cursor at touch release. > > I back ported this series onto v3.15.1 in order to try this out on a > custom, beaglebone-like board. With this series, the touch is really > broken. (I had fixed the pen up problem in a totally different way for > a customer, and so I wanted to try out your solution.) > > I will try to port the board code to a more recent kernel to try your > series again. With which kernel version did you test your patches? > > And which board? > Thanks for testing these patches. My patches are based on v3.18rc2. I tested my patches on am335x-evm using tslib. If you are encountering false pen-ups, charge-delay parameter needs to be tuned to your board. In some custom setups charge-delay of 0xB000 provided better performance. If you are using ts_test (from tslib) for testing try # ts_test > /dev/null for better performance. Please explain "touch is broken"? What is the behaviour of TSC? Which ADC channels are being used for TSC? Regards Vignesh > Thanks, > Richard > > -- 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/