Re: [PATCH] Input: DT binding: Change touchscreen to touch for use with touchscreens and touchpads

From: Andrew Duggan
Date: Fri Jan 15 2016 - 14:20:54 EST


Hi Rob,

On 01/14/2016 07:29 PM, Rob Herring wrote:
On Thu, Jan 14, 2016 at 03:42:45PM -0800, Andrew Duggan wrote:
These generic touchscreen bindings can also be used for touchpads.
Instead of creating new generic bindings this patch just renames then to
touch-*.

Signed-off-by: Andrew Duggan <aduggan@xxxxxxxxxxxxx>
---
It was suggested that for the synaptics-rmi4 driver I use the generic
bindings. But, since the rmi4 driver is used for both touchpads and
touchscreens it seemed weird to have a touchpad with a parameter
of touchscreen-inverted-y. I changed all of the references to it in the
source tree. But, I realize this could cause a backwards compatibilty
issue with device trees which are not included in the kernel.
It does and you cannot do this. Live with the weirdness or support both
names...

Ok, I had a feeling this wouldn't go over well. I guess I'll try living with the weirdness for now.

Thanks,
Andrew

Rob