From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Henrik Rydberg" Subject: Re: [PATCH v2 0/3] Input: cyttsp4 - driver for Cypress TMA4XX touchscreen devices Date: Fri, 14 Sep 2012 20:46:36 +0200 Message-ID: <20120914184636.GA2976@polaris.bitmath.org> References: <1347644917-13269-1-git-send-email-fery@cypress.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from smtprelay-b11.telenor.se ([62.127.194.20]:43469 "EHLO smtprelay-b11.telenor.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759846Ab2INSjP (ORCPT ); Fri, 14 Sep 2012 14:39:15 -0400 Content-Disposition: inline In-Reply-To: <1347644917-13269-1-git-send-email-fery@cypress.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Ferruh Yigit Cc: Dmitry Torokhov , Kevin McNeely , Phil Warkentin , Javier Martinez Canillas , Shawn Landden , Ashish Jangam , Olivier Sobrie , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Hi Ferruh, > This driver is for Cypress TrueTouch(tm) Standard Product controllers, > Generation4 devices. > > This is second version of driver, code re-structured to match with > existing Generation3 driver code. To integrate with the existing gen3 driver is clearly not the same as creating a parallel set of files, which obviously share a lot of code with the gen3 code. For instance, the i2c transfer layer seems more or less identical to the existing one; just look at cyttsp_i2c_write_block_data() versus cyttsp4_i2c_write_block_data(). If different generations of device data cannot even be transported through the same _generic_ interface, something is clearly not right. You can't seriously expect anyone to want to maintain one set of files for every new version. Please make sure to build on what is already there. Thanks. Henrik