]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: input: touchscreen: elants_i2c: Add compatible for eth3915n chip
authorYunlong Jia <ecs.beijing2022@gmail.com>
Fri, 23 Sep 2022 16:35:48 +0000 (09:35 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 23 Sep 2022 16:44:02 +0000 (09:44 -0700)
This adds a new compatible string for Elan eth3915n touchscreen controller,
which is compatible with ekth3500.

Signed-off-by: Yunlong Jia <ecs.beijing2022@gmail.com>
Suggested-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20220923083657.v5.2.Ic4e8f03868f88b8027a81bc3d414bae68978e6b7@changeid
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml

index a9b53c2e6f0abc8e8bc495981995105322e7bfaa..f9053e5e9b240e95426b47070a5f423d31c709ad 100644 (file)
@@ -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