diff mbox series

[v3,5/6] arm64: dts: qcom: sdm845-xiaomi-beryllium: add haptics

Message ID 20210816221931.1998187-6-caleb@connolly.tech
State New
Headers show
Series [v3,1/6] dt-bindings: input: add Qualcomm SPMI haptics driver | expand

Commit Message

Caleb Connolly Aug. 16, 2021, 10:20 p.m. UTC
From: Joel Selvaraj <jo@jsfamily.in>

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

Signed-off-by: Joel Selvaraj <jo@jsfamily.in>
Signed-off-by: Caleb Connolly <caleb@connolly.tech>
---
 arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts | 5 +++++
 1 file changed, 5 insertions(+)

--
2.32.0
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts
index c60c8c640e17..b6ce5d0f4966 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts
@@ -335,6 +335,11 @@  dai@2 {
 	};
 };

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