Skip to contentSkip to conversation

arm64: dts: qcom: sdm845-oneplus-common: 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 4/6 arm64: dts: qcom: sdm845-oneplus-common: add haptics

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

---
 arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +6 -0
index 8f617f7b6d34..d4c857c1a73f 100644
@@ -423,6 +423,12 @@ pinconf {
 	};
 };
 
+&pmi8998_haptics {
+	status = "okay";
+
+	qcom,wave-play-rate-us = <4255>;
+};
+
 &qupv3_id_1 {
 	status = "okay";
 };

--
2.31.1