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 bindings based on SCU Message Protocol
8
9 maintainers:
10 - Dong Aisheng <aisheng.dong@nxp.com>
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 required:
28 - compatible
29 - linux,keycodes
30
31 additionalProperties: false
32
33 examples:
34 - |
35 #include <dt-bindings/input/input.h>
36
37 keys {
38 compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key";
39 linux,keycodes = <KEY_POWER>;
40 };
Cache object: ac83cf01ed59fe9780500bc6271ccc42
|