diff mbox series

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

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

Commit Message

Caleb Connolly Dec. 10, 2021, 2:27 a.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.34.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 3e04aeb479d1..1cba765f7a02 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
@@ -450,6 +450,12 @@  pinconf {
 	};
 };

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