Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/input/fsl,scu-key.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: i.MX SCU Client Device Node - SCU key bindings based on SCU Message Protocol
0008 
0009 maintainers:
0010   - Dong Aisheng <aisheng.dong@nxp.com>
0011 
0012 description: i.MX SCU Client Device Node
0013   Client nodes are maintained as children of the relevant IMX-SCU device node.
0014 
0015 allOf:
0016   - $ref: input.yaml#
0017 
0018 properties:
0019   compatible:
0020     items:
0021       - const: fsl,imx8qxp-sc-key
0022       - const: fsl,imx-sc-key
0023 
0024   linux,keycodes:
0025     maxItems: 1
0026 
0027 required:
0028   - compatible
0029   - linux,keycodes
0030 
0031 additionalProperties: false
0032 
0033 examples:
0034   - |
0035     #include <dt-bindings/input/input.h>
0036 
0037     keys {
0038         compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key";
0039         linux,keycodes = <KEY_POWER>;
0040     };