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

Commit 689152ac authored by Shantanu Jain's avatar Shantanu Jain
Browse files

ARM: dts: msm: enable gpio keys for sdm632 devices



Enable camera key and home key for SDM632 QRD, and
remove home-key node from SDM632 CDP.

Change-Id: Ic9a54f205b23680fe2606150a669cac1830c03fc
Signed-off-by: default avatarShantanu Jain <shjain@codeaurora.org>
parent 2e98d6c8
Loading
Loading
Loading
Loading
+30 −0
Original line number Original line Diff line number Diff line
@@ -24,3 +24,33 @@
	qcom,pmic-id = <0x010016 0x25 0xC 0x0>;
	qcom,pmic-id = <0x010016 0x25 0xC 0x0>;
};
};



&soc {
	gpio_keys {
		/delete-node/home;
	};
};

&tlmm {
	tlmm_gpio_key {
		gpio_key_active: gpio_key_active {
			mux {
				pins = "gpio85", "gpio86", "gpio87";
			};

			config {
				pins = "gpio85", "gpio86", "gpio87";
			};
		};

		gpio_key_suspend: gpio_key_suspend {
			mux {
				pins = "gpio85", "gpio86", "gpio87";
			};

			config {
				pins = "gpio85", "gpio86", "gpio87";
			};
		};
	};
};
+20 −0
Original line number Original line Diff line number Diff line
@@ -29,3 +29,23 @@
		qcom,scale-function = <22>;
		qcom,scale-function = <22>;
	};
	};
};
};

&soc {
	gpio_keys {
		camera_focus {
			label = "camera_focus";
			gpios = <&tlmm 87 0x1>;
			linux,input-type = <1>;
			linux,code = <0x210>;
			debounce-interval = <15>;
		};

		camera_snapshot {
			label = "camera_snapshot";
			gpios = <&tlmm 86 0x1>;
			linux,input-type = <1>;
			linux,code = <0x2fe>;
			debounce-interval = <15>;
		};
	};
};