From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753998AbdBRTT6 (ORCPT ); Sat, 18 Feb 2017 14:19:58 -0500 Received: from mo4-p04-ob.smtp.rzone.de ([81.169.146.177]:19264 "EHLO mo4-p04-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753510AbdBRTTw (ORCPT ); Sat, 18 Feb 2017 14:19:52 -0500 X-RZG-CLASS-ID: mo04 X-RZG-AUTH: :JGIXVUS7cutRB/49FwqZ7WcecEarQROEYabkiUo6mSAGQ+qKID8+PFGmLic= Subject: Re: [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_4F7BA00B-D589-44E0-8928-19071F3C6371"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Pgp-Agent: GPGMail From: "H. Nikolaus Schaller" In-Reply-To: <20170218180811.GB9377@amd> Date: Sat, 18 Feb 2017 20:17:09 +0100 Cc: Dmitry Torokhov , Sebastian Reichel , Mark Rutland , =?utf-8?Q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Russell King , Arnd Bergmann , Michael Welling , =?utf-8?Q?Mika_Penttil=C3=A4?= , Javier Martinez Canillas , Igor Grinberg , "Andrew F. Davis" , Mark Brown , Jonathan Cameron , Rob Herring , Alexander Stein , Eric Engestrom , Hans de Goede , Benjamin Tissoires , Petr Cvek , Mauro Carvalho Chehab , Hans Verkuil , Nick Dyer , Siebren Vroegindeweij , Michel Verlaan , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, letux-kernel@openphoenux.org, linux-iio@vger.kernel.org, kernel@pyra-handheld.com, Aaro Koskinen , =?utf-8?Q?Pali_Roh=C3=A1r?= , Andrey Gelman , Haibo Chen Message-Id: <27287BC5-E4E2-4F50-B140-C74D3CADED5B@goldelico.com> References: <9830dd21e6425e3a866fac6ed4cc73ddd58b719f.1482936802.git.hns@goldelico.com> <20170128193342.GB38136@dtor-ws> <1F6355E1-A5E3-41A6-908F-619A15581BEF@goldelico.com> <20170217204041.GE13050@dtor-ws> <20170218091526.GC8937@amd> <61F3C580-4BF2-4EE6-9DEC-FB8634434EC0@goldelico.com> <20170218180811.GB9377@amd> To: Pavel Machek X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Apple-Mail=_4F7BA00B-D589-44E0-8928-19071F3C6371 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > Am 18.02.2017 um 19:08 schrieb Pavel Machek : >=20 >>> And I agree that kernel should _not_ attempt rescaling itself, as it >>> would lose precision. >>=20 >> With an almost 1:1 mapping you won't loose precision. >=20 > How do you propose to do that? something like xinput --set-prop --type=3Dfloat "TSC200X touchscreen" "Coordinate = Transformation Matrix" 1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 1.00 but I think it is the default of X11 if you use no coordinate = transformation at all. And having the kernel to properly scale from ADC values to screen = coordinates. BR, Nikolaus --Apple-Mail=_4F7BA00B-D589-44E0-8928-19071F3C6371 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJYqJ23AAoJEIl79TGLgAm6CH0P/iM0Z/rF9pXb4SfHXbz4pVKw yWrnNohq7Bp3X0GDdfhsWt0mlt+RQ78PTx4Kx5BXApDxzoxgHjwtR1SnqEJ9Ppvy OUvxP2l3jFc/YLyRoDok6meMEcmyaHswhR20hVT62mOaSMMzFO7ZUun9VI/y9y8T TBocsL8nT1tX3FX2kcnN55Fuy6AXNzGiL2Oavxci2+fN8k2oh9Fs05xoJ/d8bSgG 5ehu9/pnhFwOOV69xetrUgQppmGRewwMFaDRJS8R6mR8zIwkMalhvDYP7VeQfu1O gvld3u3R/Wch1TssQXqY09+1MBYADbjr+g47XYxtQn5wWCUhe5P31Jvd6TGAoLo0 ykVgipyLi8Gw7DOQfk6gwLQjeYH04ITKLVWQk5UOiuzzBMTAfkoJktGOY0jvh+9k j7pRmmOTjYRT8dWDiaicCMzvxYWexNNiCofOQ4gz9FBjyJ5aTTYotUfog++ttVy/ kdyyxSMdN8kinWPDCy1p76BsjPGG922VkUXp6oCcAo3dSsz8vsm0aNmka3i+drqR 9JROWWfoILQ996YN9HFLcD9Sc8ueDPGEYnAWUdD8bzkxhev1Q00MiTZXT161gJqx 7dme7TsnM4xxX7vyLCL385sMakAKezXRyKYpRT+YMShHfKo3hL2D2HIBVak6OC9j WrSIi1tLVontrGaE+ut3 =XF5e -----END PGP SIGNATURE----- --Apple-Mail=_4F7BA00B-D589-44E0-8928-19071F3C6371--