summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>2017-09-26 12:01:34 +0530
committerStefan Agner <stefan.agner@toradex.com>2017-10-02 16:43:53 +0200
commit98b9c186d06c34cc82588d39b2abb896be7cd530 (patch)
treea011a56633fae379cd65da38efcf423952146dd7
parent9655d3bcb5e84d1cef542cd70d0281d5bec20b66 (diff)
ARM: dts: imx6qdl-apalis: add atmel mxt multitouch controller
Add atmel mxt multitouch controller driver which is interfaced over I2C bus. This controller is used by the Logic Technologies, Capacitive Touch Display 7" Parallel (LT161010-2NHC). Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--arch/arm/boot/dts/imx6qdl-apalis-eval.dtsi15
-rw-r--r--arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi15
-rw-r--r--arch/arm/boot/dts/imx6qdl-apalis-ixora.dtsi15
3 files changed, 39 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-apalis-eval.dtsi b/arch/arm/boot/dts/imx6qdl-apalis-eval.dtsi
index 72033ac..7b79d4a 100644
--- a/arch/arm/boot/dts/imx6qdl-apalis-eval.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-apalis-eval.dtsi
@@ -164,6 +164,15 @@
&i2c1 {
status = "okay";
+ /* Atmel maxtouch controller */
+ atmel_mxt_ts: atmel_mxt_ts@4a {
+ compatible = "atmel,maxtouch";
+ reg = <0x4a>;
+ interrupt-parent = <&gpio6>;
+ interrupts = <10 IRQ_TYPE_EDGE_FALLING>;
+ status = "disabled";
+ };
+
pcap@10 {
/* TouchRevolution Fusion 7 and 10 multi-touch controller */
compatible = "touchrevolution,fusion-f0710a";
@@ -277,8 +286,10 @@
&iomuxc {
/*
- * Mux the Apalis GPIOs, GPIO7 used for PCIe reset,
- * GPIO5, 6 used by optional fusion_F0710A kernel module
+ * Mux the Apalis GPIOs.
+ * Note:
+ * - GPIO7 is used for PCIe reset
+ * - GPIO5, 6 are used by optional capacitive touch controller
*/
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_apalis_gpio1 &pinctrl_apalis_gpio2
diff --git a/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi b/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi
index 3fec9fd..354bf80d 100644
--- a/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi
@@ -160,6 +160,15 @@
&i2c1 {
status = "okay";
+ /* Atmel maxtouch controller */
+ atmel_mxt_ts: atmel_mxt_ts@4a {
+ compatible = "atmel,maxtouch";
+ reg = <0x4a>;
+ interrupt-parent = <&gpio6>;
+ interrupts = <10 IRQ_TYPE_EDGE_FALLING>;
+ status = "disabled";
+ };
+
pcap@10 {
/* TouchRevolution Fusion 7 and 10 multi-touch controller */
compatible = "touchrevolution,fusion-f0710a";
@@ -266,8 +275,10 @@
&iomuxc {
/*
- * Mux the Apalis GPIOs, GPIO7 used for PCIe reset,
- * GPIO5, 6 used by optional fusion_F0710A kernel module
+ * Mux the Apalis GPIOs.
+ * Note:
+ * - GPIO7 is used for PCIe reset
+ * - GPIO5, 6 are used by optional capacitive touch controller
*/
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_apalis_gpio1 &pinctrl_apalis_gpio2
diff --git a/arch/arm/boot/dts/imx6qdl-apalis-ixora.dtsi b/arch/arm/boot/dts/imx6qdl-apalis-ixora.dtsi
index e896572..aa42308 100644
--- a/arch/arm/boot/dts/imx6qdl-apalis-ixora.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-apalis-ixora.dtsi
@@ -155,6 +155,15 @@
&i2c1 {
status = "okay";
+ /* Atmel maxtouch controller */
+ atmel_mxt_ts: atmel_mxt_ts@4a {
+ compatible = "atmel,maxtouch";
+ reg = <0x4a>;
+ interrupt-parent = <&gpio6>;
+ interrupts = <10 IRQ_TYPE_EDGE_FALLING>;
+ status = "disabled";
+ };
+
pcap@10 {
/* TouchRevolution Fusion 7 and 10 multi-touch controller */
compatible = "touchrevolution,fusion-f0710a";
@@ -250,8 +259,10 @@
&iomuxc {
/*
- * Mux the Apalis GPIOs, GPIO7 used for PCIe reset,
- * GPIO5, 6 used by optional fusion_F0710A kernel module
+ * Mux the Apalis GPIOs.
+ * Note:
+ * - GPIO7 is used for PCIe reset
+ * - GPIO5, 6 are used by optional capacitive touch controller
*/
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_apalis_gpio1 &pinctrl_apalis_gpio2