[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210816221931.1998187-6-caleb@connolly.tech>
Date: Mon, 16 Aug 2021 22:20:13 +0000
From: Caleb Connolly <caleb@...nolly.tech>
To: Caleb Connolly <caleb@...nolly.tech>
Cc: Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Rob Herring <robh+dt@...nel.org>,
linux-arm-msm@...r.kernel.org, linux-input@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
~postmarketos/upstreaming@...ts.sr.ht,
Jami Kettunen <jami.kettunen@...ainline.org>,
Joel Selvaraj <jo@...amily.in>
Subject: [PATCH v3 5/6] arm64: dts: qcom: sdm845-xiaomi-beryllium: add haptics
From: Joel Selvaraj <jo@...amily.in>
Enable the pmi8998 SPMI haptics driver and configure the play rate for the
hardware.
Signed-off-by: Joel Selvaraj <jo@...amily.in>
Signed-off-by: Caleb Connolly <caleb@...nolly.tech>
---
arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts | 5 +++++
1 file changed, 5 insertions(+)
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";
};
--
2.32.0
Powered by blists - more mailing lists