summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
diff options
context:
space:
mode:
authorMichal Vokáč <michal.vokac@ysoft.com>2019-10-03 08:12:56 +0200
committerShawn Guo <shawnguo@kernel.org>2019-10-25 10:45:08 +0800
commit764b5b5e704e1d991ad168a5e0c47d1dfc0018b1 (patch)
tree7667cd24f837a5970479c5757a39ee1bc10df4f3 /arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
parent7e28fc4759e7ede9fa8b8c6708be24d7bbabcd44 (diff)
downloadlinux-stable-764b5b5e704e1d991ad168a5e0c47d1dfc0018b1.tar.gz
linux-stable-764b5b5e704e1d991ad168a5e0c47d1dfc0018b1.tar.bz2
linux-stable-764b5b5e704e1d991ad168a5e0c47d1dfc0018b1.zip
ARM: dts: imx6dl-yapp4: Enable the MPR121 touchkey controller on Hydra
Add the touch keyboard present on Hydra board. The controller is connected only using I2C lines. The interrupt line is not available hence we use the polling mode. Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6dl-yapp4-common.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6dl-yapp4-common.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
index e8d800fec637..6507bfc0141a 100644
--- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
+++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
@@ -4,6 +4,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/input/input.h>
#include <dt-bindings/pwm/pwm.h>
/ {
@@ -330,6 +331,18 @@
vcc-supply = <&sw2_reg>;
status = "disabled";
};
+
+ touchkeys: keys@5a {
+ compatible = "fsl,mpr121-touchkey";
+ reg = <0x5a>;
+ vdd-supply = <&sw2_reg>;
+ autorepeat;
+ linux,keycodes = <KEY_1>, <KEY_2>, <KEY_3>, <KEY_4>, <KEY_5>,
+ <KEY_6>, <KEY_7>, <KEY_8>, <KEY_9>,
+ <KEY_BACKSPACE>, <KEY_0>, <KEY_ENTER>;
+ poll-interval = <50>;
+ status = "disabled";
+ };
};
&iomuxc {