Re: [PATCH v2 3/9] Input: elan_i2c - add trackstick report

From: Rob Herring
Date: Fri Apr 13 2018 - 13:37:03 EST


On Mon, Apr 09, 2018 at 11:10:45AM +0200, Benjamin Tissoires wrote:
> The Elan touchpads over I2C/SMBus also can handle a
> trackstick. Unfortunately, nothing tells us if the
> device supports trackstick (the information lies in
> the PS/2 node), so rely on a platform data to enable
> or not the trackstick node.
>
> Link: https://bugzilla.redhat.com/show_bug.cgi?id=1313939
>
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
>
> ---
>
> changes in v2:
> - use of generic device property instead of platform data so
> device tree can also make use of it
> ---
> .../devicetree/bindings/input/elan_i2c.txt | 1 +

Acked-by: Rob Herring <robh@xxxxxxxxxx>

> drivers/input/mouse/elan_i2c_core.c | 90 +++++++++++++++++++++-
> 2 files changed, 88 insertions(+), 3 deletions(-)