From: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Russell King - ARM Linux <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>
Cc: Dmitry Torokhov
<dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Maxime Ripard
<maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
devicetree <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
Sander Vermin <sander-wENMetUwf8VmR6Xm/wNWPw@public.gmane.org>,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 0/7] Various touchscreens: Support axis inversion / swapping / extra gpios
Date: Fri, 20 Nov 2015 12:33:20 +0100 [thread overview]
Message-ID: <564F0500.6020606@redhat.com> (raw)
In-Reply-To: <20151120112245.GC8644-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
Hi,
On 20-11-15 12:22, Russell King - ARM Linux wrote:
> On Fri, Nov 20, 2015 at 12:17:06PM +0100, Hans de Goede wrote:
>> This patch-set extends the of_touchscreen.c helpers to (optionally) also
>> deal with axis inversion / swapping, and patches a bunch of drivers to use
>> this new functionality.
>
> What's wrong with using tslib? tslib supports axis transformations in
> userspace via a set of filters.
Doing this in the kernel when we know that the touchscreen is always
mounted upside down (or rotated 90 degress) on a certain tablet makes things
just work, where as tslib requires manual configuration by the user.
Also most distributions are not even shipping tslib, some of this can be
done with the xf86-input-evdev driver (which is the upstream xorg default
driver for touchscreens) too, but again requires manual configuration and
the same goes for the new libinput stack to which xorg is moving and which
is the default for wayland.
Also note that this patch-set is not adding new functionality. We already
have devicetree-bindings to indicate to the driver that axis inversion /
swapping should be done in the driver, and these are already used in
various drivers. This patch-set just makes it easier to add support for
these already existing (and documented) devicetree properties.
Regards,
Hans
prev parent reply other threads:[~2015-11-20 11:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-20 11:17 [PATCH 0/7] Various touchscreens: Support axis inversion / swapping / extra gpios Hans de Goede
2015-11-20 11:17 ` [PATCH 1/7] of_touchscreen-helpers: Add support for inverted / swapped axis Hans de Goede
[not found] ` <1448018233-27824-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-11-20 11:17 ` [PATCH 2/7] touchscreen: ft5x06: Add support for axis inversion / swapping Hans de Goede
2015-11-20 11:17 ` [PATCH 3/7] touchscreen: icn8318: Use parse_properties and apply_prop_to_x_y helpers Hans de Goede
2015-11-20 11:17 ` [PATCH 4/7] touchscreen: pixcir_i2c: Add support for wake and enable gpios Hans de Goede
2015-11-20 14:43 ` Rob Herring
[not found] ` <1448018233-27824-5-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-11-20 17:27 ` Dmitry Torokhov
2015-11-20 18:22 ` [linux-sunxi] " Hans de Goede
2015-11-20 11:17 ` [PATCH 5/7] touchscreen: pixcir_ts: Add support for axis inversion / swapping Hans de Goede
2015-11-20 11:17 ` [PATCH 6/7] ARM: dts: sun4i: Add touchscreen node to iNet1 tablet Hans de Goede
2015-11-20 11:17 ` [PATCH 7/7] ARM: dts: sun4i: Add touchscreen node to pov protab2-ips9 tablet Hans de Goede
2015-11-20 11:22 ` [PATCH 0/7] Various touchscreens: Support axis inversion / swapping / extra gpios Russell King - ARM Linux
[not found] ` <20151120112245.GC8644-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2015-11-20 11:33 ` Hans de Goede [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=564F0500.6020606@redhat.com \
--to=hdegoede-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
--cc=linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
--cc=maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \
--cc=sander-wENMetUwf8VmR6Xm/wNWPw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).