From patchwork Fri Dec 3 03:01:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhengqiao Xia X-Patchwork-Id: 12654189 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25971C433F5 for ; Fri, 3 Dec 2021 03:01:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347836AbhLCDEu (ORCPT ); Thu, 2 Dec 2021 22:04:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243973AbhLCDEu (ORCPT ); Thu, 2 Dec 2021 22:04:50 -0500 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DF6EC061757 for ; Thu, 2 Dec 2021 19:01:27 -0800 (PST) Received: by mail-pj1-x102c.google.com with SMTP id iq11so1258323pjb.3 for ; Thu, 02 Dec 2021 19:01:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id; bh=flNl4+wOdPQZ7BpJ4HcBce/7klXuEOQ0vt7dFvL/gho=; b=XC/Yz4sYM1Arbp2e3E2wVTt//UL4M7PuJO7JTzib1PPRdSPgHChxeRRPSEzI3PvlJg NJpusJcEW+xLJUEeh+qL4A0YzLt4HJusHf4g6Oj5CbivdLsMxJUrYCNJnDmbN99oRcee jj2goEz/txZZtcAFe41LlyFtnO18yNiJuKnho/Db+3KNLbG2GqQSYeFbo8Ppdhrw4M/a bkCsXGcN+5w7jL++b5w7wbIE/xuNEqOpOdvFwitzZX/UPpgaHHsuNZ8AAJ71vyQbUla0 6BWRHg80BLEncUvFuXMyumxfhZiq2kyrkknfyHCAVEFYopBy2j7nRcYNNVza06aUfXSY 1dLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=flNl4+wOdPQZ7BpJ4HcBce/7klXuEOQ0vt7dFvL/gho=; b=ELeixBued7VscAO4YD3HbOTr0OdEsAAiWQ6xqEtncdIdXiiv0rXeuXZLgO4N5HCJdP afc90OBYC4cHsQtqaSUu/JiSDibYvzDCLYgz5tTAZ+in6c9zH293e3mSPiiL07x/cC8b 92AlTiYc0xbA7mZDiDf/CxJ3+47d89PmuyPAV1pe9K/epmKkSFAmWfpjEgmhY9vSicu/ N+dRuouM4Qy6MDmfPSLTzmEgIjGFLRm9nv8abx7UQGtwN2yvR8vjecpz1h4ax9n3tHse vou4TCkYyz/ZCt87Nl/mXVseK2eaqhZu3u0KsLRcv5KGa2paNZKTK9G7YKBUk9vPUCy6 5/Yg== X-Gm-Message-State: AOAM532Ho/KACj8Ytz70SJLzkPopIZ8Z5K64bCQ1AAhqRun3lBBS12So gk8UIvvNBVO3oezjH5054xbCmQ== X-Google-Smtp-Source: ABdhPJzt+6XC66+2G5EwGqBuBxlxbAKK0cPUS/l0GmnEfaLzUfQst1xZqtaaxooHw+a8jZ46Cz+iog== X-Received: by 2002:a17:90a:e00f:: with SMTP id u15mr10570528pjy.123.1638500486530; Thu, 02 Dec 2021 19:01:26 -0800 (PST) Received: from ubuntu.huaqin.com ([101.78.151.213]) by smtp.gmail.com with ESMTPSA id n16sm737476pja.46.2021.12.02.19.01.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Dec 2021 19:01:26 -0800 (PST) From: xiazhengqiao To: jikos@kernel.org, benjamin.tissoires@redhat.com Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, phoenixshen@google.com, xiazhengqiao Subject: [PATCH] HID: google: add eel USB id Date: Fri, 3 Dec 2021 11:01:19 +0800 Message-Id: <20211203030119.28612-1-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Add one additional hammer-like device. Signed-off-by: xiazhengqiao --- drivers/hid/hid-google-hammer.c | 2 ++ drivers/hid/hid-ids.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/hid/hid-google-hammer.c b/drivers/hid/hid-google-hammer.c index 8123b871a3eb..0403beb3104b 100644 --- a/drivers/hid/hid-google-hammer.c +++ b/drivers/hid/hid-google-hammer.c @@ -585,6 +585,8 @@ static void hammer_remove(struct hid_device *hdev) static const struct hid_device_id hammer_devices[] = { { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC, USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_DON) }, + { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC, + USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_EEL) }, { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC, USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_HAMMER) }, { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC, diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 96a455921c67..b02d8b1d907a 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -501,6 +501,7 @@ #define USB_DEVICE_ID_GOOGLE_MAGNEMITE 0x503d #define USB_DEVICE_ID_GOOGLE_MOONBALL 0x5044 #define USB_DEVICE_ID_GOOGLE_DON 0x5050 +#define USB_DEVICE_ID_GOOGLE_EEL 0x5057 #define USB_VENDOR_ID_GOTOP 0x08f2 #define USB_DEVICE_ID_SUPER_Q2 0x007f