Skip to content

Commit

Permalink
dts: haptics: Adds the DRV2605 devicetree bindings
Browse files Browse the repository at this point in the history
Adds the devicetree bindings for the DRV2605 haptic driver IC.

Signed-off-by: Ricardo Rivera-Matos <[email protected]>
  • Loading branch information
rriveramcrus authored and carlescufi committed Aug 8, 2024
1 parent 977c70a commit ab6a738
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions dts/bindings/haptics/ti,drv2605.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright (c) 2024 Cirrus Logic, Inc.
# SPDX-License-Identifier: Apache-2.0

description: |
DRV2605 Haptic Driver for ERM and LRA with built-in library and smart-loop
architecture.
compatible: "ti,drv2605"

include: i2c-device.yaml

properties:
actuator-mode:
type: string
enum:
- "ERM"
- "LRA"
feedback-brake-factor:
type: string
enum:
- "1X"
- "2X"
- "3X"
- "4X"
- "6X"
- "8X"
- "16X"
- "DISABLED"
loop-gain:
type: string
enum:
- "LOW"
- "MEDIUM"
- "HIGH"
- "VERY_HIGH"

0 comments on commit ab6a738

Please sign in to comment.