diff mbox series

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

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

Commit Message

Caleb Connolly Aug. 16, 2021, 10:20 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.32.0
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 4d052e39b348..05e1f90c4f02 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
@@ -441,6 +441,12 @@  pinconf {
 	};
 };

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