[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210618175041.323495-6-caleb@connolly.tech>
Date: Fri, 18 Jun 2021 17:51:47 +0000
From: Caleb Connolly <caleb@...nolly.tech>
To: caleb@...nolly.tech, Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Rob Herring <robh+dt@...nel.org>
Cc: ~postmarketos/upstreaming@...ts.sr.ht, phone-devel@...r.kernel.org,
linux-arm-msm@...r.kernel.org, jami.kettunen@...ainline.org,
jo@...amily.in, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [RESEND PATCH v2 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 7d029425336e..07a91e3cd662 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts
@@ -311,6 +311,11 @@ resin {
};
};
+&pmi8998_haptics {
+ status = "okay";
+ qcom,wave-play-rate-us = <4878>;
+};
+
&qupv3_id_0 {
status = "okay";
};
--
2.31.1
Powered by blists - more mailing lists