Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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
7title: i.MX SCU Client Device Node - SCU Key Based on SCU Message Protocol
8
9maintainers:
10 - Dong Aisheng <aisheng.dong@nxp.com>
11
12description: i.MX SCU Client Device Node
13 Client nodes are maintained as children of the relevant IMX-SCU device node.
14
15allOf:
16 - $ref: input.yaml#
17
18properties:
19 compatible:
20 items:
21 - const: fsl,imx8qxp-sc-key
22 - const: fsl,imx-sc-key
23
24 linux,keycodes:
25 maxItems: 1
26
27required:
28 - compatible
29 - linux,keycodes
30
31additionalProperties: false
32
33examples:
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 };