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

Commit e9f550e4 authored by Venkata Prahlad Valluru's avatar Venkata Prahlad Valluru Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: add focaltech touch node for APQ8009W BG



Remove existing synaptics node and add focaltech node with
required configuration.

Change-Id: I1a3ccbddcc5d3d1a7b47aa65db746cb7d4fab5ea
Signed-off-by: default avatarVenkata Prahlad Valluru <vvalluru@codeaurora.org>
parent 5791d1cf
Loading
Loading
Loading
Loading
+10 −27
Original line number Diff line number Diff line
@@ -32,38 +32,21 @@

&soc {
	i2c@78b9000 { /* BLSP1 QUP5 */
		synaptics@20 {
			compatible = "synaptics,dsx-i2c";
			reg = <0x20>;
		focaltech@38 {
			compatible = "focaltech,fts";
			reg = <0x38>;
			interrupt-parent = <&msm_gpio>;
			interrupts = <98 0x2008>;
			vdd_ana-supply = <&pm660_l18>;
			vcc_i2c-supply = <&pm660_l13>;
			synaptics,pwr-reg-name = "vdd_ana";
			synaptics,bus-reg-name = "vcc_i2c";
			pinctrl-names = "pmx_ts_active", "pmx_ts_suspend",
							"pmx_ts_release";
			pinctrl-0 = <&ts_int_active &ts_reset_active>;
			pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
			pinctrl-2 = <&ts_release>;
			synaptics,irq-gpio = <&msm_gpio 98 0x2008>;
			synaptics,irq-on-state = <0>;
			synaptics,irq-flags = <0x2008>;
			synaptics,power-delay-ms = <200>;
			synaptics,reset-delay-ms = <200>;
			synaptics,max-y-for-2d = <389>;
			synaptics,resume-in-workqueue;
			synaptics,x-flip;
			synaptics,y-flip;
			/delete-property/ synaptics,reset-gpio;
			/delete-property/ synaptics,display-coords;
			/delete-property/ synaptics,panel-coords;
			/delete-property/ synaptics,power-down;
			/delete-property/ synaptics,disable-gpios;
			/delete-property/ synaptics,is_wake;
			vdd-supply = <&pm660_l18>;
			vcc-i2c-supply = <&pm660_l13>;
			focaltech,irq-gpio = <&msm_gpio 98 0x2008>;
			focaltech,reset-gpio = <&msm_gpio 16 0x00>;/**/
			focaltech,max-touch-number = <5>;
			focaltech,display-coords = <0 0 390 390>;/**/
		};

		/delete-node/ it7260@46;
		/delete-node/ synaptics@20;
	};

	qcom,blackghost {