Commit 07fc16fa authored by Johan Hovold's avatar Johan Hovold Committed by Benjamin Tissoires

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 bd3cba00 ("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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20240507144821.12275-3-johan+linaro@kernel.orgSigned-off-by: default avatarBenjamin Tissoires <bentiss@kernel.org>
parent 8d3ae46c
...@@ -18,8 +18,12 @@ allOf: ...@@ -18,8 +18,12 @@ allOf:
properties: properties:
compatible: compatible:
enum: oneOf:
- elan,ekth6915 - items:
- enum:
- elan,ekth5015m
- const: elan,ekth6915
- const: elan,ekth6915
reg: reg:
const: 0x10 const: 0x10
...@@ -57,8 +61,8 @@ examples: ...@@ -57,8 +61,8 @@ examples:
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
ap_ts: touchscreen@10 { touchscreen@10 {
compatible = "elan,ekth6915"; compatible = "elan,ekth5015m", "elan,ekth6915";
reg = <0x10>; reg = <0x10>;
interrupt-parent = <&tlmm>; interrupt-parent = <&tlmm>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment