Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp484400imn; Wed, 27 Jul 2022 11:29:34 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vPta1UpZzlMxweC5zzmB3JeUAADJJWLxQxPWYHzXwYbBkf8b5h4T4mpwKYkCsADOwgTQFY X-Received: by 2002:a17:903:18b:b0:16c:4026:610 with SMTP id z11-20020a170903018b00b0016c40260610mr22763547plg.122.1658946574395; Wed, 27 Jul 2022 11:29:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658946574; cv=none; d=google.com; s=arc-20160816; b=wu70g6qqhtd5DEB5DUzTqN1EhqhTGk7cI5+CDAi9wvYg+29Ef4kL3uwZP8Fcqcw3ME ksnsnm/uw5lnN+4TYezJMrk84AxUppX2eDSTBzLSrrpdLWumw/qGvvZmzZ618lF8j+sV 6G4yZwe4Vi4fAT9nIfFnZwf5n0Artu4ME+mCMoc2HzHN50jUKR1FsdZvYhRR10PjcEVk PNtARI5RWQGmBeWcA0S8RUzX2X15IRr5wwhDFdy6gBqBoo8lA3khejOy+EXYKZkLCOHm /PWuz4KhdEFztxN0mIbfJobwnOAElZH9oTWhH/34g9vQXFdLjAIJZp0RJFL9YvAO2Yjf iUkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=7UGnIT3NSk2lFBp9cL0TWu6eZyVfDgyh5UGcuXoK9hY=; b=Z/y84C4TwCf0cGXUxRRb2BBvnFsAO3b1hCeU+ySp0E8Lb1w0ygiJNxjukE7O03x1o6 ZtvercWZ79kmY4FJ91DMIEh7w8dg/PdKDIpZS1uiqMngTiCtIJh5zYbW91V1qL7S2mtO XUkgv5oejhRwusS1zexchf4OdwqWczeuYdenvaFq84ke0PtamwKosYjq1Yc6AA1mBqQ5 ABgIJ1fSnXDst1OZuZdX8o+syFq/YZpCr3GNI4mEZAZwvGE0sax0rTfqqJmTgBCx44D/ 5cLIyQ/ZkuZb0fqP3UuhGf1fp8GX0Qnn4Kku501W1Jkxt52szdTSxA7WkDYRQdI/j5gY awzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=agHXFFMe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d14-20020a056a00244e00b0052bcb076b9esi9020127pfj.68.2022.07.27.11.29.18; Wed, 27 Jul 2022 11:29:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=agHXFFMe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236867AbiG0QdI (ORCPT + 99 others); Wed, 27 Jul 2022 12:33:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237844AbiG0Qc2 (ORCPT ); Wed, 27 Jul 2022 12:32:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06EB753D2A; Wed, 27 Jul 2022 09:26:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C3832617EF; Wed, 27 Jul 2022 16:26:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9775C433D6; Wed, 27 Jul 2022 16:26:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1658939176; bh=QF7pyE183J3Q+46NmYFF2shA3xAIisb+KwOnK6MxcHc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=agHXFFMe9Zg8j+SrG1RRDS6a+z1suvfQ/Ip8kqvJ2s2IOzOllZINa+/1msjzwpnb3 osYTEziTsbGwLQWqMLQ4kG9EY1m/pZLO1RDRiD61y0LZRrgrvvM91bzlnRXjkGhd3Z /RzijGqHWWfqlstWl1OZ8JAN4HZwmpW+Fqf0a9u0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Mikael=20Wikstr=C3=B6m?= , Jiri Kosina , Sasha Levin Subject: [PATCH 4.19 39/62] HID: multitouch: Lenovo X1 Tablet Gen3 trackpoint and buttons Date: Wed, 27 Jul 2022 18:10:48 +0200 Message-Id: <20220727161005.716889599@linuxfoundation.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220727161004.175638564@linuxfoundation.org> References: <20220727161004.175638564@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mikael Wikström [ Upstream commit 8d5037dca7c2089f27e5903c2aecfc5bb10d7806 ] Add support for the trackpoint and three mouse buttons on the type cover of the Lenovo X1 Tablet Gen3. This is the same as with the 2nd generation Lenovo X1 Tablet. Signed-off-by: Mikael Wikström Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-ids.h | 1 + drivers/hid/hid-multitouch.c | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 8d4153c73f5c..1c1de7e128d6 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -727,6 +727,7 @@ #define USB_DEVICE_ID_LENOVO_TPPRODOCK 0x6067 #define USB_DEVICE_ID_LENOVO_X1_COVER 0x6085 #define USB_DEVICE_ID_LENOVO_X1_TAB 0x60a3 +#define USB_DEVICE_ID_LENOVO_X1_TAB3 0x60b5 #define USB_VENDOR_ID_LG 0x1fd2 #define USB_DEVICE_ID_LG_MULTITOUCH 0x0064 diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index 5509b09f8656..1c4426c60972 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -1797,6 +1797,12 @@ static const struct hid_device_id mt_devices[] = { USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_X1_TAB) }, + /* Lenovo X1 TAB Gen 3 */ + { .driver_data = MT_CLS_WIN_8_DUAL, + HID_DEVICE(BUS_USB, HID_GROUP_MULTITOUCH_WIN_8, + USB_VENDOR_ID_LENOVO, + USB_DEVICE_ID_LENOVO_X1_TAB3) }, + /* Anton devices */ { .driver_data = MT_CLS_EXPORT_ALL_INPUTS, MT_USB_DEVICE(USB_VENDOR_ID_ANTON, -- 2.35.1