From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lothar =?UTF-8?B?V2HDn21hbm4=?= Subject: Re: [PATCH 2/2] Input: edt-ft5x06: Add DT support Date: Thu, 16 Jan 2014 08:49:43 +0100 Message-ID: <20140116084943.17da0226@ipc1.ka-ro> References: <1389608224-9975-1-git-send-email-LW@KARO-electronics.de> <1389608224-9975-2-git-send-email-LW@KARO-electronics.de> <20140113134441.GD1273@e106331-lin.cambridge.arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20140113134441.GD1273@e106331-lin.cambridge.arm.com> Sender: linux-input-owner@vger.kernel.org To: Mark Rutland Cc: "linux-input@vger.kernel.org" , Rob Herring , Pawel Moll , Ian Campbell , Kumar Gala , Rob Landley , Dmitry Torokhov , "grant.likely@linaro.org" , Thierry Reding , Jonathan Cameron , Shawn Guo , Silvio F , Guennadi Liakhovetski , Jingoo Han , Fugang Duan , Sachin Kamat , "devicetree@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Simon Budig List-Id: devicetree@vger.kernel.org Hi, Mark Rutland wrote: > On Mon, Jan 13, 2014 at 10:17:04AM +0000, Lothar Wa=C3=9Fmann wrote: > > This patch allows the edt-ft5x06 multitouch panel driver to be > > configured via DT. > >=20 > > Signed-off-by: Lothar Wa=C3=9Fmann > > --- > > .../bindings/input/touchscreen/edt-ft5x06.txt | 31 ++++ > > drivers/input/touchscreen/edt-ft5x06.c | 145 ++++++++= +++++++---- > > 2 files changed, 145 insertions(+), 31 deletions(-) > > create mode 100644 Documentation/devicetree/bindings/input/touchsc= reen/edt-ft5x06.txt > >=20 > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/ed= t-ft5x06.txt b/Documentation/devicetree/bindings/input/touchscreen/edt-= ft5x06.txt > > new file mode 100644 > > index 0000000..629dbdd > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x0= 6.txt > > @@ -0,0 +1,31 @@ > > +* EDT FT5x06 Multiple Touch Controller > > + [...] > > +- threshold: allows setting the "click"-threshold in the range fro= m 20 to 80. > > +- gain: sensitivity (0..31) (lower value -> higher sensitivity) > > +- offset: edge compensation (0..31) > > +- report_rate: report rate (3..14) >=20 > s/_/-/ on property names please. Also, it may make sense to prefix th= ese > as they're rather generic sounding names. >=20 > Could you elaborate on these a litle please? What units are each of > these in? Why does it make sense to have them in the dt? >=20 I just converted them from being passed via platform_data. I have no idea what they actually control and what units they use. I could not even find a manual where they are documented. Maybe Simon Budig can help out here as the original driver author. Lothar Wa=C3=9Fmann --=20 ___________________________________________________________ Ka-Ro electronics GmbH | Pascalstra=C3=9Fe 22 | D - 52076 Aachen Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10 Gesch=C3=A4ftsf=C3=BChrer: Matthias Kaussen Handelsregistereintrag: Amtsgericht Aachen, HRB 4996 www.karo-electronics.de | info@karo-electronics.de ___________________________________________________________ -- To unsubscribe from this list: send the line "unsubscribe linux-input" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html