From patchwork Tue Dec 26 23:50:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Gerecke, Jason" X-Patchwork-Id: 10133291 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0225360211 for ; Tue, 26 Dec 2017 23:50:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DBF672B3F0 for ; Tue, 26 Dec 2017 23:50:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CD5F92B835; Tue, 26 Dec 2017 23:50:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A7B552B3F0 for ; Tue, 26 Dec 2017 23:50:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751320AbdLZXui (ORCPT ); Tue, 26 Dec 2017 18:50:38 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:33031 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751083AbdLZXuh (ORCPT ); Tue, 26 Dec 2017 18:50:37 -0500 Received: by mail-pf0-f196.google.com with SMTP id y89so19189529pfk.0 for ; Tue, 26 Dec 2017 15:50:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kiXz6G8DMnuH/SGGf44ufom6pmie/vPBV1bGBT9T6P8=; b=EnR4LikTPnyiEvNIb1tUauT5BB5YHqmyFsFYJUo+LCYlpEWir16raZtcw8T0+S673e b6MC3kAszz3uzCgSJWNL+Ksn0o4kbecs8iFJ7N+47z0hD+MahXWm8zqg2cYqVPzrpE7M DTJNsPYs5SpQfXJakUC4yoZdfDR0hI24rtO9Ukyppzcw7LUCgZWwCtj6SLfWKBeVGxnk alvQFH50Kv9dg8+M8rlcTPi6pg/0oEWBZZWQTK5fUvQyoPyAOo8YFVXuKmE+jJ0pktpm 4TMVYSa1HwvI5kU34o/cq6PD8y6SD7aLULSprt5OqlXPIPADdTyYtvH0wPIdt2+Ashym ChQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kiXz6G8DMnuH/SGGf44ufom6pmie/vPBV1bGBT9T6P8=; b=DktjcdRiMV4UrML5f0bHKMfmXViIrbt17d1an1Xfd/KJF49wGkFHZRiq4fufupmlqW cSaO681YaMhjy8ac9IH3fA97R6rLcQQwY5vB3Lj5Wl216X3AE3QPN74O2muDp4GxxVsq e8mgp27mC6D7S8YdQCyqNbGuGuqYg5HikmRgtjcER7i0fSdGqCN5uGx1mUAfi53m4AFJ B/Oa7eUgNmoM7c/ae1fA5TKh+m4wMnbixqpWH/4o//ThEEDyBEzx4y02c8fM2b9nRVc4 R7VhF1r2DtPQxH99+ODz0VbEQSe5wv89BiAtPFVi3FPcbJztXrPS05bs9mo2tpQ039KF XghA== X-Gm-Message-State: AKGB3mL/+oMEqIyDRI1H/KzkN7hFMSzv3XaFd0jf4RRP2FuNX9oYHzl9 rmjPyDNu7dn6KLTEhhDnNVSmBaIi X-Google-Smtp-Source: ACJfBotCyTMCd8ECdtbOx6zfOie3PNGsqGea2VUqqhc4TRMlnJFBV+T5gNg0HsHTVfj2zlM5kuidmg== X-Received: by 10.99.184.25 with SMTP id p25mr23232387pge.337.1514332236724; Tue, 26 Dec 2017 15:50:36 -0800 (PST) Received: from localhost.localdomain ([2607:fb90:806b:d95e:3d6d:5db2:ad55:f8a3]) by smtp.gmail.com with ESMTPSA id s81sm66380542pfg.60.2017.12.26.15.50.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Dec 2017 15:50:35 -0800 (PST) From: Jason Gerecke To: linux-input@vger.kernel.org, Jiri Kosina , Mx Jing Cc: Ping Cheng , Aaron Skomra , Jason Gerecke , Jason Gerecke Subject: [PATCH] Add support for One by Wacom (CTL-472 / CTL-672) Date: Tue, 26 Dec 2017 15:50:18 -0800 Message-Id: <20171226235018.5522-1-killertofu@gmail.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: References: Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Adds support for the second-generation "One by Wacom" tablets. These devices are similar to the last generation, but a slightly different size and reporting a higher number of pressure levels. Signed-off-by: Mx Jing Signed-off-by: Jason Gerecke --- drivers/hid/wacom_wac.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c index aa692e28b2cd..5f932ddcdc49 100644 --- a/drivers/hid/wacom_wac.c +++ b/drivers/hid/wacom_wac.c @@ -4376,6 +4376,12 @@ static const struct wacom_features wacom_features_0x360 = static const struct wacom_features wacom_features_0x361 = { "Wacom Intuos Pro L", 62200, 43200, 8191, 63, INTUOSP2_BT, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9, .touch_max = 10 }; +static const struct wacom_features wacom_features_0x37A = + { "Wacom One by Wacom S", 15200, 9500, 2047, 63, + BAMBOO_PEN, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; +static const struct wacom_features wacom_features_0x37B = + { "Wacom One by Wacom M", 21600, 13500, 2047, 63, + BAMBOO_PEN, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; static const struct wacom_features wacom_features_HID_ANY_ID = { "Wacom HID", .type = HID_GENERIC, .oVid = HID_ANY_ID, .oPid = HID_ANY_ID }; @@ -4544,6 +4550,8 @@ const struct hid_device_id wacom_ids[] = { { USB_DEVICE_WACOM(0x343) }, { BT_DEVICE_WACOM(0x360) }, { BT_DEVICE_WACOM(0x361) }, + { USB_DEVICE_WACOM(0x37A) }, + { USB_DEVICE_WACOM(0x37B) }, { USB_DEVICE_WACOM(0x4001) }, { USB_DEVICE_WACOM(0x4004) }, { USB_DEVICE_WACOM(0x5000) },