summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-08-05 23:24:15 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2016-08-05 23:24:15 -0400
commit39fada55274241d50e27eb961cc9280b5b6121fb (patch)
tree217ac8f085728251a45e2ac9bbcc6c79d4c53b8a /Documentation
parentf72035fad84c9b51a45fd8afc8024f3df0ba8848 (diff)
parent22fe874f380336315dd0440dad475ff326784b22 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull more input updates from Dmitry Torokhov: "Two new drivers for touchscreen controllers: - Silead touchscreen controllers - SiS 9200 family touchscreen controllers and a few driver fixes" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: silead - remove some dead code Input: sis-i2c - select CONFIG_CRC_ITU_T Input: add driver for SiS 9200 family I2C touchscreen controllers Input: ili210x - fix permissions on "calibrate" attribute Input: elan_i2c - properly wake up touchpad on ASUS laptops Input: add driver for Silead touchscreens Input: elantech - fix debug dump of the current packet Input: rotary_encoder - support binary encoding of states Input: xpad - power off wireless 360 controllers on suspend Input: i8042 - break load dependency between atkbd/psmouse and i8042 Input: synaptics-rmi4 - do not check for NULL when calling of_node_put() Input: cros_ec_keyb - cleanup use of dev
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/input/rotary-encoder.txt4
-rw-r--r--Documentation/devicetree/bindings/input/touchscreen/silead_gsl1680.txt36
-rw-r--r--Documentation/devicetree/bindings/input/touchscreen/sis_i2c.txt33
-rw-r--r--Documentation/devicetree/bindings/vendor-prefixes.txt1
4 files changed, 74 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/rotary-encoder.txt b/Documentation/devicetree/bindings/input/rotary-encoder.txt
index 6c9f0c8a846c..e85ce3dea480 100644
--- a/Documentation/devicetree/bindings/input/rotary-encoder.txt
+++ b/Documentation/devicetree/bindings/input/rotary-encoder.txt
@@ -20,6 +20,8 @@ Optional properties:
20 2: Half-period mode 20 2: Half-period mode
21 4: Quarter-period mode 21 4: Quarter-period mode
22- wakeup-source: Boolean, rotary encoder can wake up the system. 22- wakeup-source: Boolean, rotary encoder can wake up the system.
23- rotary-encoder,encoding: String, the method used to encode steps.
24 Supported are "gray" (the default and more common) and "binary".
23 25
24Deprecated properties: 26Deprecated properties:
25- rotary-encoder,half-period: Makes the driver work on half-period mode. 27- rotary-encoder,half-period: Makes the driver work on half-period mode.
@@ -34,6 +36,7 @@ Example:
34 compatible = "rotary-encoder"; 36 compatible = "rotary-encoder";
35 gpios = <&gpio 19 1>, <&gpio 20 0>; /* GPIO19 is inverted */ 37 gpios = <&gpio 19 1>, <&gpio 20 0>; /* GPIO19 is inverted */
36 linux,axis = <0>; /* REL_X */ 38 linux,axis = <0>; /* REL_X */
39 rotary-encoder,encoding = "gray";
37 rotary-encoder,relative-axis; 40 rotary-encoder,relative-axis;
38 }; 41 };
39 42
@@ -42,5 +45,6 @@ Example:
42 gpios = <&gpio 21 0>, <&gpio 22 0>; 45 gpios = <&gpio 21 0>, <&gpio 22 0>;
43 linux,axis = <1>; /* ABS_Y */ 46 linux,axis = <1>; /* ABS_Y */
44 rotary-encoder,steps = <24>; 47 rotary-encoder,steps = <24>;
48 rotary-encoder,encoding = "binary";
45 rotary-encoder,rollover; 49 rotary-encoder,rollover;
46 }; 50 };
diff --git a/Documentation/devicetree/bindings/input/touchscreen/silead_gsl1680.txt b/Documentation/devicetree/bindings/input/touchscreen/silead_gsl1680.txt
new file mode 100644
index 000000000000..1112e0d794e1
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/silead_gsl1680.txt
@@ -0,0 +1,36 @@
1* GSL 1680 touchscreen controller
2
3Required properties:
4- compatible : "silead,gsl1680"
5- reg : I2C slave address of the chip (0x40)
6- interrupt-parent : a phandle pointing to the interrupt controller
7 serving the interrupt for this chip
8- interrupts : interrupt specification for the gsl1680 interrupt
9- power-gpios : Specification for the pin connected to the gsl1680's
10 shutdown input. This needs to be driven high to take the
11 gsl1680 out of its low power state
12- touchscreen-size-x : See touchscreen.txt
13- touchscreen-size-y : See touchscreen.txt
14
15Optional properties:
16- touchscreen-inverted-x : See touchscreen.txt
17- touchscreen-inverted-y : See touchscreen.txt
18- touchscreen-swapped-x-y : See touchscreen.txt
19- silead,max-fingers : maximum number of fingers the touchscreen can detect
20
21Example:
22
23i2c@00000000 {
24 gsl1680: touchscreen@40 {
25 compatible = "silead,gsl1680";
26 reg = <0x40>;
27 interrupt-parent = <&pio>;
28 interrupts = <6 11 IRQ_TYPE_EDGE_FALLING>;
29 power-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>;
30 touchscreen-size-x = <480>;
31 touchscreen-size-y = <800>;
32 touchscreen-inverted-x;
33 touchscreen-swapped-x-y;
34 silead,max-fingers = <5>;
35 };
36};
diff --git a/Documentation/devicetree/bindings/input/touchscreen/sis_i2c.txt b/Documentation/devicetree/bindings/input/touchscreen/sis_i2c.txt
new file mode 100644
index 000000000000..d87ad14f1efe
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/sis_i2c.txt
@@ -0,0 +1,33 @@
1* SiS I2C Multiple Touch Controller
2
3Required properties:
4- compatible: must be "sis,9200-ts"
5- reg: i2c slave address
6- interrupt-parent: the phandle for the interrupt controller
7 (see interrupt binding [0])
8- interrupts: touch controller interrupt (see interrupt
9 binding [0])
10
11Optional properties:
12- pinctrl-names: should be "default" (see pinctrl binding [1]).
13- pinctrl-0: a phandle pointing to the pin settings for the
14 device (see pinctrl binding [1]).
15- attn-gpios: the gpio pin used as attention line
16- reset-gpios: the gpio pin used to reset the controller
17- wakeup-source: touchscreen can be used as a wakeup source
18
19[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
20[1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
21
22Example:
23
24 sis9255@5c {
25 compatible = "sis,9200-ts";
26 reg = <0x5c>;
27 pinctrl-names = "default";
28 pinctrl-0 = <&pinctrl_sis>;
29 interrupt-parent = <&gpio3>;
30 interrupts = <19 IRQ_TYPE_EDGE_FALLING>;
31 irq-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
32 reset-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
33 };
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 68391a462c0a..1992aa97d45a 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -238,6 +238,7 @@ simtek
238sii Seiko Instruments, Inc. 238sii Seiko Instruments, Inc.
239silergy Silergy Corp. 239silergy Silergy Corp.
240sirf SiRF Technology, Inc. 240sirf SiRF Technology, Inc.
241sis Silicon Integrated Systems Corp.
241sitronix Sitronix Technology Corporation 242sitronix Sitronix Technology Corporation
242skyworks Skyworks Solutions, Inc. 243skyworks Skyworks Solutions, Inc.
243smsc Standard Microsystems Corporation 244smsc Standard Microsystems Corporation