[PATCH 4/4] arm64: dts: qcom: sdm845-oneplus-common: add haptics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Enable the qpnp haptics driver and configure the play rate for the
hardware.

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

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

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






[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux