Skip to content

Commit d853cec

Browse files
robherringdtor
authored andcommitted
dt-bindings: input: Use common 'linux,keycodes' definition
The common input schema, input.yaml, already defines 'linux,keycodes' property. Update the users to use it. Signed-off-by: Rob Herring <[email protected]> Acked-by: Jeff LaBundy <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 8ac14d2 commit d853cec

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Documentation/devicetree/bindings/input/iqs626a.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,7 @@ patternProperties:
510510

511511
"^trackpad-3x[2-3]$":
512512
type: object
513+
$ref: input.yaml#
513514
description:
514515
Represents all channels associated with the trackpad. The channels are
515516
collectively active if the trackpad is defined and inactive otherwise.
@@ -678,7 +679,6 @@ patternProperties:
678679
Specifies the raw count filter strength during low-power mode.
679680

680681
linux,keycodes:
681-
$ref: /schemas/types.yaml#/definitions/uint32-array
682682
minItems: 1
683683
maxItems: 6
684684
description: |

Documentation/devicetree/bindings/input/iqs62x-keys.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ title: Azoteq IQS620A/621/622/624/625 Keys and Switches
99
maintainers:
1010
- Jeff LaBundy <[email protected]>
1111

12+
allOf:
13+
- $ref: input.yaml#
14+
1215
description: |
1316
The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors
1417
feature a variety of self-capacitive, mutual-inductive and Hall-effect sens-
@@ -30,7 +33,6 @@ properties:
3033
- azoteq,iqs625-keys
3134

3235
linux,keycodes:
33-
$ref: /schemas/types.yaml#/definitions/uint32-array
3436
minItems: 1
3537
maxItems: 16
3638
description: |

0 commit comments

Comments
 (0)