Skip to content

Commit c16527c

Browse files
author
Jiri Kosina
committed
Merge branch 'for-3.15/hid-cp2112' into for-3.15/hid-core-ll-transport-cleanup
2 parents 3a75b24 + 0438ee7 commit c16527c

5 files changed

Lines changed: 1080 additions & 0 deletions

File tree

‎drivers/hid/Kconfig‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,15 @@ config HID_PRODIKEYS
175175
multimedia keyboard, but will lack support for the musical keyboard
176176
and some additional multimedia keys.
177177

178+
config HID_CP2112
179+
tristate "Silicon Labs CP2112 HID USB-to-SMBus Bridge support"
180+
depends on USB_HID && I2C && GPIOLIB
181+
---help---
182+
Support for Silicon Labs CP2112 HID USB to SMBus Master Bridge.
183+
This is a HID device driver which registers as an i2c adapter
184+
and gpiochip to expose these functions of the CP2112. The
185+
customizable USB descriptor fields are exposed as sysfs attributes.
186+
178187
config HID_CYPRESS
179188
tristate "Cypress mouse and barcode readers" if EXPERT
180189
depends on HID

‎drivers/hid/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ obj-$(CONFIG_HID_AUREAL) += hid-aureal.o
4141
obj-$(CONFIG_HID_BELKIN) += hid-belkin.o
4242
obj-$(CONFIG_HID_CHERRY) += hid-cherry.o
4343
obj-$(CONFIG_HID_CHICONY) += hid-chicony.o
44+
obj-$(CONFIG_HID_CP2112) += hid-cp2112.o
4445
obj-$(CONFIG_HID_CYPRESS) += hid-cypress.o
4546
obj-$(CONFIG_HID_DRAGONRISE) += hid-dr.o
4647
obj-$(CONFIG_HID_EMS_FF) += hid-emsff.o

‎drivers/hid/hid-core.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1732,6 +1732,7 @@ static const struct hid_device_id hid_have_special_driver[] = {
17321732
{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_WIRELESS2) },
17331733
{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_AK1D) },
17341734
{ HID_USB_DEVICE(USB_VENDOR_ID_CREATIVELABS, USB_DEVICE_ID_PRODIKEYS_PCMIDI) },
1735+
{ HID_USB_DEVICE(USB_VENDOR_ID_CYGNAL, USB_DEVICE_ID_CYGNAL_CP2112) },
17351736
{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_1) },
17361737
{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_2) },
17371738
{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_3) },

0 commit comments

Comments
 (0)