Skip to content

Commit cd51067

Browse files
committed
Merge branch 'next' into for-linus
Prepare input updates for 5.7 merge window.
2 parents 4134252 + 3a85796 commit cd51067

File tree

8 files changed

+651
-210
lines changed

8 files changed

+651
-210
lines changed

Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt

Lines changed: 0 additions & 77 deletions
This file was deleted.
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/input/touchscreen/edt-ft5x06.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: FocalTech EDT-FT5x06 Polytouch Bindings
8+
9+
description: |
10+
There are 5 variants of the chip for various touch panel sizes
11+
FT5206GE1 2.8" .. 3.8"
12+
FT5306DE4 4.3" .. 7"
13+
FT5406EE8 7" .. 8.9"
14+
FT5506EEG 7" .. 8.9"
15+
FT5726NEI 5.7” .. 11.6"
16+
17+
maintainers:
18+
- Dmitry Torokhov <[email protected]>
19+
20+
allOf:
21+
- $ref: touchscreen.yaml#
22+
- if:
23+
properties:
24+
compatible:
25+
contains:
26+
enum:
27+
- evervision,ev-ft5726
28+
29+
then:
30+
properties:
31+
offset-x: true
32+
offset-y: true
33+
34+
properties:
35+
compatible:
36+
enum:
37+
- edt,edt-ft5206
38+
- edt,edt-ft5306
39+
- edt,edt-ft5406
40+
- edt,edt-ft5506
41+
- evervision,ev-ft5726
42+
- focaltech,ft6236
43+
44+
reg:
45+
const: 0x38
46+
47+
interrupts:
48+
maxItems: 1
49+
50+
reset-gpios:
51+
maxItems: 1
52+
53+
wake-gpios:
54+
maxItems: 1
55+
56+
wakeup-source: true
57+
58+
vcc-supply:
59+
maxItems: 1
60+
61+
gain:
62+
description: Allows setting the sensitivity in the range from 0 to 31.
63+
Note that lower values indicate higher sensitivity.
64+
allOf:
65+
- $ref: /schemas/types.yaml#/definitions/uint32
66+
- minimum: 0
67+
- maximum: 31
68+
69+
offset:
70+
description: Allows setting the edge compensation in the range from 0 to 31.
71+
allOf:
72+
- $ref: /schemas/types.yaml#/definitions/uint32
73+
- minimum: 0
74+
- maximum: 31
75+
76+
offset-x:
77+
description: Same as offset, but applies only to the horizontal position.
78+
Range from 0 to 80, only supported by evervision,ev-ft5726 devices.
79+
allOf:
80+
- $ref: /schemas/types.yaml#/definitions/uint32
81+
- minimum: 0
82+
- maximum: 80
83+
84+
offset-y:
85+
description: Same as offset, but applies only to the vertical position.
86+
Range from 0 to 80, only supported by evervision,ev-ft5726 devices.
87+
allOf:
88+
- $ref: /schemas/types.yaml#/definitions/uint32
89+
- minimum: 0
90+
- maximum: 80
91+
92+
touchscreen-size-x: true
93+
touchscreen-size-y: true
94+
touchscreen-fuzz-x: true
95+
touchscreen-fuzz-y: true
96+
touchscreen-inverted-x: true
97+
touchscreen-inverted-y: true
98+
touchscreen-swapped-x-y: true
99+
interrupt-controller: true
100+
101+
additionalProperties: false
102+
103+
required:
104+
- compatible
105+
- reg
106+
- interrupts
107+
108+
examples:
109+
- |
110+
#include <dt-bindings/gpio/gpio.h>
111+
#include <dt-bindings/interrupt-controller/arm-gic.h>
112+
i2c@00000000 {
113+
#address-cells = <1>;
114+
#size-cells = <0>;
115+
edt-ft5x06@38 {
116+
compatible = "edt,edt-ft5406";
117+
reg = <0x38>;
118+
interrupt-parent = <&gpio2>;
119+
interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
120+
reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
121+
wake-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;
122+
};
123+
};
124+
125+
...

Documentation/devicetree/bindings/input/touchscreen/goodix.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ properties:
2121
- goodix,gt911
2222
- goodix,gt9110
2323
- goodix,gt912
24+
- goodix,gt9147
25+
- goodix,gt917s
2426
- goodix,gt927
2527
- goodix,gt9271
2628
- goodix,gt928

drivers/input/serio/i8042-x86ia64io.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,17 @@ static const struct dmi_system_id __initconst i8042_dmi_nomux_table[] = {
530530
DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo LaVie Z"),
531531
},
532532
},
533+
{
534+
/*
535+
* Acer Aspire 5738z
536+
* Touchpad stops working in mux mode when dis- + re-enabled
537+
* with the touchpad enable/disable toggle hotkey
538+
*/
539+
.matches = {
540+
DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
541+
DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5738"),
542+
},
543+
},
533544
{ }
534545
};
535546

drivers/input/touchscreen/elants_i2c.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,6 +1309,7 @@ static int elants_i2c_probe(struct i2c_client *client,
13091309
input_set_abs_params(ts->input, ABS_MT_PRESSURE, 0, 255, 0, 0);
13101310
input_abs_set_res(ts->input, ABS_MT_POSITION_X, ts->x_res);
13111311
input_abs_set_res(ts->input, ABS_MT_POSITION_Y, ts->y_res);
1312+
input_abs_set_res(ts->input, ABS_MT_TOUCH_MAJOR, 1);
13121313

13131314
error = input_register_device(ts->input);
13141315
if (error) {

0 commit comments

Comments
 (0)