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

Commit 9b2f659d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

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

parents c0530d2d 689152ac
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
@@ -24,3 +24,33 @@
	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 Diff line number Diff line
@@ -29,3 +29,23 @@
		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>;
		};
	};
};