diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-07 13:38:46 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-07 13:38:46 -0400 |
| commit | 8b8a7df9a1d87ba413fce246b11f54c636bb456a (patch) | |
| tree | 797265037b52117fa633b32cbe3feacb1b1b0f07 /include/linux | |
| parent | b04c99e3b845892d754ee8052d6324c39c4040de (diff) | |
| parent | 07176b988ebb20f46a317a60ee1d983fe1630203 (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input updates from Dmitry Torokhov:
"A new driver for slidebar on Ideapad laptops and a bunch of assorted
driver fixes"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (32 commits)
Input: add SYN_MAX and SYN_CNT constants
Input: max11801_ts - convert to devm
Input: egalax-ts - fix typo and improve text
Input: MAINTAINERS - change maintainer for cyttsp driver
Input: cyttsp4 - kill 'defined but not used' compiler warnings
Input: add driver for slidebar on Lenovo IdeaPad laptops
Input: omap-keypad - set up irq type from DT
Input: omap-keypad - enable wakeup capability for keypad.
Input: omap-keypad - clear interrupts on open
Input: omap-keypad - convert to threaded IRQ
Input: omap-keypad - use bitfiled instead of hardcoded values
Input: cyttsp4 - remove useless NULL test from cyttsp4_watchdog_timer()
Input: wacom - fix error return code in wacom_probe()
Input: as5011 - fix error return code in as5011_probe()
Input: keyboard, serio - simplify use of devm_ioremap_resource
Input: tegra-kbc - simplify use of devm_ioremap_resource
Input: htcpen - fix incorrect placement of __initdata
Input: qt1070 - add power management ops
Input: wistron_btns - add MODULE_DEVICE_TABLE
Input: wistron_btns - mark the Medion MD96500 keymap as tested
...
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/i8042.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/i8042.h b/include/linux/i8042.h index a986ff588944..0f9bafa17a02 100644 --- a/include/linux/i8042.h +++ b/include/linux/i8042.h | |||
| @@ -31,6 +31,30 @@ | |||
| 31 | #define I8042_CMD_MUX_PFX 0x0090 | 31 | #define I8042_CMD_MUX_PFX 0x0090 |
| 32 | #define I8042_CMD_MUX_SEND 0x1090 | 32 | #define I8042_CMD_MUX_SEND 0x1090 |
| 33 | 33 | ||
| 34 | /* | ||
| 35 | * Status register bits. | ||
| 36 | */ | ||
| 37 | |||
| 38 | #define I8042_STR_PARITY 0x80 | ||
| 39 | #define I8042_STR_TIMEOUT 0x40 | ||
| 40 | #define I8042_STR_AUXDATA 0x20 | ||
| 41 | #define I8042_STR_KEYLOCK 0x10 | ||
| 42 | #define I8042_STR_CMDDAT 0x08 | ||
| 43 | #define I8042_STR_MUXERR 0x04 | ||
| 44 | #define I8042_STR_IBF 0x02 | ||
| 45 | #define I8042_STR_OBF 0x01 | ||
| 46 | |||
| 47 | /* | ||
| 48 | * Control register bits. | ||
| 49 | */ | ||
| 50 | |||
| 51 | #define I8042_CTR_KBDINT 0x01 | ||
| 52 | #define I8042_CTR_AUXINT 0x02 | ||
| 53 | #define I8042_CTR_IGNKEYLOCK 0x08 | ||
| 54 | #define I8042_CTR_KBDDIS 0x10 | ||
| 55 | #define I8042_CTR_AUXDIS 0x20 | ||
| 56 | #define I8042_CTR_XLATE 0x40 | ||
| 57 | |||
| 34 | struct serio; | 58 | struct serio; |
| 35 | 59 | ||
| 36 | #if defined(CONFIG_SERIO_I8042) || defined(CONFIG_SERIO_I8042_MODULE) | 60 | #if defined(CONFIG_SERIO_I8042) || defined(CONFIG_SERIO_I8042_MODULE) |
