fsl,scu-key.yaml 877 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. title: i.MX SCU Client Device Node - SCU Key Based on SCU Message Protocol
  7. maintainers:
  8. - Dong Aisheng <aisheng.dong@nxp.com>
  9. description: i.MX SCU Client Device Node
  10. Client nodes are maintained as children of the relevant IMX-SCU device node.
  11. allOf:
  12. - $ref: input.yaml#
  13. properties:
  14. compatible:
  15. items:
  16. - const: fsl,imx8qxp-sc-key
  17. - const: fsl,imx-sc-key
  18. linux,keycodes:
  19. maxItems: 1
  20. wakeup-source: true
  21. required:
  22. - compatible
  23. - linux,keycodes
  24. additionalProperties: false
  25. examples:
  26. - |
  27. #include <dt-bindings/input/input.h>
  28. keys {
  29. compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key";
  30. linux,keycodes = <KEY_POWER>;
  31. };