diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-12-15 23:32:42 -0500 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-12-15 23:32:42 -0500 |
| commit | f20c86cd75f1c8c728dafd0218645ff3c5e8545d (patch) | |
| tree | b9100463df79eeafbef87a0bbbaaba4740313120 | |
| parent | a1f9a4072655843fc03186acbad65990cc05dd2d (diff) | |
| parent | 1d6a01365fd63fbf7c2709a183e2936728c8efad (diff) | |
Merge branch 'next' into for-linus
Prepare input updates for 3.19.
77 files changed, 4949 insertions, 922 deletions
diff --git a/Documentation/devicetree/bindings/input/cap1106.txt b/Documentation/devicetree/bindings/input/cap11xx.txt index 4b463904cba0..7d0a3009771b 100644 --- a/Documentation/devicetree/bindings/input/cap1106.txt +++ b/Documentation/devicetree/bindings/input/cap11xx.txt | |||
| @@ -1,14 +1,16 @@ | |||
| 1 | Device tree bindings for Microchip CAP1106, 6 channel capacitive touch sensor | 1 | Device tree bindings for Microchip CAP11xx based capacitive touch sensors |
| 2 | 2 | ||
| 3 | The node for this driver must be a child of a I2C controller node, as the | 3 | The node for this device must be a child of a I2C controller node, as the |
| 4 | device communication via I2C only. | 4 | device communication via I2C only. |
| 5 | 5 | ||
| 6 | Required properties: | 6 | Required properties: |
| 7 | 7 | ||
| 8 | compatible: Must be "microchip,cap1106" | 8 | compatible: Must contain one of: |
| 9 | "microchip,cap1106" | ||
| 10 | "microchip,cap1126" | ||
| 11 | "microchip,cap1188" | ||
| 9 | 12 | ||
| 10 | reg: The I2C slave address of the device. | 13 | reg: The I2C slave address of the device. |
| 11 | Only 0x28 is valid. | ||
| 12 | 14 | ||
| 13 | interrupts: Property describing the interrupt line the | 15 | interrupts: Property describing the interrupt line the |
| 14 | device's ALERT#/CM_IRQ# pin is connected to. | 16 | device's ALERT#/CM_IRQ# pin is connected to. |
| @@ -26,6 +28,10 @@ Optional properties: | |||
| 26 | Valid values are 1, 2, 4, and 8. | 28 | Valid values are 1, 2, 4, and 8. |
| 27 | By default, a gain of 1 is set. | 29 | By default, a gain of 1 is set. |
| 28 | 30 | ||
| 31 | microchip,irq-active-high: By default the interrupt pin is active low | ||
| 32 | open drain. This property allows using the active | ||
| 33 | high push-pull output. | ||
| 34 | |||
| 29 | linux,keycodes: Specifies an array of numeric keycode values to | 35 | linux,keycodes: Specifies an array of numeric keycode values to |
| 30 | be used for the channels. If this property is | 36 | be used for the channels. If this property is |
| 31 | omitted, KEY_A, KEY_B, etc are used as | 37 | omitted, KEY_A, KEY_B, etc are used as |
| @@ -43,11 +49,11 @@ i2c_controller { | |||
| 43 | autorepeat; | 49 | autorepeat; |
| 44 | microchip,sensor-gain = <2>; | 50 | microchip,sensor-gain = <2>; |
| 45 | 51 | ||
| 46 | linux,keycodes = <103 /* KEY_UP */ | 52 | linux,keycodes = <103>, /* KEY_UP */ |
| 47 | 106 /* KEY_RIGHT */ | 53 | <106>, /* KEY_RIGHT */ |
| 48 | 108 /* KEY_DOWN */ | 54 | <108>, /* KEY_DOWN */ |
| 49 | 105 /* KEY_LEFT */ | 55 | <105>, /* KEY_LEFT */ |
| 50 | 109 /* KEY_PAGEDOWN */ | 56 | <109>, /* KEY_PAGEDOWN */ |
| 51 | 104>; /* KEY_PAGEUP */ | 57 | <104>; /* KEY_PAGEUP */ |
| 52 | }; | 58 | }; |
| 53 | } | 59 | } |
diff --git a/Documentation/devicetree/bindings/input/elan_i2c.txt b/Documentation/devicetree/bindings/input/elan_i2c.txt new file mode 100644 index 000000000000..ee3242c4ba67 --- /dev/null +++ b/Documentation/devicetree/bindings/input/elan_i2c.txt | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | Elantech I2C Touchpad | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: must be "elan,ekth3000". | ||
| 5 | - reg: I2C address of the chip. | ||
| 6 | - interrupt-parent: a phandle for the interrupt controller (see interrupt | ||
| 7 | binding[0]). | ||
| 8 | - interrupts: interrupt to which the chip is connected (see interrupt | ||
| 9 | binding[0]). | ||
| 10 | |||
| 11 | Optional properties: | ||
| 12 | - wakeup-source: touchpad can be used as a wakeup source. | ||
| 13 | - pinctrl-names: should be "default" (see pinctrl binding [1]). | ||
