Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9592aeb5 authored by Chun Zhang's avatar Chun Zhang
Browse files

ARM: dts: msm: enable touchscreen on MSM8992 CDP and MTP



Add in touchscreen related device tree nodes to enable touchscreen
on MSM8992 CDP and MTP.

Change-Id: Id3c989541fa0e8ce98fbe1b1288ae04bc3850dd1
Signed-off-by: default avatarChun Zhang <chunz@codeaurora.org>
parent 7aad09de
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -99,3 +99,22 @@
		status = "okay";
	};
};

&i2c_2 {
	synaptics@20 {
		compatible = "synaptics,dsx";
		reg = <0x20>;
		interrupt-parent = <&msm_gpio>;
		interrupts = <61 0x2008>;
		vdd-supply = <&pm8994_l14>;
		avdd-supply = <&pm8994_l22>;
		pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
		pinctrl-0 = <&ts_active>;
		pinctrl-1 = <&ts_suspend>;
		synaptics,display-coords = <0 0 1599 2559>;
		synaptics,panel-coords = <0 0 1599 2703>;
		synaptics,reset-gpio = <&msm_gpio 60 0x00>;
		synaptics,irq-gpio = <&msm_gpio 61 0x00>;
		synaptics,disable-gpios;
	};
};
+19 −0
Original line number Diff line number Diff line
@@ -108,3 +108,22 @@
		status = "okay";
	};
};

&i2c_2 {
	synaptics@20 {
		compatible = "synaptics,dsx";
		reg = <0x20>;
		interrupt-parent = <&msm_gpio>;
		interrupts = <61 0x2008>;
		vdd-supply = <&pm8994_l14>;
		avdd-supply = <&pm8994_l22>;
		pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
		pinctrl-0 = <&ts_active>;
		pinctrl-1 = <&ts_suspend>;
		synaptics,display-coords = <0 0 1599 2559>;
		synaptics,panel-coords = <0 0 1599 2703>;
		synaptics,reset-gpio = <&msm_gpio 60 0x00>;
		synaptics,irq-gpio = <&msm_gpio 61 0x00>;
		synaptics,disable-gpios;
	};
};
+17 −0
Original line number Diff line number Diff line
@@ -273,6 +273,23 @@
			};
		};

		pmx_ts {
			qcom,pins = <&gp 60>, <&gp 61>;
			qcom,pin-func = <0>;
			qcom,num-grp-pins = <2>;
			label = "pmx_ts";

			ts_active: ts_active {
				drive-strength = <16>;
				bias-pull-up;
			};

			ts_suspend: ts_suspend {
				drive-strength = <16>;
				bias-disable;
			};
		};

		eth-irq {
			qcom,pins = <&gp 75>;
			qcom,num-grp-pins = <1>;