summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-02-09 18:40:00 -0800
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-02-09 18:45:20 -0800
commit4eaf6aa309a8c2fae8a0742d17bc9ba89872acfd (patch)
tree6e08eff50967663a5ca0c621434f3ff17aee3a19
parentdd6494d94ef819c093157f73a314e9927305d305 (diff)
ARM: dts: msm: enable LRA drive correction for haptics on pmi8998 and pm660
As per the hardware documentation, specify the following device tree properties for pmi8998 and pm660. - qcom,correct-lra-drive-freq - qcom,misc-trim-error-rc19p2-clk-reg-present These properties will ensure that LRA is driven at constant resonant frequency under different operating conditions and correct the frequency error (if any) in 19.2 MHz RC clock. CRs-Fixed: 2003564 Change-Id: I91cd303557faf51211b86b61ec3e208f3e6efa8e Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
-rw-r--r--arch/arm/boot/dts/qcom/msm-pm660.dtsi2
-rw-r--r--arch/arm/boot/dts/qcom/msm-pmi8998.dtsi2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/msm-pm660.dtsi b/arch/arm/boot/dts/qcom/msm-pm660.dtsi
index 1154c28bb9ea..acff2ef2c3ef 100644
--- a/arch/arm/boot/dts/qcom/msm-pm660.dtsi
+++ b/arch/arm/boot/dts/qcom/msm-pm660.dtsi
@@ -606,6 +606,8 @@
qcom,lra-high-z = "opt1";
qcom,lra-auto-res-mode = "qwd";
qcom,lra-res-cal-period = <4>;
+ qcom,correct-lra-drive-freq;
+ qcom,misc-trim-error-rc19p2-clk-reg-present;
};
};
};
diff --git a/arch/arm/boot/dts/qcom/msm-pmi8998.dtsi b/arch/arm/boot/dts/qcom/msm-pmi8998.dtsi
index 72f9f9ea9b2d..f5c62f1f2f9d 100644
--- a/arch/arm/boot/dts/qcom/msm-pmi8998.dtsi
+++ b/arch/arm/boot/dts/qcom/msm-pmi8998.dtsi
@@ -641,6 +641,8 @@
qcom,lra-high-z = "opt1";
qcom,lra-auto-res-mode = "qwd";
qcom,lra-res-cal-period = <4>;
+ qcom,correct-lra-drive-freq;
+ qcom,misc-trim-error-rc19p2-clk-reg-present;
};
flash_led: qcom,leds@d300 {