1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/input/dlg,da9062-onkey.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Dialog DA9061/62/63 OnKey Module
8
9maintainers:
10  - Biju Das <biju.das.jz@bp.renesas.com>
11
12description: |
13  This module is part of the DA9061/DA9062/DA9063. For more details about entire
14  DA906{1,2,3} chips see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
15
16  This module provides the KEY_POWER event.
17
18properties:
19  compatible:
20    oneOf:
21      - enum:
22          - dlg,da9062-onkey
23          - dlg,da9063-onkey
24      - items:
25          - const: dlg,da9061-onkey
26          - const: dlg,da9062-onkey
27
28  dlg,disable-key-power:
29    type: boolean
30    description:
31      Disable power-down using a long key-press. If this entry exists
32      the OnKey driver will remove support for the KEY_POWER key press
33      when triggered using a long press of the OnKey.
34
35required:
36  - compatible
37
38additionalProperties: false
39