summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGriffin Kroah-Hartman <griffin.kroah@fairphone.com>2026-03-04 04:40:10 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2026-04-01 19:08:32 +0300
commitb73724b1defe253fa9d76be4bcb585ef37ef4d68 (patch)
tree010c7fa78af507a00d2de5b51bf66e1ddcd16a4e /Documentation
parent53ba7a47d3783192e6846cbb42f246f0fb9f9488 (diff)
downloadlinux-b73724b1defe253fa9d76be4bcb585ef37ef4d68.tar.xz
dt-bindings: input: awinic,aw86927: Add Awinic AW86938
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/input/awinic,aw86927.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/input/awinic,aw86927.yaml b/Documentation/devicetree/bindings/input/awinic,aw86927.yaml
index b7252916bd72..bd74b81488f6 100644
--- a/Documentation/devicetree/bindings/input/awinic,aw86927.yaml
+++ b/Documentation/devicetree/bindings/input/awinic,aw86927.yaml
@@ -11,7 +11,12 @@ maintainers:
properties:
compatible:
- const: awinic,aw86927
+ oneOf:
+ - const: awinic,aw86927
+ - items:
+ - enum:
+ - awinic,aw86938
+ - const: awinic,aw86927
reg:
maxItems: 1