Commit 97384a65 authored by Jeff LaBundy's avatar Jeff LaBundy Committed by Dmitry Torokhov

dt-bindings: input: iqs7222: Add support for IQS7222A v1.13+

IQS7222A revisions 1.13 and later widen the gesture multiplier from
x4 ms to x16 ms; update the binding accordingly.

As part of this change, refresh the corresponding properties in the
example as well.

Fixes: 44dc42d2 ("dt-bindings: input: Add bindings for Azoteq IQS7222A/B/C")
Signed-off-by: default avatarJeff LaBundy <jeff@labundy.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/Y1SRaVGwj30z/g6r@nixie71Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 2f6fd232
...@@ -572,9 +572,9 @@ patternProperties: ...@@ -572,9 +572,9 @@ patternProperties:
linux,code: true linux,code: true
azoteq,gesture-max-ms: azoteq,gesture-max-ms:
multipleOf: 4 multipleOf: 16
minimum: 0 minimum: 0
maximum: 1020 maximum: 4080
description: description:
Specifies the length of time (in ms) within which a tap, swipe Specifies the length of time (in ms) within which a tap, swipe
or flick gesture must be completed in order to be acknowledged or flick gesture must be completed in order to be acknowledged
...@@ -582,9 +582,9 @@ patternProperties: ...@@ -582,9 +582,9 @@ patternProperties:
gesture applies to all remaining swipe or flick gestures. gesture applies to all remaining swipe or flick gestures.
azoteq,gesture-min-ms: azoteq,gesture-min-ms:
multipleOf: 4 multipleOf: 16
minimum: 0 minimum: 0
maximum: 124 maximum: 496
description: description:
Specifies the length of time (in ms) for which a tap gesture must Specifies the length of time (in ms) for which a tap gesture must
be held in order to be acknowledged by the device. be held in order to be acknowledged by the device.
...@@ -930,14 +930,14 @@ examples: ...@@ -930,14 +930,14 @@ examples:
event-tap { event-tap {
linux,code = <KEY_PLAYPAUSE>; linux,code = <KEY_PLAYPAUSE>;
azoteq,gesture-max-ms = <600>; azoteq,gesture-max-ms = <400>;
azoteq,gesture-min-ms = <24>; azoteq,gesture-min-ms = <32>;
}; };
event-flick-pos { event-flick-pos {
linux,code = <KEY_NEXTSONG>; linux,code = <KEY_NEXTSONG>;
azoteq,gesture-max-ms = <600>; azoteq,gesture-max-ms = <800>;
azoteq,gesture-dist = <816>; azoteq,gesture-dist = <800>;
}; };
event-flick-neg { event-flick-neg {
......
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