-
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: - big update to Wacom driver by Benjamin Tissoires, converting it to HID infrastructure and unifying USB and Bluetooth models - large update to ALPS driver by Hans de Goede, which adds support for newer touchpad models as well as cleans up and restructures the code - more changes to Atmel MXT driver, including device tree support - new driver for iPaq x3xxx touchscreen - driver for serial Wacom tablets - driver for Microchip's CAP1106 - assorted cleanups and improvements to existing drover and input core * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (93 commits) Input: wacom - update the ABI doc according to latest changes Input: wacom - only register once the MODULE_* macros Input: HID - remove hid-wacom Bluetooth driver Input: wacom - add copyright note and bump version to 2.0 Input: wacom - remove passing id for wacom_set_report Input: wacom - check for bluetooth protocol while setting OLEDs Input: wacom - handle Intuos 4 BT in wacom.ko Input: wacom - handle Graphire BT tablets in wacom.ko Input: wacom - prepare the driver to include BT devices Input: hyperv-keyboard - register as a wakeup source Input: imx_keypad - remove ifdef round PM methods Input: jornada720_ts - get rid of space indentation and use tab Input: jornada720_ts - switch to using managed resources Input: alps - Rushmore and v7 resolution support Input: mcs5000_ts - remove ifdef around power management methods Input: mcs5000_ts - protect PM functions with CONFIG_PM_SLEEP Input: ads7846 - release resources on failure for clean exit Input: wacom - add support for 0x12C ISDv4 sensor Input: atmel_mxt_ts - use deep sleep mode when stopped ARM: dts: am437x-gp-evm: Update binding for touchscreen size ...
- Loading branch information
Showing
48 changed files
with
4,516 additions
and
2,886 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
25 changes: 25 additions & 0 deletions
25
Documentation/devicetree/bindings/input/atmel,maxtouch.txt
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,25 @@ | ||
Atmel maXTouch touchscreen/touchpad | ||
|
||
Required properties: | ||
- compatible: | ||
atmel,maxtouch | ||
|
||
- reg: The I2C address of the device | ||
|
||
- interrupts: The sink for the touchpad's IRQ output | ||
See ../interrupt-controller/interrupts.txt | ||
|
||
Optional properties for main touchpad device: | ||
|
||
- linux,gpio-keymap: An array of up to 4 entries indicating the Linux | ||
keycode generated by each GPIO. Linux keycodes are defined in | ||
<dt-bindings/input/input.h>. | ||
|
||
Example: | ||
|
||
touch@4b { | ||
compatible = "atmel,maxtouch"; | ||
reg = <0x4b>; | ||
interrupt-parent = <&gpio>; | ||
interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_LOW>; | ||
}; |
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 @@ | ||
Device tree bindings for Microchip CAP1106, 6 channel capacitive touch sensor | ||
|
||
The node for this driver must be a child of a I2C controller node, as the | ||
device communication via I2C only. | ||
|
||
Required properties: | ||
|
||
compatible: Must be "microchip,cap1106" | ||
|
||
reg: The I2C slave address of the device. | ||
Only 0x28 is valid. | ||
|
||
interrupts: Property describing the interrupt line the | ||
device's ALERT#/CM_IRQ# pin is connected to. | ||
The device only has one interrupt source. | ||
|
||
Optional properties: | ||
|
||
autorepeat: Enables the Linux input system's autorepeat | ||
feature on the input device. | ||
|
||
microchip,sensor-gain: Defines the gain of the sensor circuitry. This | ||
effectively controls the sensitivity, as a | ||
smaller delta capacitance is required to | ||
generate the same delta count values. | ||
Valid values are 1, 2, 4, and 8. | ||
By default, a gain of 1 is set. | ||
|
||
linux,keycodes: Specifies an array of numeric keycode values to | ||
be used for the channels. If this property is | ||
omitted, KEY_A, KEY_B, etc are used as | ||
defaults. The array must have exactly six | ||
entries. | ||
|
||
Example: | ||
|
||
i2c_controller { | ||
cap1106@28 { | ||
compatible = "microchip,cap1106"; | ||
interrupt-parent = <&gpio1>; | ||
interrupts = <0 0>; | ||
reg = <0x28>; | ||
autorepeat; | ||
microchip,sensor-gain = <2>; | ||
|
||
linux,keycodes = <103 /* KEY_UP */ | ||
106 /* KEY_RIGHT */ | ||
108 /* KEY_DOWN */ | ||
105 /* KEY_LEFT */ | ||
109 /* KEY_PAGEDOWN */ | ||
104>; /* KEY_PAGEUP */ | ||
}; | ||
} |
26 changes: 26 additions & 0 deletions
26
Documentation/devicetree/bindings/input/touchscreen/pixcir_i2c_ts.txt
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,26 @@ | ||
* Pixcir I2C touchscreen controllers | ||
|
||
Required properties: | ||
- compatible: must be "pixcir,pixcir_ts" or "pixcir,pixcir_tangoc" | ||
- reg: I2C address of the chip | ||
- interrupts: interrupt to which the chip is connected | ||
- attb-gpio: GPIO connected to the ATTB line of the chip | ||
- touchscreen-size-x: horizontal resolution of touchscreen (in pixels) | ||
- touchscreen-size-y: vertical resolution of touchscreen (in pixels) | ||
|
||
Example: | ||
|
||
i2c@00000000 { | ||
/* ... */ | ||
|
||
pixcir_ts@5c { | ||
compatible = "pixcir,pixcir_ts"; | ||
reg = <0x5c>; | ||
interrupts = <2 0>; | ||
attb-gpio = <&gpf 2 0 2>; | ||
touchscreen-size-x = <800>; | ||
touchscreen-size-y = <600>; | ||
}; | ||
|
||
/* ... */ | ||
}; |
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
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.