diff mbox series

[RESEND,v2,4/6] arm64: dts: qcom: sdm845-oneplus-common: add haptics

Message ID 20210618175041.323495-5-caleb@connolly.tech
State Superseded
Headers show
Series [RESEND,v2,1/6] dt-bindings: input: add Qualcomm SPMI haptics driver | expand

Commit Message

Caleb Connolly June 18, 2021, 5:51 p.m. UTC
Enable the pmi8998 SPMI haptics driver and configure the play rate for the
hardware.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
---
 arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

--
2.31.1
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
index 8f617f7b6d34..d4c857c1a73f 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
@@ -423,6 +423,12 @@  pinconf {
 	};
 };

+&pmi8998_haptics {
+	status = "okay";
+
+	qcom,wave-play-rate-us = <4255>;
+};
+
 &qupv3_id_1 {
 	status = "okay";
 };