* [PATCH 4/4] arm64: dts: qcom: sdm845-oneplus-common: add haptics
@ 2021-06-12 20:55 Caleb Connolly
0 siblings, 0 replies; only message in thread
From: Caleb Connolly @ 2021-06-12 20:55 UTC (permalink / raw)
To: caleb, Andy Gross, Bjorn Andersson, Rob Herring
Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm,
devicetree, linux-kernel
Enable the qpnp 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 | 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-12 20:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-12 20:55 [PATCH 4/4] arm64: dts: qcom: sdm845-oneplus-common: add haptics Caleb Connolly
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).