Debian Codegraph @

Documentation/devicetree/bindings/input/fsl,scu-key.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/input/fsl,scu-key.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: i.MX SCU Client Device Node - SCU Key Based on SCU Message Protocol
8
9 maintainers:
10 - Dong Aisheng <[email protected]>
11
12 description: i.MX SCU Client Device Node
13 Client nodes are maintained as children of the relevant IMX-SCU device node.
14
15 allOf:
16 - $ref: input.yaml#
17
18 properties:
19 compatible:
20 items:
21 - const: fsl,imx8qxp-sc-key
22 - const: fsl,imx-sc-key
23
24 linux,keycodes:
25 maxItems: 1
26
27 wakeup-source: true
28
29 required:
30 - compatible
31 - linux,keycodes
32
33 additionalProperties: false
34
35 examples:
36 - |
37 #include <dt-bindings/input/input.h>
38
39 keys {
40 compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key";
41 linux,keycodes = <KEY_POWER>;
42 };