Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752186AbbGRMbu (ORCPT ); Sat, 18 Jul 2015 08:31:50 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:33386 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752047AbbGRMbs (ORCPT ); Sat, 18 Jul 2015 08:31:48 -0400 Date: Sat, 18 Jul 2015 17:58:45 +0530 From: maitysanchayan@gmail.com To: Nicolae Rosia Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, Mark Rutland , Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, stefan@agner.ch, Rob Herring , kernel@pengutronix.de, Kumar Gala , Shawn Guo , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 3/4] touchscreen: colibri-vf50-ts: Add touchscreen support for Colibri VF50 Message-ID: <20150718122845.GA1833@Sanchayan-Arch> References: <26748bd9a7bde7c2304b6b971f1150bb575e4938.1437058481.git.maitysanchayan@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1791 Lines: 45 On 15-07-18 14:03:25, Nicolae Rosia wrote: > Hi, > > On Thu, Jul 16, 2015 at 6:13 PM, Sanchayan Maity > wrote: > > The Colibri Vybrid VF50 module supports 4-wire touchscreens using > > FETs and ADC inputs. This driver uses the IIO consumer interface > > and relies on the vf610_adc driver based on the IIO framework. > > > > Signed-off-by: Sanch > > +static const struct of_device_id vf50_touch_of_match[] = { > > + { .compatible = "toradex,vf50-touchctrl", }, > > + { } > > +}; > > +MODULE_DEVICE_TABLE(of, vf50_touch_of_match); > > + > > +static struct platform_driver __refdata vf50_touch_driver = { > > + .driver = { > > + .name = "toradex,vf50_touchctrl", > > + .of_match_table = vf50_touch_of_match, > > + }, > > + .probe = vf50_ts_probe, > > + .remove = vf50_ts_remove, > > + .prevent_deferred_probe = false, > > +}; > Why Toradex ? Isn't this a Freescale IP ? The 4 wire touchscreen support is provided by using on module circuitry mainly comprising of FET's and leveraging the GPIOs and on chip ADC of the Vybrid SoC. This is specific to our Colibri Vybrid VF50 module and not the Freescale IP. While I guess one could certainly use the driver for their own needs if one were to replicate a similar circuitry and change the DT properties concerning GPIO and ADC's as per their own board, as of now this is only use on our Toradex VF50 modules and was done by us specifically to provide touchscreen support for VF50. Regards, Sanchayan. -- 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/