Skip to content

Commit c44f79c

Browse files
wensdtor
authored andcommitted
dt-bindings: HID: i2c-hid: elan: Introduce Elan eKTH8D18
The Elan eKTH8D18 touchscreen controller is an I2C HID device with a longer boot-up time. Power sequence timing wise it is compatible with the eKTH6A12NAY, with a power-on delay of at least 5ms, 20ms out-of-reset for I2C ack response, and 150ms out-of-reset for I2C HID enumeration, both shorter than what the eKTH6A12NAY requires. Enumeration and subsequent operation follows the I2C HID standard. Add a compatible string for it with the ekth6a12nay one as a fallback. No enum was used as it is rare to actually add new entries. These chips are commonly completely backward compatible, and unless the power sequencing delays change, there is no real effort being made to keep track of new parts, which come out constantly. Also drop the constraints on the I2C address since it's not really part of the binding. Reviewed-by: Douglas Anderson <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: Chen-Yu Tsai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 805f5bb commit c44f79c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
$id: http://devicetree.org/schemas/input/elan,ekth6915.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

7-
title: Elan eKTH6915 touchscreen controller
7+
title: Elan I2C-HID touchscreen controllers
88

99
maintainers:
1010
- Douglas Anderson <[email protected]>
1111

1212
description:
13-
Supports the Elan eKTH6915 touchscreen controller.
14-
This touchscreen controller uses the i2c-hid protocol with a reset GPIO.
13+
Supports the Elan eKTH6915 and other I2C-HID touchscreen controllers.
14+
These touchscreen controller use the i2c-hid protocol with a reset GPIO.
1515

1616
allOf:
1717
- $ref: /schemas/input/touchscreen/touchscreen.yaml#
@@ -23,12 +23,14 @@ properties:
2323
- enum:
2424
- elan,ekth5015m
2525
- const: elan,ekth6915
26+
- items:
27+
- const: elan,ekth8d18
28+
- const: elan,ekth6a12nay
2629
- enum:
2730
- elan,ekth6915
2831
- elan,ekth6a12nay
2932

30-
reg:
31-
const: 0x10
33+
reg: true
3234

3335
interrupts:
3436
maxItems: 1

0 commit comments

Comments
 (0)