Skip to content

Commit

Permalink
arm64: dts: qcom: msm8953: xiaomi-ysl: 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 377c138 commit b4fa0e5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8953-xiaomi-ysl.dts
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,15 @@
regulator-min-microvolt = <2800000>;
};

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

status = "okay";
};

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

0 comments on commit b4fa0e5

Please sign in to comment.