Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/input/max77650-onkey.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Onkey driver for MAX77650 PMIC from Maxim Integrated.
0008 
0009 maintainers:
0010   - Bartosz Golaszewski <bgolaszewski@baylibre.com>
0011 
0012 description: |
0013   This module is part of the MAX77650 MFD device. For more details
0014   see Documentation/devicetree/bindings/mfd/max77650.yaml.
0015 
0016   The onkey controller is represented as a sub-node of the PMIC node on
0017   the device tree.
0018 
0019 allOf:
0020   - $ref: input.yaml#
0021 
0022 properties:
0023   compatible:
0024     const: maxim,max77650-onkey
0025 
0026   linux,code:
0027     default: 116  # KEY_POWER
0028 
0029   maxim,onkey-slide:
0030     $ref: /schemas/types.yaml#/definitions/flag
0031     description:
0032       The system's button is a slide switch, not the default push button.
0033 
0034 required:
0035   - compatible
0036 additionalProperties: false
0037 
0038 ...