From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Rutland Subject: Re: [PATCHv4 2/5] Input: edt-ft5x06: Add DT support Date: Thu, 20 Mar 2014 13:19:00 +0000 Message-ID: <20140320131900.GC22115@e106331-lin.cambridge.arm.com> References: <1395234563-11034-1-git-send-email-LW@KARO-electronics.de> <1395234563-11034-3-git-send-email-LW@KARO-electronics.de> <20140320093719.GB14420@e106331-lin.cambridge.arm.com> <532ACE72.6030807@kernelconcepts.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <532ACE72.6030807@kernelconcepts.de> Sender: linux-doc-owner@vger.kernel.org To: Simon Budig Cc: Lothar =?utf-8?Q?Wa=C3=9Fmann?= , Dmitry Torokhov , Fugang Duan , "grant.likely@linaro.org" , Henrik Rydberg , Ian Campbell , Jingoo Han , Kumar Gala , Pawel Moll , Rob Herring , Rob Landley , Sachin Kamat , "devicetree@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linux-input@vger.kernel.org" , "linux-kernel@vger.kernel.org" List-Id: linux-input@vger.kernel.org On Thu, Mar 20, 2014 at 11:18:10AM +0000, Simon Budig wrote: > On 20/03/14 10:37, Mark Rutland wrote: > > On Wed, Mar 19, 2014 at 01:09:20PM +0000, Lothar Wa=C3=9Fmann wrote= : > >> +FocalTech EDT-FT5x06 Polytouch driver > >> +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >> + > >> +Required properties: > >> + - compatible: "edt,edt-ft5x06" > >=20 > > Is the 'x' part of a particular product name, or is this a class of > > devices? >=20 > The driver is intended for the EDT "polytouch" family touches, which = are > based on a focaltec controller. The current line of touches uses e.g. > the ft5306 as well as the ft5406 focaltec controller. Ok. The name of the driver and the strings used in DT bindings don't have to be the same. The bindings strings should describe the hardware as accurately as possible. >=20 > > It's preferable to have a specific string which another similar var= iants > > can claim compatibility with (while also additionally having a more > > specific string), as this makes it possible to handle variants more > > specially in future, target workarounds, etc. >=20 > I chose the driver name since I wanted to differentiate from other ED= T > touches, which used a different controller. With hindsight it was > unfortunately confusing, since I get quite some request from people, = who > also have a device based on the focaltec controllers, but with a very > different firmware (and communication protocol). They got tricked int= o > thinking that this driver would be suitable... >=20 > If I were to chose the name again I'd probably pick "edt-polytouch" o= r > something like this. But I doubt that it is useful to change the name= now. I'm not arguing to rename the driver. All I want are the compatible strings to be as specific as possible. Cheers, Mark.