[PATCH v5 2/3] dt-bindings: input: touchscreen: elants_i2c: Add eth3915n touchscreen chip

From: Yunlong Jia
Date: Fri Sep 23 2022 - 04:47:43 EST


Add an elan touch screen chip eth3915n.

Signed-off-by: Yunlong Jia <ecs.beijing2022@xxxxxxxxx>
Suggested-by: Douglas Anderson <dianders@xxxxxxxxxxxx>

---

Changes in v5:
1. ekth3915 is the true compatible and ekth3500 is the fallback.

Changes in v4:
1. eth3915n dt bindings added in v4.

.../bindings/input/touchscreen/elan,elants_i2c.yaml | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml b/Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml
index a9b53c2e6f0a..f9053e5e9b24 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml
@@ -14,9 +14,13 @@ allOf:

properties:
compatible:
- enum:
- - elan,ektf3624
- - elan,ekth3500
+ oneOf:
+ - enum:
+ - elan,ektf3624
+ - elan,ekth3500
+ - items:
+ - const: elan,ekth3915
+ - const: elan,ekth3500

reg:
maxItems: 1
--
2.17.1