Skip to content

Commit

Permalink
arm64: dts: qcom: sdm450: xiaomi-rosy: enable haptic
Browse files Browse the repository at this point in the history
Signed-off-by: Barnabás Czémán <[email protected]>
  • Loading branch information
barni2000 committed Nov 19, 2024
1 parent a7a705d commit 9405b50
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions arch/arm64/boot/dts/qcom/sdm450-xiaomi-rosy.dts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,15 @@
regulator-max-microvolt = <1225000>;
};

&pmi8950_haptics {
qcom,actuator-type = <HAP_TYPE_ERM>;
qcom,brake-pattern = <0x3 0x3 0x0 0x0>;
qcom,wave-play-rate-us = <5263>;
qcom,wave-shape = <HAP_WAVE_SQUARE>;

status = "okay";
};

&sdhc_2 {
cd-gpios = <&tlmm 133 GPIO_ACTIVE_HIGH>;
};
Expand Down

0 comments on commit 9405b50

Please sign in to comment.