Skip to content
Snippets Groups Projects
Commit ff8aebd5 authored by Tobias Kahlki's avatar Tobias Kahlki
Browse files

arm64:dts: Add touch support on MV with QX-070WSVGA

parent c0dbafd6
No related branches found
No related tags found
1 merge request!463Add touch support on MV with QX-070WSVGA
Pipeline #109438 passed with stage
in 28 seconds
......@@ -15,6 +15,13 @@
#define BACKLIGHT_ENABLE MX8MP_IOMUXC_GPIO1_IO06__GPIO1_IO06
#define backlight_enable &gpio1 6
#define ENABLE_TOUCH
#define touch_int_parent &pca6416
#define touch_int_pin 4
#define touch_int &pca6416 4
#define touch_reset_pin 2
#define touch_reset &pca6416 2
#include "include/imx8mp-d18.dtsi"
#include "include/mv.dtsi"
#include "include/qx-070wsvgamml01d.dtsi"
......@@ -23,3 +30,48 @@ / {
model = "SECO Group SMARC i.MX8MP QX-070WSVGA (D18 / LEVY)";
compatible = "fsl,imx8mp";
};
#ifdef ENABLE_TOUCH
&i2c2 {
#if 0
eeti@2a {
compatible = "eeti,exc3000_ts";
status = "okay";
reg = <0x2a>;
use-new-mode = <1>;
/*
* The touch_int is connected to the GPIO-Expander
* and needs no pinmuxing.
*/
interrupt-parent = <touch_int_parent>;
interrupts = <touch_int_pin IRQ_TYPE_LEVEL_LOW>;
/* irq-gpio = <touch_int GPIO_ACTIVE_LOW>;
irq-low-active = <1>; */
#ifdef touch_reset
reset-gpio = <touch_reset GPIO_ACTIVE_LOW>;
reset-low-active = <1>;
#endif
};
#endif
maxtouch@4a {
compatible = "atmel,maxtouch";
status = "okay";
reg = <0x4a>;
/*
* The touch_int is connected to the GPIO-Expander
* and needs no pinmuxing.
*/
interrupt-parent = <touch_int_parent>;
interrupts = <touch_int_pin IRQ_TYPE_LEVEL_LOW>;
/*
* The atmel-mxt driver doesn't support the irq-gpio
* or the irq-low-active properties.
*/
#ifdef touch_reset
reset-gpio = <touch_reset GPIO_ACTIVE_LOW>;
reset-low-active = <1>;
#endif
};
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment