提交 39636805 编写于 作者: J Jeff LaBundy 提交者: Dmitry Torokhov

dt-bindings: input: iqs7222: Use central 'linux,code' definition

Channel events adopt the newly centralized 'linux,code' property;
slider events should too.

Fixes: 8ac14d2c ("dt-bindings: input: Centralize 'linux,code' definition")
Signed-off-by: NJeff LaBundy <jeff@labundy.com>
Acked-by: NRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220710024713.17275-1-jeff@labundy.comSigned-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 94c8e866
...@@ -566,14 +566,13 @@ patternProperties: ...@@ -566,14 +566,13 @@ patternProperties:
patternProperties: patternProperties:
"^event-(press|tap|(swipe|flick)-(pos|neg))$": "^event-(press|tap|(swipe|flick)-(pos|neg))$":
type: object type: object
$ref: input.yaml#
description: description:
Represents a press or gesture (IQS7222A only) event reported by Represents a press or gesture (IQS7222A only) event reported by
the slider. the slider.
properties: properties:
linux,code: linux,code: true
$ref: /schemas/types.yaml#/definitions/uint32
description: Numeric key code associated with the event.
azoteq,gesture-max-ms: azoteq,gesture-max-ms:
multipleOf: 4 multipleOf: 4
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册