]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/hid/hid-ids.h
HID: add hid-cp2112 driver
authorDavid Barksdale <dbarksdale@uplogix.com>
Tue, 4 Feb 2014 18:42:48 +0000 (12:42 -0600)
committerJiri Kosina <jkosina@suse.cz>
Mon, 17 Feb 2014 22:33:17 +0000 (23:33 +0100)
commite932d817866770d456815c9a84b7ed94f0589d80
tree0c210184edf96177cea0dfbcd0ad7c841be0586e
parent4988abf1749241bc80600a6b3283d03898d2717c
HID: add hid-cp2112 driver

This patch adds support for the Silicon Labs CP2112 "Single-Chip HID USB to
SMBus Master Bridge."

This is a HID device driver which registers as an i2c adapter and gpiochip to
expose these functions of the CP2112. The customizable USB descriptor fields
are exposed as sysfs attributes.  The SMBus byte-read, byte-data-read/write,
and word-data-read transfer modes have been tested by talking to an i2c
sensor.  The GPIO functions and USB descriptor field programming have also
been tested.

Signed-off-by: David Barksdale <dbarksdale@uplogix.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-core.c
drivers/hid/hid-cp2112.c [new file with mode: 0644]
drivers/hid/hid-ids.h