aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChenyang Zhong <zhongcy95@gmail.com>2021-09-08 12:54:16 +0000
committerChenyang Zhong <zhongcy95@gmail.com>2021-09-08 12:54:16 +0000
commit2612ca79b56b586f57fe8478f213b821caa0ef54 (patch)
tree5aa8a08614ed00a05fa3e0547837575f52f06b3e
parent7693276c080d6decd13e57ebc4db35d3e0fb5666 (diff)
dts: polaris: adjust the TICK effect intensity
The first effect in the array was previously changed from 2 repetitions to 1, which made the TICK effect more sloppy. To actually reduce the intensity, lower the number in bits[5:1] that controls the amplitute. Since we use an inverse pattern for braking, change the braking pattern accordingly as well. ref: Documentation/devicetree/bindings/leds/leds-qpnp-haptics.txt Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
-rw-r--r--arch/arm64/boot/dts/qcom/polaris-p0.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/qcom/polaris-p0.dtsi b/arch/arm64/boot/dts/qcom/polaris-p0.dtsi
index b720c8ba4a7b..fcd6da9269e2 100644
--- a/arch/arm64/boot/dts/qcom/polaris-p0.dtsi
+++ b/arch/arm64/boot/dts/qcom/polaris-p0.dtsi
@@ -223,7 +223,7 @@
qcom,lra-auto-res-mode = "qwd";
qcom,lra-res-cal-period = <4>;
qcom,effect-max = <3>;
- qcom,effect-arry = [3e be 00 00 00 00 00 00
+ qcom,effect-arry = [1e 1e 9e 9e 00 00 00 00
3e 3e 3e be be 00 00 00
3e 3e 3e 3e be be a0 90];
status = "okay";