From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [PATCH 3/6] Add chip driver for WM9712 touchscreen Date: Wed, 27 Feb 2008 23:09:37 -0800 Message-ID: <20080227230937.e3e0fb41.akpm@linux-foundation.org> References: <12040332183316-git-send-email-broonie@opensource.wolfsonmicro.com> <12040332181161-git-send-email-broonie@opensource.wolfsonmicro.com> <12040332181394-git-send-email-broonie@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from smtp1.linux-foundation.org ([207.189.120.13]:33289 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752135AbYB1HUa (ORCPT ); Thu, 28 Feb 2008 02:20:30 -0500 In-Reply-To: <12040332181394-git-send-email-broonie@opensource.wolfsonmicro.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Mark Brown Cc: Dmitry Torokhov , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Liam Girdwood , Graeme Gregory , Mike Arthur , Dmitry Baryshkov , Stanley Cai , Rodolfo Giometti , Russell King , Marc Kleine-Budde , Pete MacKay , Ian Molton , Vince Sanders , Andrew Zabolotny On Tue, 26 Feb 2008 13:40:15 +0000 Mark Brown wrote: > +/* > + * Set adc sample delay. > + * > + * For accurate touchpanel measurements, some settling time may be > + * required between the switch matrix applying a voltage across the > + * touchpanel plate and the ADC sampling the signal. > + * > + * This delay can be set by setting delay = n, where n is the array > + * position of the delay in the array delay_table below. > + * Long delays > 1ms are supported for completeness, but are not > + * recommended. > + */ > +static int delay = 3; > +module_param(delay, int, 0); > +MODULE_PARM_DESC(delay, "Set adc sample delay."); I assume we don't support more than one attached device per host? If so, is that a problem? One could envisage an application with lots of screens attached to one Linux box.