Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Onkey driver for MAX77650 PMIC from Maxim Integrated. |
| 8 | |
| 9 | maintainers: |
| 10 | - Bartosz Golaszewski <bgolaszewski@baylibre.com> |
| 11 | |
| 12 | description: | |
| 13 | This module is part of the MAX77650 MFD device. For more details |
| 14 | see Documentation/devicetree/bindings/mfd/max77650.yaml. |
| 15 | |
| 16 | The onkey controller is represented as a sub-node of the PMIC node on |
| 17 | the device tree. |
| 18 | |
| 19 | allOf: |
| 20 | - $ref: input.yaml# |
| 21 | |
| 22 | properties: |
| 23 | compatible: |
| 24 | const: maxim,max77650-onkey |
| 25 | |
| 26 | linux,code: |
| 27 | default: 116 # KEY_POWER |
| 28 | |
| 29 | maxim,onkey-slide: |
| 30 | $ref: /schemas/types.yaml#/definitions/flag |
| 31 | description: |
| 32 | The system's button is a slide switch, not the default push button. |
| 33 | |
| 34 | required: |
| 35 | - compatible |
| 36 | additionalProperties: false |
| 37 | |
| 38 | ... |