Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2828962pxb; Mon, 19 Apr 2021 15:20:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxt0uu3mw0BIDkjHaR9qbpRdBS6YtU7WzrvAEKhvwUJCeoqpXyRfsnQULa0GwFFpLWM1KDl X-Received: by 2002:a62:2b03:0:b029:241:d147:2a79 with SMTP id r3-20020a622b030000b0290241d1472a79mr21612995pfr.53.1618870842264; Mon, 19 Apr 2021 15:20:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618870842; cv=none; d=google.com; s=arc-20160816; b=TicGsrNTu7DZ/1wiJFhsKYph7dfynwhb6II3n1FdvUYkCsawJgaUimxCO0shLm1gkt ndpFltZaK5g1vZ0ws5bUEVATnLOkKl3sy7FdMGwo9cxkLW8iaUAxQGkQ0qcSq1BwYN4a mJk2ryIp9ivRYN/gMXJL/q999HDpNMA8HAAw8WUHB4vXBU2HjW1NNyiuXluzFXtPRWK1 mT1959ilW6laYk/K+DXRNJvx+MQOPyiBEyIcGuhh1mOpZegBnUaTrPOjoibwCF/Hb1Kr xlSasrjhi8VtSyp5MOvb3iNn0a6m6anjzVHp4Y0WOkh9nWVFNzmMfceY4CyDF4Ikyr0r MVog== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=aJEwMAz3IcOEhXk+eSPYY4JIYtfkHtRT6J1j8eoQ68Y=; b=Eb4u3iGi8ZTCbYO9nlrqQ5JzYZ471vU/gUE8fs37OtlMcUbSSMnO5WIHSZfOebw/Vz Y8NvhsNLD/DqWCbkxpxtkfN/ea8XYWg6cBTFOu4Z6V0jLPFNbpjfFC8Xx4M7v6LE3Jh4 OkJDXBTpSuRgllvieJeYUKJlZclWKJ6LZr3ndUkbVeJuy5Dti6w7+1J7H70MCvf6v/Ue AzDQf2jaXRmkWjkvUw4Fr7gUp5acdbii89oUk5MoiLQk3DcSOdr/mJKO4eecKPTS0uHQ 1D7eYI8r9xgzqV1mkkfNdvRIxskGnEwJ7tPARGlsGXmwYWQTDbbO4HCg2oMvbJQVyG3S AzpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="OTno0p/0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j3si867646pjs.116.2021.04.19.15.20.29; Mon, 19 Apr 2021 15:20:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="OTno0p/0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230063AbhDSUoS (ORCPT + 99 others); Mon, 19 Apr 2021 16:44:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:53656 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242260AbhDSUoQ (ORCPT ); Mon, 19 Apr 2021 16:44:16 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 317B7611C9; Mon, 19 Apr 2021 20:43:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1618865025; bh=7axQs0weAloM0DecjN6AkOJZnqMhEl1Hs9cTab+fIIU=; h=From:To:Cc:Subject:Date:From; b=OTno0p/0TQz5SUmHFW1BF9PB/KwxDCRn79k3O3UbKVBnEiOoLiFpwzNmmFyJyE874 +ZpZ342m5zzLSsrtVmR5oqwE5l3StIG4XqHZ0jdAcwL6ZAuZXXOGdOMxNgkM0EJapb P9JUDAtMZhjo6NsCZLqqfTXYFQVkOE7fAcfDx5NP2C3qQQS60k8zOLGaOsFeDNMC09 zN/53zFBahCSePO8ns5++JzZvCvDNKjZFdn1W8a3KDemrwziv3nKBrI27Kj1YXv7ku XrxW7ZFUcWciFHviMaCkoQHUtZfEbn/KBura30TPEv48lPy3SmTMIuPyrhMeoG8JFF XVsgZ0AcstRGg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Shou-Chieh Hsu , Jiri Kosina , Sasha Levin , linux-input@vger.kernel.org Subject: [PATCH AUTOSEL 5.11 01/23] HID: google: add don USB id Date: Mon, 19 Apr 2021 16:43:20 -0400 Message-Id: <20210419204343.6134-1-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Shou-Chieh Hsu [ Upstream commit 36b87cf302a4f13f8b4344bcf98f67405a145e2f ] Add 1 additional hammer-like device. Signed-off-by: Shou-Chieh Hsu Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- 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 85a054f1ce38..2a176f77b32e 100644 --- a/drivers/hid/hid-google-hammer.c +++ b/drivers/hid/hid-google-hammer.c @@ -526,6 +526,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_HAMMER) }, { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC, diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index b60279aaed43..570bd0103a86 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -488,6 +488,7 @@ #define USB_DEVICE_ID_GOOGLE_MASTERBALL 0x503c #define USB_DEVICE_ID_GOOGLE_MAGNEMITE 0x503d #define USB_DEVICE_ID_GOOGLE_MOONBALL 0x5044 +#define USB_DEVICE_ID_GOOGLE_DON 0x5050 #define USB_VENDOR_ID_GOTOP 0x08f2 #define USB_DEVICE_ID_SUPER_Q2 0x007f -- 2.30.2