summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimanshu Aggarwal <haggarwa@codeaurora.org>2016-12-19 16:22:49 +0530
committerHimanshu Aggarwal <haggarwa@codeaurora.org>2016-12-19 16:23:31 +0530
commitca21aee131985cb0c245dc1293f998ed5dd58e17 (patch)
tree81badbb35887c80e6379a3900455510990c226db
parent2d28ff09533427b3fc0b9651eff8c1d936f2cfb4 (diff)
ARM: dts: msm: add pinctrl configuration for Touchscreen GPIOs on MSMFALCON
Add pinctrl configuration for GPIO66 and GPIO67 used by Touchscreen on MSMFALCON. Change-Id: Ica5ff2bdbdfbfd2fa8dbba7048b74108b2a05f3f Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
-rw-r--r--arch/arm/boot/dts/qcom/msmfalcon-pinctrl.dtsi41
1 files changed, 41 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/msmfalcon-pinctrl.dtsi b/arch/arm/boot/dts/qcom/msmfalcon-pinctrl.dtsi
index 6951cdf96815..68ebb985144c 100644
--- a/arch/arm/boot/dts/qcom/msmfalcon-pinctrl.dtsi
+++ b/arch/arm/boot/dts/qcom/msmfalcon-pinctrl.dtsi
@@ -788,5 +788,46 @@
};
};
};
+
+ ts_mux {
+ ts_active: ts_active {
+ mux {
+ pins = "gpio66", "gpio67";
+ function = "gpio";
+ };
+
+ config {
+ pins = "gpio66", "gpio67";
+ drive-strength = <16>;
+ bias-pull-up;
+ };
+ };
+
+ ts_reset_suspend: ts_reset_suspend {
+ mux {
+ pins = "gpio66";
+ function = "gpio";
+ };
+
+ config {
+ pins = "gpio66";
+ drive-strength = <2>;
+ bias-pull-down;
+ };
+ };
+
+ ts_int_suspend: ts_int_suspend {
+ mux {
+ pins = "gpio67";
+ function = "gpio";
+ };
+
+ config {
+ pins = "gpio67";
+ drive-strength = <2>;
+ bias-disable;
+ };
+ };
+ };
};
};