]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: input: awinic,aw86927: Add Awinic AW86938
authorGriffin Kroah-Hartman <griffin.kroah@fairphone.com>
Wed, 4 Mar 2026 01:40:10 +0000 (17:40 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 1 Apr 2026 16:08:32 +0000 (09:08 -0700)
Add bindings for the Awinic AW86938 haptic chip which can be found in
smartphones. These two chips require a similar devicetree configuration,
but have a register layout that's not 100% compatible.
Still, because chip model is fully detectable via ID register, these
chips can be documnented in the same file.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Griffin Kroah-Hartman <griffin.kroah@fairphone.com>
Link: https://patch.msgid.link/20260302-aw86938-driver-v4-2-92c865df9cca@fairphone.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/awinic,aw86927.yaml

index b7252916bd727486c1a98913d4ec3ef12422e4bd..bd74b81488f61d72b675b5701b321b30b3430be0 100644 (file)
@@ -11,7 +11,12 @@ maintainers:
 
 properties:
   compatible:
-    const: awinic,aw86927
+    oneOf:
+      - const: awinic,aw86927
+      - items:
+          - enum:
+              - awinic,aw86938
+          - const: awinic,aw86927
 
   reg:
     maxItems: 1