From patchwork Fri May 24 13:50:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Tissoires X-Patchwork-Id: 1104928 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 459SSl4Zv8z9s6w for ; Fri, 24 May 2019 23:51:03 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403930AbfEXNu7 (ORCPT ); Fri, 24 May 2019 09:50:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54908 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403833AbfEXNu7 (ORCPT ); Fri, 24 May 2019 09:50:59 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 37795C079901; Fri, 24 May 2019 13:50:59 +0000 (UTC) Received: from plouf.redhat.com (ovpn-204-178.brq.redhat.com [10.40.204.178]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1CD397BE7E; Fri, 24 May 2019 13:50:53 +0000 (UTC) From: Benjamin Tissoires To: Dmitry Torokhov , KT Liao , Rob Herring , Aaron Ma , Hans de Goede Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Benjamin Tissoires Subject: [PATCH v3 0/8] Fix Elan I2C touchpads in latest generation from Lenovo Date: Fri, 24 May 2019 15:50:38 +0200 Message-Id: <20190524135046.17710-1-benjamin.tissoires@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Fri, 24 May 2019 13:50:59 +0000 (UTC) Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Here comes the v3. Very few changes from v2: - dropped the last 2 patches where I tried to be smart, and it turns out that it was not very a good idea - also removed the only other blacklisted model, as it has been tested with the v2 and it is also now working properly Cheers, Benjamin Benjamin Tissoires (8): Input: elantech - query the min/max information beforehand too Input: elantech - add helper function elantech_is_buttonpad() Input: elantech - detect middle button based on firmware version dt-bindings: add more optional properties for elan_i2c touchpads Input: elan_i2c - do not query the info if they are provided Input: elantech/SMBus - export all capabilities from the PS/2 node Input: elan_i2c - handle physical middle button Input: elantech: remove P52 and P72 from SMBus blacklist .../devicetree/bindings/input/elan_i2c.txt | 11 + drivers/input/mouse/elan_i2c_core.c | 72 +++- drivers/input/mouse/elantech.c | 320 ++++++++++-------- drivers/input/mouse/elantech.h | 8 + 4 files changed, 246 insertions(+), 165 deletions(-)