linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: linux-input@vger.kernel.org
Cc: linux-usb@vger.kernel.org, Marek Vasut <marex@denx.de>,
	Chen Peter <B29397@freescale.com>, Greg KH <greg@kroah.com>,
	Jiri Kosina <jkosina@suse.cz>
Subject: [PATCH 2/2] input: usb: hid: Add quirk for Freescale i.MX28 ROM recovery
Date: Sun,  5 Aug 2012 23:57:15 +0200	[thread overview]
Message-ID: <1344203835-8308-2-git-send-email-marex@denx.de> (raw)
In-Reply-To: <1344203835-8308-1-git-send-email-marex@denx.de>

The USB recovery mode present in i.MX28 ROM emulates USB HID.
It needs this quirk to behave properly.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chen Peter <B29397@freescale.com>
Cc: Greg KH <greg@kroah.com>
Cc: Jiri Kosina <jkosina@suse.cz>
---
 drivers/hid/hid-ids.h           |    3 +++
 drivers/hid/usbhid/hid-quirks.c |    1 +
 2 files changed, 4 insertions(+)

diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 1dcb76f..ab8ce9f 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -296,6 +296,9 @@
 #define USB_VENDOR_ID_EZKEY		0x0518
 #define USB_DEVICE_ID_BTC_8193		0x0002
 
+#define USB_VENDOR_ID_FREESCALE		0x15A2
+#define USB_DEVICE_ID_FREESCALE_MX28	0x004F
+
 #define USB_VENDOR_ID_FRUCTEL	0x25B6
 #define USB_DEVICE_ID_GAMETEL_MT_MODE	0x0002
 
diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
index 903eef3..6a09570 100644
--- a/drivers/hid/usbhid/hid-quirks.c
+++ b/drivers/hid/usbhid/hid-quirks.c
@@ -101,6 +101,7 @@ static const struct hid_blacklist {
 	{ USB_VENDOR_ID_SIGMA_MICRO, USB_DEVICE_ID_SIGMA_MICRO_KEYBOARD, HID_QUIRK_NO_INIT_REPORTS },
 	{ USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_MOUSEPEN_I608X, HID_QUIRK_MULTI_INPUT },
 	{ USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_EASYPEN_M610X, HID_QUIRK_MULTI_INPUT },
+	{ USB_VENDOR_ID_FREESCALE, USB_DEVICE_ID_FREESCALE_MX28, HID_QUIRK_NOGET },
 	{ 0, 0 }
 };
 
-- 
1.7.10.4


  reply	other threads:[~2012-08-05 21:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-05 21:57 [PATCH 1/2] input: usb: hid: Bump maximum global item tag report size to 128 bytes Marek Vasut
2012-08-05 21:57 ` Marek Vasut [this message]
     [not found]   ` <1344203835-8308-2-git-send-email-marex-ynQEQJNshbs@public.gmane.org>
2012-08-05 21:59     ` [PATCH 2/2] input: usb: hid: Add quirk for Freescale i.MX28 ROM recovery Marek Vasut
     [not found]       ` <201208052359.26938.marex-ynQEQJNshbs@public.gmane.org>
2012-08-15  8:36         ` Jiri Kosina
     [not found]           ` <alpine.LNX.2.00.1208151036130.7026-ztGlSCb7Y1iN3ZZ/Hiejyg@public.gmane.org>
2012-11-21 15:30             ` Marek Vasut
     [not found]               ` <201211211630.38238.marex-ynQEQJNshbs@public.gmane.org>
2012-11-22 22:46                 ` Jiri Kosina
2012-11-22 23:02                   ` Marek Vasut
2012-08-15  8:33 ` [PATCH 1/2] input: usb: hid: Bump maximum global item tag report size to 128 bytes Jiri Kosina
2012-08-15 11:56   ` Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1344203835-8308-2-git-send-email-marex@denx.de \
    --to=marex@denx.de \
    --cc=B29397@freescale.com \
    --cc=greg@kroah.com \
    --cc=jkosina@suse.cz \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).