Documentation/devicetree/bindings/input/dlg,da7280.yaml

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

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/input/dlg,da7280.yaml
Extension
.yaml
Size
6831 bytes
Lines
249
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,da7280.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Dialog Semiconductor DA7280 Low Power High-Definition Haptic Driver

maintainers:
  - Roy Im <roy.im.opensource@diasemi.com>

properties:
  compatible:
    const: dlg,da7280

  reg:
    maxItems: 1
    description: I2C address of the device.

  interrupts:
    maxItems: 1

  dlg,actuator-type:
    enum:
      - LRA # Linear Resonance Actuator type
      - ERM-bar # Bar type Eccentric Rotating Mass
      - ERM-coin # Coin type Eccentric Rotating Mass

  dlg,const-op-mode:
    $ref: /schemas/types.yaml#/definitions/uint32
    enum:
      - 1 # Direct register override (DRO) mode triggered by i2c (default)
      - 2 # PWM data source mode controlled by PWM duty
    description:
      Haptic operation mode for FF_CONSTANT

  dlg,periodic-op-mode:
    $ref: /schemas/types.yaml#/definitions/uint32
    enum:
      - 1 # Register triggered waveform memory(RTWM) mode, the pattern
          # assigned to the PS_SEQ_ID played as much times as PS_SEQ_LOOP
      - 2 # Edge triggered waveform memory(ETWM) mode, external GPI(N)
          # control are required to enable/disable and it needs to keep
          # device enabled by sending magnitude (X > 0),
          # the pattern is assigned to the GPI(N)_SEQUENCE_ID below
    default: 1
    description:
      Haptic operation mode for FF_PERIODIC.
      The default value is 1 for both of the operation modes.
      For more details, please see the datasheet

  dlg,nom-microvolt:
    minimum: 0
    maximum: 6000000
    description:
      Nominal actuator voltage rating

  dlg,abs-max-microvolt:
    minimum: 0
    maximum: 6000000
    description:
      Absolute actuator maximum voltage rating

  dlg,imax-microamp:
    minimum: 0
    maximum: 252000
    default: 130000
    description:
      Actuator max current rating

Annotation

Implementation Notes