Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml
Extension
.yaml
Size
1012 bytes
Lines
39
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/input/dlg,da9062-onkey.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Dialog DA9061/62/63 OnKey Module

maintainers:
  - Biju Das <biju.das.jz@bp.renesas.com>

description: |
  This module is part of the DA9061/DA9062/DA9063. For more details about entire
  DA906{1,2,3} chips see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml

  This module provides the KEY_POWER event.

properties:
  compatible:
    oneOf:
      - enum:
          - dlg,da9062-onkey
          - dlg,da9063-onkey
      - items:
          - const: dlg,da9061-onkey
          - const: dlg,da9062-onkey

  dlg,disable-key-power:
    type: boolean
    description:
      Disable power-down using a long key-press. If this entry exists
      the OnKey driver will remove support for the KEY_POWER key press
      when triggered using a long press of the OnKey.

required:
  - compatible

additionalProperties: false

Annotation

Implementation Notes