diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-03 15:38:20 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-03 15:38:20 -0400 |
| commit | 16a12fa9aed176444fc795b09e796be41902bb08 (patch) | |
| tree | bd158def3263a8b0d0f0886fd0fcd32728242dc4 /include/linux/mfd | |
| parent | d25e436c4b68db2895185b24ad1f22499c2f87b0 (diff) | |
| parent | 0337966d121ebebf73a1c346123e8112796e684e (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input subsystem updates from Dmitry Torokhov:
- a big update from Mauro converting input documentation to ReST format
- Synaptics PS/2 is now aware of SMBus companion devices, which means
that we can now use native RMI4 protocol to handle touchpads, instead
of relying on legacy PS/2 mode.
- we removed support from BMA180 accelerometer from input devices as it
is now handled properly by IIO
- update to TSC2007 to corretcly report pressure
- other miscellaneous driver fixes.
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (152 commits)
Input: ar1021_i2c - use BIT to check for a bit
Input: twl4030-pwrbutton - use input_set_capability() helper
Input: twl4030-pwrbutton - use correct device for irq request
Input: ar1021_i2c - enable touch mode during open
Input: add uinput documentation
dt-bindings: input: add bindings document for ar1021_i2c driver
dt-bindings: input: rotary-encoder: fix typo
Input: xen-kbdfront - add module parameter for setting resolution
ARM: pxa/raumfeld: fix compile error in rotary controller resources
Input: xpad - do not suggest writing to Dominic
Input: xpad - don't use literal blocks inside footnotes
Input: xpad - note that usb/devices is now at /sys/kernel/debug/
Input: docs - freshen up introduction
Input: docs - split input docs into kernel- and user-facing
Input: docs - note that MT-A protocol is obsolete
Input: docs - update joystick documentation a bit
Input: docs - remove disclaimer/GPL notice
Input: fix "Game console" heading level in joystick documentation
Input: rotary-encoder - remove references to platform data from docs
Input: move documentation for Amiga CD32
...
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/cros_ec_commands.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mfd/cros_ec_commands.h b/include/linux/mfd/cros_ec_commands.h index f1ef6388c233..c93e7e0300ef 100644 --- a/include/linux/mfd/cros_ec_commands.h +++ b/include/linux/mfd/cros_ec_commands.h | |||
| @@ -2041,6 +2041,9 @@ enum ec_mkbp_event { | |||
| 2041 | /* The state of the switches have changed. */ | 2041 | /* The state of the switches have changed. */ |
| 2042 | EC_MKBP_EVENT_SWITCH = 4, | 2042 | EC_MKBP_EVENT_SWITCH = 4, |
| 2043 | 2043 | ||
| 2044 | /* EC sent a sysrq command */ | ||
| 2045 | EC_MKBP_EVENT_SYSRQ = 6, | ||
| 2046 | |||
| 2044 | /* Number of MKBP events */ | 2047 | /* Number of MKBP events */ |
| 2045 | EC_MKBP_EVENT_COUNT, | 2048 | EC_MKBP_EVENT_COUNT, |
| 2046 | }; | 2049 | }; |
| @@ -2053,6 +2056,7 @@ union ec_response_get_next_data { | |||
| 2053 | 2056 | ||
| 2054 | uint32_t buttons; | 2057 | uint32_t buttons; |
| 2055 | uint32_t switches; | 2058 | uint32_t switches; |
| 2059 | uint32_t sysrq; | ||
| 2056 | } __packed; | 2060 | } __packed; |
| 2057 | 2061 | ||
| 2058 | struct ec_response_get_next_event { | 2062 | struct ec_response_get_next_event { |
