forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dts: haptics: Adds the DRV2605 devicetree bindings
Adds the devicetree bindings for the DRV2605 haptic driver IC. Signed-off-by: Ricardo Rivera-Matos <[email protected]>
- Loading branch information
1 parent
977c70a
commit ab6a738
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |