arm/dt: 8974: device tree data for virtual keys
Add device tree data for generating virtual keys, and
remove old process of enabling virtual keys which is not
ideal for device tree implementation. Also enable gen_vkeys
driver so that there is no lapse in virtual key functionality.
CRs-fixed: 430008
Change-Id: Iba362112a8745d344dfddfa7757f2a72fb44e8f4
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
diff --git a/arch/arm/boot/dts/msm8974-cdp.dtsi b/arch/arm/boot/dts/msm8974-cdp.dtsi
index 3254655..6b902d7 100644
--- a/arch/arm/boot/dts/msm8974-cdp.dtsi
+++ b/arch/arm/boot/dts/msm8974-cdp.dtsi
@@ -110,6 +110,16 @@
};
};
+ gen-vkeys {
+ compatible = "qcom,gen-vkeys";
+ label = "atmel_mxt_ts";
+ qcom,disp-maxx = <720>;
+ qcom,disp-maxy = <1280>;
+ qcom,panel-maxx = <760>;
+ qcom,panel-maxy = <1424>;
+ qcom,key-codes = <158 139 102 217>;
+ };
+
i2c@f9967000 {
isa1200@48 {
status = "okay";