Skip to content

Commit

Permalink
dt-bindings: input: iqs7222: Reduce 'linux,code' to optional
Browse files Browse the repository at this point in the history
[ Upstream commit ccad486 ]

Following a recent refactor of the driver to properly drop unused
device nodes, the 'linux,code' property is now optional. This can
be useful for applications that define GPIO-mapped events that do
not correspond to any keycode.

Fixes: 44dc42d ("dt-bindings: input: Add bindings for Azoteq IQS7222A/B/C")
Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/Y1SROIrrC1LwX0Sd@nixie71
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
jlabundy authored and gregkh committed Dec 31, 2022
1 parent c8ab62f commit 78e01a9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@ patternProperties:
Specifies whether the event is to be interpreted as a key (1)
or a switch (5).

required:
- linux,code

additionalProperties: false

dependencies:
Expand Down Expand Up @@ -620,9 +617,6 @@ patternProperties:
GPIO, they must all be of the same type (proximity, touch or
slider gesture).
required:
- linux,code

additionalProperties: false

required:
Expand Down

0 comments on commit 78e01a9

Please sign in to comment.