diff mbox series

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

Message ID 20210618175041.323495-6-caleb@connolly.tech (mailing list archive)
State Superseded
Headers show
Series input: Introduce support for SPMI haptics found on Qcom PMICs | expand

Commit Message

Caleb Connolly June 18, 2021, 5:51 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.31.1
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 7d029425336e..07a91e3cd662 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts
@@ -311,6 +311,11 @@  resin {
 	};
 };

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