From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751109AbeDMRg7 (ORCPT ); Fri, 13 Apr 2018 13:36:59 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:40360 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750783AbeDMRg4 (ORCPT ); Fri, 13 Apr 2018 13:36:56 -0400 X-Google-Smtp-Source: AIpwx4/gCresFj12KW0+KVX6kUE5MVKzCSAo97Ucu32QPess4rUj0FwDaxwKEOi1D05LEHnQ52CMmg== Date: Fri, 13 Apr 2018 12:36:52 -0500 From: Rob Herring To: Benjamin Tissoires Cc: Dmitry Torokhov , kt.liao@emc.com.tw, Oliver Haessler , Benjamin Berg , devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/9] Input: elan_i2c - add trackstick report Message-ID: <20180413173652.d5errnzdoz3elaes@rob-hp-laptop> References: <20180409091051.2944-1-benjamin.tissoires@redhat.com> <20180409091051.2944-4-benjamin.tissoires@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180409091051.2944-4-benjamin.tissoires@redhat.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > --- > > 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 > drivers/input/mouse/elan_i2c_core.c | 90 +++++++++++++++++++++- > 2 files changed, 88 insertions(+), 3 deletions(-)