Skip to content

Commit 16a12fa

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input subsystem updates from Dmitry Torokhov: - a big update from Mauro converting input documentation to ReST format - Synaptics PS/2 is now aware of SMBus companion devices, which means that we can now use native RMI4 protocol to handle touchpads, instead of relying on legacy PS/2 mode. - we removed support from BMA180 accelerometer from input devices as it is now handled properly by IIO - update to TSC2007 to corretcly report pressure - other miscellaneous driver fixes. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (152 commits) Input: ar1021_i2c - use BIT to check for a bit Input: twl4030-pwrbutton - use input_set_capability() helper Input: twl4030-pwrbutton - use correct device for irq request Input: ar1021_i2c - enable touch mode during open Input: add uinput documentation dt-bindings: input: add bindings document for ar1021_i2c driver dt-bindings: input: rotary-encoder: fix typo Input: xen-kbdfront - add module parameter for setting resolution ARM: pxa/raumfeld: fix compile error in rotary controller resources Input: xpad - do not suggest writing to Dominic Input: xpad - don't use literal blocks inside footnotes Input: xpad - note that usb/devices is now at /sys/kernel/debug/ Input: docs - freshen up introduction Input: docs - split input docs into kernel- and user-facing Input: docs - note that MT-A protocol is obsolete Input: docs - update joystick documentation a bit Input: docs - remove disclaimer/GPL notice Input: fix "Game console" heading level in joystick documentation Input: rotary-encoder - remove references to platform data from docs Input: move documentation for Amiga CD32 ...
2 parents d25e436 + 0337966 commit 16a12fa

129 files changed

Lines changed: 7608 additions & 5390 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/conf.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@
348348
'The kernel development community', 'manual'),
349349
('driver-api/index', 'driver-api.tex', 'The kernel driver API manual',
350350
'The kernel development community', 'manual'),
351+
('input/index', 'linux-input.tex', 'The Linux input driver subsystem',
352+
'The kernel development community', 'manual'),
351353
('kernel-documentation', 'kernel-documentation.tex', 'The Linux Kernel Documentation',
352354
'The kernel development community', 'manual'),
353355
('process/index', 'development-process.tex', 'Linux Kernel Development Documentation',

‎Documentation/devicetree/bindings/input/gpio-matrix-keypad.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Optional Properties:
2424
- debounce-delay-ms: debounce interval in milliseconds
2525
- col-scan-delay-us: delay, measured in microseconds, that is needed
2626
before we can scan keypad after activating column gpio
27+
- drive-inactive-cols: drive inactive columns during scan,
28+
default is to turn inactive columns into inputs.
2729

2830
Example:
2931
matrix-keypad {

‎Documentation/devicetree/bindings/input/pwm-beeper.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Required properties:
88

99
Optional properties:
1010
- amp-supply: phandle to a regulator that acts as an amplifier for the beeper
11+
- beeper-hz: bell frequency in Hz
1112

1213
Example:
1314

‎Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ PROPERTIES
77
Value type: <string>
88
Definition: must be one of:
99
"qcom,pm8058-vib"
10+
"qcom,pm8916-vib"
1011
"qcom,pm8921-vib"
1112

1213
- reg:

‎Documentation/devicetree/bindings/input/rotary-encoder.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Optional properties:
1212
- rotary-encoder,relative-axis: register a relative axis rather than an
1313
absolute one. Relative axis will only generate +1/-1 events on the input
1414
device, hence no steps need to be passed.
15-
- rotary-encoder,rollover: Automatic rollove when the rotary value becomes
15+
- rotary-encoder,rollover: Automatic rollover when the rotary value becomes
1616
greater than the specified steps or smaller than 0. For absolute axis only.
1717
- rotary-encoder,steps-per-period: Number of steps (stable states) per period.
1818
The values have the following meaning:

‎Documentation/devicetree/bindings/input/touchscreen/ad7879.txt‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Optional properties:
3535
- adi,conversion-interval: : 0 : convert one time only
3636
1-255: 515us + val * 35us (up to 9.440ms)
3737
This property has to be a '/bits/ 8' value
38+
- gpio-controller : Switch AUX/VBAT/GPIO pin to GPIO mode
3839

3940
Example:
4041

@@ -51,3 +52,21 @@ Example:
5152
adi,averaging = /bits/ 8 <1>;
5253
adi,conversion-interval = /bits/ 8 <255>;
5354
};
55+
56+
ad7879@1 {
57+
compatible = "adi,ad7879";
58+
spi-max-frequency = <5000000>;
59+
reg = <1>;
60+
spi-cpol;
61+
spi-cpha;
62+
gpio-controller;
63+
interrupt-parent = <&gpio1>;
64+
interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
65+
touchscreen-max-pressure = <4096>;
66+
adi,resistance-plate-x = <120>;
67+
adi,first-conversion-delay = /bits/ 8 <3>;
68+
adi,acquisition-time = /bits/ 8 <1>;
69+
adi,median-filter-size = /bits/ 8 <2>;
70+
adi,averaging = /bits/ 8 <1>;
71+
adi,conversion-interval = /bits/ 8 <255>;
72+
};

Documentation/devicetree/bindings/input/ads7846.txt renamed to Documentation/devicetree/bindings/input/touchscreen/ads7846.txt

File renamed without changes.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
* Microchip AR1020 and AR1021 touchscreen interface (I2C)
2+
3+
Required properties:
4+
- compatible : "microchip,ar1021-i2c"
5+
- reg : I2C slave address
6+
- interrupt-parent : the phandle for the interrupt controller
7+
- interrupts : touch controller interrupt
8+
9+
Example:
10+
11+
touchscreen@4d {
12+
compatible = "microchip,ar1021-i2c";
13+
reg = <0x4d>;
14+
interrupt-parent = <&gpio3>;
15+
interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
16+
};
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
* MAXI MAX11801 Resistive touch screen controller with i2c interface
2+
3+
Required properties:
4+
- compatible: must be "maxim,max11801"
5+
- reg: i2c slave address
6+
- interrupt-parent: the phandle for the interrupt controller
7+
- interrupts: touch controller interrupt
8+
9+
Example:
10+
11+
&i2c1 {
12+
max11801: touchscreen@48 {
13+
compatible = "maxim,max11801";
14+
reg = <0x48>;
15+
interrupt-parent = <&gpio3>;
16+
interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
17+
};
18+
};

‎Documentation/devicetree/bindings/input/touchscreen/silead_gsl1680.txt‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
* GSL 1680 touchscreen controller
22

33
Required properties:
4-
- compatible : "silead,gsl1680"
4+
- compatible : Must be one of the following, depending on the model:
5+
"silead,gsl1680"
6+
"silead,gsl1688"
7+
"silead,gsl3670"
8+
"silead,gsl3675"
9+
"silead,gsl3692"
510
- reg : I2C slave address of the chip (0x40)
611
- interrupt-parent : a phandle pointing to the interrupt controller
712
serving the interrupt for this chip

0 commit comments

Comments
 (0)