max77650-onkey.yaml 882 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # SPDX-License-Identifier: GPL-2.0
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/input/max77650-onkey.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Onkey driver for MAX77650 PMIC from Maxim Integrated.
  7. maintainers:
  8. - Bartosz Golaszewski <bgolaszewski@baylibre.com>
  9. description: |
  10. This module is part of the MAX77650 MFD device. For more details
  11. see Documentation/devicetree/bindings/mfd/max77650.yaml.
  12. The onkey controller is represented as a sub-node of the PMIC node on
  13. the device tree.
  14. allOf:
  15. - $ref: input.yaml#
  16. properties:
  17. compatible:
  18. const: maxim,max77650-onkey
  19. linux,code:
  20. default: 116 # KEY_POWER
  21. maxim,onkey-slide:
  22. $ref: /schemas/types.yaml#/definitions/flag
  23. description:
  24. The system's button is a slide switch, not the default push button.
  25. required:
  26. - compatible
  27. additionalProperties: false
  28. ...