summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-12-09 19:59:29 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-09 19:59:28 -0800
commitb7941c1f70ec6bb08e683097eae7b4c2b9df0e75 (patch)
treead7dbc398e27d293ee883e08d7f31244463a596f
parent55f7c3c5f28dd02ee9bfcdf4a537f3069388671d (diff)
parenta1ea995e14850422d46216970a6cbb82c7ddd21d (diff)
Merge "ARM: dts: msm: add touch node for QTC800H in msm8998 QRD SKUK"
-rw-r--r--arch/arm/boot/dts/qcom/msm8998-qrd-skuk.dtsi51
1 files changed, 51 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/msm8998-qrd-skuk.dtsi b/arch/arm/boot/dts/qcom/msm8998-qrd-skuk.dtsi
index c09900597d87..f60fd10b92f8 100644
--- a/arch/arm/boot/dts/qcom/msm8998-qrd-skuk.dtsi
+++ b/arch/arm/boot/dts/qcom/msm8998-qrd-skuk.dtsi
@@ -153,6 +153,24 @@
qcom,wsa-devs = <&wsa881x_0211>, <&wsa881x_0213>;
qcom,wsa-aux-dev-prefix = "SpkrLeft", "SpkrLeft";
};
+
+ hbtp {
+ compatible = "qcom,hbtp-input";
+ pinctrl-names = "pmx_ts_active","pmx_ts_suspend";
+ pinctrl-0 = <&ts_rst_active>;
+ pinctrl-1 = <&ts_rst_suspend>;
+ vcc_ana-supply = <&pm8998_l28>;
+ vcc_dig-supply = <&pm8998_l6>;
+ qcom,afe-load = <20000>;
+ qcom,afe-vtg-min = <2850000>;
+ qcom,afe-vtg-max = <3000000>;
+ qcom,dig-load = <40000>;
+ qcom,dig-vtg-min = <1800000>;
+ qcom,dig-vtg-max = <1800000>;
+ qcom,fb-resume-delay-us = <10000>;
+ qcom,afe-power-on-delay-us = <1000>;
+ qcom,afe-power-off-delay-us = <6>;
+ };
};
&pmx_mdss {
@@ -238,6 +256,39 @@
status = "okay";
};
+&tlmm {
+ /* add pingrp for touchscreen */
+ pmx_ts_rst_active {
+ ts_rst_active: ts_rst_active {
+ mux {
+ pins = "gpio89";
+ function = "gpio";
+ };
+
+ config {
+ pins = "gpio89";
+ drive-strength = <16>;
+ bias-pull-up;
+ };
+ };
+ };
+
+ pmx_ts_rst_suspend {
+ ts_rst_suspend: ts_rst_suspend {
+ mux {
+ pins = "gpio89";
+ function = "gpio";
+ };
+
+ config {
+ pins = "gpio89";
+ drive-strength = <2>;
+ bias-pull-down;
+ };
+ };
+ };
+};
+
&pm8998_vadc {
chan@83 {
label = "vph_pwr";