summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-google-hammer.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* HID: google: Add support for whiskersNicolas Boichat2018-06-111-0/+2
| | | | | | | | Another device in the hammer class, with USB id 0x5030. Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: google: Enable PM Full On mode when adjusting backlightHaridhar Kalvala2018-03-281-0/+14
| | | | | | | | | | | | | | | hammer LED backlight brightness is not getting set when USB device is in suspend state. This patch fixes the issue by requesting USB HID device to be in FULLON mode, so that sending hardware output report and hardware raw request won't fail to set brightness, and set device back to NORMAL mode once this call returns. Signed-off-by: Haridhar Kalvala <haridhar.kalvala@intel.com> Reviewed-by: Dmitry Torokhov <dtor@chromium.org> Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: google: add google hammer HID driverWei-Ning Huang2018-03-271-0/+124
Add Google hammer HID driver. This driver allow us to control hammer keyboard backlight and support future features. Signed-off-by: Wei-Ning Huang <wnhuang@google.com> Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>