From patchwork Mon Apr 24 02:37:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sung-Chi Li X-Patchwork-Id: 676746 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 9DE8DC77B60 for ; Mon, 24 Apr 2023 02:37:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230264AbjDXChn (ORCPT ); Sun, 23 Apr 2023 22:37:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230260AbjDXChn (ORCPT ); Sun, 23 Apr 2023 22:37:43 -0400 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9E89211D for ; Sun, 23 Apr 2023 19:37:41 -0700 (PDT) Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-63b5465fc13so3221411b3a.3 for ; Sun, 23 Apr 2023 19:37:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1682303861; x=1684895861; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=rG7y1ORd4NtyVKliopoYVE2xbqXOKPkKKGLmGbF+jLI=; b=O4hqeXacnk2fOZT8On/zA3U3lWtWd+XVCSssK+wNGOlJr/ZvJxGE3hu2DBS9+XSLgK ZsH8imVp1fVdEifHYu9SRsibeP1EtgOtuIVhnpfIYW6/CWVDpMlL1R5jpYBxrI4NsvCy 8wT0Q0yNBOtSCIb+tFStFXInQepsADd9Fp93Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682303861; x=1684895861; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rG7y1ORd4NtyVKliopoYVE2xbqXOKPkKKGLmGbF+jLI=; b=Q+i7p0QnxJXMs+6Kr8jizx7k/KIjU7vkoA5ggZ3Mn+5ni4QXK4nfBaqBFQSgspKg/K ZE3gD5lIqaaZFsQr5i6N5a2JDLOJx9r8XJL5DBkm+ouZJ3uJNB6xochk0eu0ctELmDid shLqI71LxN/u9p/FBZk9FdGUbFnPI/vL2yAiL0wKcSX8acOZ4sfNMjnKTuL1hVQkMz+h TdPtpM3GurAg5oiezFQsnybCYXjjRKUGeIq+jtIQZxvR+CXTdr9eCowZe60Ah9z7ChAh NiFxBqnl4u4VQViUhhwselsVYMcEY7Y+IxQ1ZwNXzHxUdKs8ZASGEQocP+CPe0kJV0Uf 7lVA== X-Gm-Message-State: AAQBX9fKEABfm2y5NJ97fqXcEEuPm0iNCKqBqToSg9BHlFmpG+9p2NND UDDRHQJuDgepzL1zZFG6MJo2Mw== X-Google-Smtp-Source: AKy350bBnftD/HHy8rxOUm/7IuGBVYV9DNYJ5mqlC0VSZP3qeMq0uM3/KUA4IzpkxWMZ4DXAixuDiQ== X-Received: by 2002:a05:6a00:2448:b0:63b:7a55:ae89 with SMTP id d8-20020a056a00244800b0063b7a55ae89mr16079280pfj.27.1682303861242; Sun, 23 Apr 2023 19:37:41 -0700 (PDT) Received: from lschyip920.tpe.corp.google.com ([2401:fa00:1:10:bfaf:abfa:f282:5b11]) by smtp.gmail.com with ESMTPSA id m30-20020a62a21e000000b0063aa1763146sm6459443pff.17.2023.04.23.19.37.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Apr 2023 19:37:40 -0700 (PDT) From: Sung-Chi Li To: LKML Cc: phoenixshen@chromium.org, chentsung@chromium.org, Sung-Chi Li , Benjamin Tissoires , Jiri Kosina , linux-input@vger.kernel.org Subject: [PATCH] HID: google: add jewel USB id Date: Mon, 24 Apr 2023 10:37:36 +0800 Message-ID: <20230424023736.338464-1-lschyi@chromium.org> X-Mailer: git-send-email 2.40.0.634.g4ca3ef3211-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Add 1 additional hammer-like device. Signed-off-by: Sung-Chi Li --- 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 7ae5f27df54d..c6bdb9c4ef3e 100644 --- a/drivers/hid/hid-google-hammer.c +++ b/drivers/hid/hid-google-hammer.c @@ -586,6 +586,8 @@ static const struct hid_device_id hammer_devices[] = { 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, + USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_JEWEL) }, { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC, USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_MAGNEMITE) }, { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC, diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index c2e9b6d1fd7d..c40cd6f1095f 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -528,6 +528,7 @@ #define USB_DEVICE_ID_GOOGLE_MOONBALL 0x5044 #define USB_DEVICE_ID_GOOGLE_DON 0x5050 #define USB_DEVICE_ID_GOOGLE_EEL 0x5057 +#define USB_DEVICE_ID_GOOGLE_JEWEL 0x5061 #define USB_VENDOR_ID_GOTOP 0x08f2 #define USB_DEVICE_ID_SUPER_Q2 0x007f