diff options
| author | Max Krummenacher <max.krummenacher@toradex.com> | 2024-05-23 16:24:35 +0200 |
|---|---|---|
| committer | Max Krummenacher <max.krummenacher@toradex.com> | 2024-06-04 08:54:29 +0200 |
| commit | 12eeb045bb09ab86028eeb13234314208cff4d41 (patch) | |
| tree | 8a78e4777f372405523e7b2aa2f18891469ffea7 | |
| parent | 6e4765109a648b641da2916e415eeedcd58ca36b (diff) | |
verdin-imx8mm/8mp: panel-cap-touch-10inch-dsi_overlay: fix irq type
The ILITEK touch controller generates a short pulse if a touch report
is ready.
If a level irq is used the SoM sometimes is not able to react fast
enough resulting in missed touch events.
Related-to: ELB-5747
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
| -rw-r--r-- | overlays/verdin-imx8mm_panel-cap-touch-10inch-dsi_overlay.dts | 2 | ||||
| -rw-r--r-- | overlays/verdin-imx8mp_panel-cap-touch-10inch-dsi_overlay.dts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/overlays/verdin-imx8mm_panel-cap-touch-10inch-dsi_overlay.dts b/overlays/verdin-imx8mm_panel-cap-touch-10inch-dsi_overlay.dts index a47709b..a6d0f0f 100644 --- a/overlays/verdin-imx8mm_panel-cap-touch-10inch-dsi_overlay.dts +++ b/overlays/verdin-imx8mm_panel-cap-touch-10inch-dsi_overlay.dts @@ -64,7 +64,7 @@ reg = <0x41>; /* Verdin DSI_1_INT# (TOUCH_INT#, SODIMM 17) */ interrupt-parent = <&gpio3>; - interrupts = <15 IRQ_TYPE_LEVEL_LOW>; + interrupts = <15 IRQ_TYPE_EDGE_FALLING>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_9_dsi>, <&pinctrl_i2s_2_bclk_touch_reset>; /* Verdin I2S_2_BCLK (TOUCH_RESET#, SODIMM 42) */ diff --git a/overlays/verdin-imx8mp_panel-cap-touch-10inch-dsi_overlay.dts b/overlays/verdin-imx8mp_panel-cap-touch-10inch-dsi_overlay.dts index cecf3a6..a33247b 100644 --- a/overlays/verdin-imx8mp_panel-cap-touch-10inch-dsi_overlay.dts +++ b/overlays/verdin-imx8mp_panel-cap-touch-10inch-dsi_overlay.dts @@ -68,7 +68,7 @@ reg = <0x41>; /* Verdin DSI_1_INT# (TOUCH_INT#, SODIMM 17) */ interrupt-parent = <&gpio4>; - interrupts = <25 IRQ_TYPE_LEVEL_LOW>; + interrupts = <25 IRQ_TYPE_EDGE_FALLING>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_9_dsi>, <&pinctrl_i2s_2_bclk_touch_reset>; /* Verdin I2S_2_BCLK (TOUCH_RESET#, SODIMM 42) */ |
