forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/dtor/input Pull input updates from Dmitry Torokhov: "Two new touchpad drivers - Cypress APA I2C Trackpad and Cypress PS/2 touchpad and a big update to ALPS driver from Kevin Cernekee that adds support for "Rushmore" touchpads and paves way for adding support for "Dolphin" touchpads. There is also a new input driver for Goldfish emulator and also Android keyreset driver was folded into SysRq code. A few more drivers were updated with device tree bindings and others got some small cleanups and fixes." * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (55 commits) Input: cyttsp-spi - remove duplicate MODULE_ALIAS() Input: tsc2005 - add MODULE_ALIAS Input: tegra-kbc - require CONFIG_OF, remove platform data Input: synaptics - initialize pointer emulation usage Input: MT - do not apply filtering on emulated events Input: bma150 - make some defines public and fix some comments Input: bma150 - fix checking pm_runtime_get_sync() return value Input: ALPS - enable trackstick on Rushmore touchpads Input: ALPS - add support for "Rushmore" touchpads Input: ALPS - make the V3 packet field decoder "pluggable" Input: ALPS - move pixel and bitmap info into alps_data struct Input: ALPS - fix command mode check Input: ALPS - rework detection of Pinnacle AGx touchpads Input: ALPS - move {addr,nibble}_command settings into alps_set_defaults() Input: ALPS - use function pointers for different protocol handlers Input: ALPS - rework detection sequence Input: ALPS - introduce helper function for repeated commands Input: ALPS - move alps_get_model() down below hw_init code Input: ALPS - copy "model" info into alps_data struct Input: ALPS - document the alps.h data structures ...
- Loading branch information
Showing
41 changed files
with
3,608 additions
and
1,182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
* Freescale i.MX Keypad Port(KPP) device tree bindings | ||
|
||
The KPP is designed to interface with a keypad matrix with 2-point contact | ||
or 3-point contact keys. The KPP is designed to simplify the software task | ||
of scanning a keypad matrix. The KPP is capable of detecting, debouncing, | ||
and decoding one or multiple keys pressed simultaneously on a keypad. | ||
|
||
Required SoC Specific Properties: | ||
- compatible: Should be "fsl,<soc>-kpp". | ||
|
||
- reg: Physical base address of the KPP and length of memory mapped | ||
region. | ||
|
||
- interrupts: The KPP interrupt number to the CPU(s). | ||
|
||
- clocks: The clock provided by the SoC to the KPP. Some SoCs use dummy | ||
clock(The clock for the KPP is provided by the SoCs automatically). | ||
|
||
Required Board Specific Properties: | ||
- pinctrl-names: The definition can be found at | ||
pinctrl/pinctrl-bindings.txt. | ||
|
||
- pinctrl-0: The definition can be found at | ||
pinctrl/pinctrl-bindings.txt. | ||
|
||
- linux,keymap: The definition can be found at | ||
bindings/input/matrix-keymap.txt. | ||
|
||
Example: | ||
kpp: kpp@73f94000 { | ||
compatible = "fsl,imx51-kpp", "fsl,imx21-kpp"; | ||
reg = <0x73f94000 0x4000>; | ||
interrupts = <60>; | ||
clocks = <&clks 0>; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_kpp_1>; | ||
linux,keymap = <0x00000067 /* KEY_UP */ | ||
0x0001006c /* KEY_DOWN */ | ||
0x00020072 /* KEY_VOLUMEDOWN */ | ||
0x00030066 /* KEY_HOME */ | ||
0x0100006a /* KEY_RIGHT */ | ||
0x01010069 /* KEY_LEFT */ | ||
0x0102001c /* KEY_ENTER */ | ||
0x01030073 /* KEY_VOLUMEUP */ | ||
0x02000040 /* KEY_F6 */ | ||
0x02010042 /* KEY_F8 */ | ||
0x02020043 /* KEY_F9 */ | ||
0x02030044 /* KEY_F10 */ | ||
0x0300003b /* KEY_F1 */ | ||
0x0301003c /* KEY_F2 */ | ||
0x0302003d /* KEY_F3 */ | ||
0x03030074>; /* KEY_POWER */ | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.