Skip to content

Commit 07fc16f

Browse files
jhovoldBenjamin Tissoires
authored andcommitted
dt-bindings: HID: i2c-hid: elan: add Elan eKTH5015M
Add a compatible string for the Elan eKTH5015M touch controller. Judging from the current binding and commit bd3cba0 ("HID: i2c-hid: elan: Add support for Elan eKTH6915 i2c-hid touchscreens"), eKTH5015M appears to be compatible with eKTH6915. Notably the power-on sequence is the same. While at it, drop a redundant label from the example. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Benjamin Tissoires <[email protected]>
1 parent 8d3ae46 commit 07fc16f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Documentation/devicetree/bindings/input/elan,ekth6915.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@ allOf:
1818

1919
properties:
2020
compatible:
21-
enum:
22-
- elan,ekth6915
21+
oneOf:
22+
- items:
23+
- enum:
24+
- elan,ekth5015m
25+
- const: elan,ekth6915
26+
- const: elan,ekth6915
2327

2428
reg:
2529
const: 0x10
@@ -57,8 +61,8 @@ examples:
5761
#address-cells = <1>;
5862
#size-cells = <0>;
5963
60-
ap_ts: touchscreen@10 {
61-
compatible = "elan,ekth6915";
64+
touchscreen@10 {
65+
compatible = "elan,ekth5015m", "elan,ekth6915";
6266
reg = <0x10>;
6367
6468
interrupt-parent = <&tlmm>;

0 commit comments

Comments
 (0)