Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1664880ybn; Wed, 2 Oct 2019 21:09:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqwdWImrIefLzCqhCFJrx1uB6aquLki2gByd62hGVj63/1Uf7hLquRp7TgbcU/4XMwXNUiPM X-Received: by 2002:a17:907:4242:: with SMTP id np2mr6112820ejb.102.1570075778557; Wed, 02 Oct 2019 21:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570075778; cv=none; d=google.com; s=arc-20160816; b=JmK8/xsVDaip0tOLH9l7xeeF06RZjushEz0yXeZ63GqBKvhSHsOTNGHo/ZCP/kNgvX B+/EgS03TfFlVrNQvITPb4PLjjl9UGcxQPVXoB9BosL5sCmHxrIC698LvmgR+/O0KrBi hnKy4bVXDYmHjnyALfiYloxBBeHdTPUpVibMfT8maloakLvX85Qzm+R8OsihQB+LNRKT KW99E4BNqUXkAolqHkQEgtPtWVqQBE30vwwW+utIwdQUhKvdGyrTlyU4d7YT1unfaYwO IBGxZUKe3C98im4WADJk/WkwnKZhh2AAuWSZ8obCGJ59B/8ftmsrJLK++7CjT1LiwJ63 oQog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=k/aJshR20zBGmQxdU3JHIUrDxv6WMD/oZMV4/RGmXKI=; b=Oorm6oCbaYLFHRDrR3vNBivr+xueSRhVWrpHBY4229h3mQPID5kdOF6L55emyIIjVQ MutuCkRVV8A++3YE+uJQHSxGLS5BkqpYTSucebq3fnZ2qQyIynu2FPJ70QYRQaO91EFP ltv3e+Ov4lPZbQlKyd0TTnS2j5qrmrEnyyeu487zITGRgdMLeE6V0vrc/ohPjE3pQilQ P7l1uoKOiFAn93pp9w5NX5BTXirmfv5AqZ9PtKTsp6UgfW41Gy053alh5qR/VtIBoQOU 6aFj20rdeRcyLVQupIuhwVYJdJ09NNBPLi5QZrCyKkoLiCVSkLadFHQVnOxIits24b4e QPyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=QaccEgu+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z42si714954edz.23.2019.10.02.21.09.14; Wed, 02 Oct 2019 21:09:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=QaccEgu+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728272AbfJCDSO (ORCPT + 99 others); Wed, 2 Oct 2019 23:18:14 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:42469 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727705AbfJCDSO (ORCPT ); Wed, 2 Oct 2019 23:18:14 -0400 Received: by mail-pg1-f195.google.com with SMTP id z12so822067pgp.9 for ; Wed, 02 Oct 2019 20:18:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=k/aJshR20zBGmQxdU3JHIUrDxv6WMD/oZMV4/RGmXKI=; b=QaccEgu+T//6PP/p6dHVkugRL5dVEAHDgyIIOJORDCAAfYPdJoKQR2/wu1Gu+icFBo i8oVQ7DioL4pb2/bUIwTIdJBHxoytKLFq1TLRm7WdET/dA9zk0+BUHxvhHKcLabeJE2D 7nDX52Wfl7ZIvh9r8fW+yGegZ//YDnnd8UtZY= 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:mime-version :content-transfer-encoding; bh=k/aJshR20zBGmQxdU3JHIUrDxv6WMD/oZMV4/RGmXKI=; b=J1C1JezVoxxWd58w5W/6aEOip1/uElYZRo3Jt5MUbldC3oCEEfXqiO6xF1iN9PL/7I n56a4dUtKWfFC/+RW2nJTgdk0w8az5PMHcLfvjU2y4Unek0TDbXmDmQpcu0DUP5LyKMo AvLDIkoFGKNAlbitSAyeVNpq5vc/rc/JWI+sNX4t9BfnX0swY0bApeuAVpwY5OI2z4sZ 6Z6MP+4C7KXBzihqDrP2x5i8dvUrLB6ohGDQRn61d6HK/9RGy2E5JPH1cGv5ppsg1WZG DrPh2EhhrOehjp9Ix3zlh/DlQpcHOfR/D1Y30ofhatrCRihW6nCd4SGnMf9NkBB4CeYl Zddg== X-Gm-Message-State: APjAAAW3cohq0EKXleD6TmJW8HMdz/nf3XYLD/eQTHIR8CbqlxpiPace z298F4F0Zg81MQm+TAXPhymrpg== X-Received: by 2002:aa7:9486:: with SMTP id z6mr8470046pfk.118.1570072693206; Wed, 02 Oct 2019 20:18:13 -0700 (PDT) Received: from drinkcat2.tpe.corp.google.com ([2401:fa00:1:b:d8b7:33af:adcb:b648]) by smtp.gmail.com with ESMTPSA id z12sm880999pfj.41.2019.10.02.20.18.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Oct 2019 20:18:12 -0700 (PDT) From: Nicolas Boichat To: Jiri Kosina Cc: Benjamin Tissoires , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, dtor@chromium.org, ikjn@chromium.org Subject: [PATCH 1/2] HID: google: add magnemite/masterball USB ids Date: Thu, 3 Oct 2019 11:17:59 +0800 Message-Id: <20191003031800.120237-1-drinkcat@chromium.org> X-Mailer: git-send-email 2.23.0.581.g78d2f28ef7-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add 2 additional hammer-like devices. Signed-off-by: Nicolas Boichat --- drivers/hid/hid-google-hammer.c | 4 ++++ drivers/hid/hid-ids.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/drivers/hid/hid-google-hammer.c b/drivers/hid/hid-google-hammer.c index 31e4a39946f59ad..a52535ebc6fe92c 100644 --- a/drivers/hid/hid-google-hammer.c +++ b/drivers/hid/hid-google-hammer.c @@ -531,6 +531,10 @@ 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_HAMMER) }, + { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC, + USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_MAGNEMITE) }, + { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC, + USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_MASTERBALL) }, { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC, USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_STAFF) }, { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC, diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 76969a22b0f2f79..447e8db21174ae7 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -476,6 +476,8 @@ #define USB_DEVICE_ID_GOOGLE_STAFF 0x502b #define USB_DEVICE_ID_GOOGLE_WAND 0x502d #define USB_DEVICE_ID_GOOGLE_WHISKERS 0x5030 +#define USB_DEVICE_ID_GOOGLE_MASTERBALL 0x503c +#define USB_DEVICE_ID_GOOGLE_MAGNEMITE 0x503d #define USB_VENDOR_ID_GOTOP 0x08f2 #define USB_DEVICE_ID_SUPER_Q2 0x007f -- 2.23.0.444.g18eeb5a265-goog