Skip to content

Commit 7d58579

Browse files
rriveramcrusnashif
authored andcommitted
dts: bindings: drv2605: Requires actuator-mode prop
Requires the actuator-mode property to be set as there is no safe default value. Signed-off-by: Ricardo Rivera-Matos <[email protected]>
1 parent 51340b8 commit 7d58579

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

dts/bindings/haptics/ti,drv2605.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ include: i2c-device.yaml
1111

1212
properties:
1313
actuator-mode:
14+
required: true
1415
type: string
1516
enum:
1617
- "ERM"

tests/drivers/build_all/haptics/i2c.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ drv2605@0 {
1111
compatible = "ti,drv2605";
1212
reg = <0x0>;
1313
status = "okay";
14+
15+
actuator-mode = "LRA";
1416
};

0 commit comments

Comments
 (0)