Skip to contentSkip to conversation

arm64: dts: qcom: sdm845-xiaomi-beryllium: add haptics

PATCH RESEND Superseded Caleb Connolly 1 participant 1 message Jun 18, 2021

Subsystems (3)

v2 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

PATCH RESEND v2 5/6 arm64: dts: qcom: sdm845-xiaomi-beryllium: add haptics

From: Joel Selvaraj <[email protected]>

Enable the pmi8998 SPMI haptics driver and configure the play rate for the hardware.

---
 arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts +5 -0
index 7d029425336e..07a91e3cd662 100644
@@ -311,6 +311,11 @@ resin {
 	};
 };
 
+&pmi8998_haptics {
+	status = "okay";
+	qcom,wave-play-rate-us = <4878>;
+};
+
 &qupv3_id_0 {
 	status = "okay";
 };

--
2.31.1