Resistive Touch Input - Device Tree Overlay

Hardware:
Colibri iMX6DL
with Viola Carrier Board Rev 1.2
TorizonCore 5.7.2

image

Hi there,

We have a LCD display + Resistive Touch connected via the Unified Interface Display Connector (X7). The LCD display is working with the required device tree overlay support.

The TOUCH_TSPY + TOUCH_TSMX + TOUCH_TSMY + TOUCH_TSPX signals are connected (via the X7 ribbon cable). Is there a device tree overlay file to support this?

Would the ‘colibri-imx6_stmpe-ts_overlay.dts’ file be the correct way to enable the touch input for this form of interface.

i.e. include this DTO

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
 * Copyright 2020-2021 Toradex
 */

// Resitive STMPE touchscreen touchscreen for the 7inch display orderable at Toradex.

/dts-v1/;
/plugin/;

/ {
	compatible = "toradex,colibri_imx6dl";
};

&stmpe_ts {
	status = "okay";
};

Many Thanks Jon

Hello @jon2023 ,
Could you please share with us the data sheet of the screen that you are using?

Best regards,
Josep

Yeah sure,

MDT0280A1IHR-MULTI.pdf (1.7 MB)

There’s not much on the Resistive Touch interface, just a list of the signals on page 5.

Hello @jon2023 ,
your screen has a 4-wire touch interface, so the overlay that you mention should work.

Please let us know the results.

Best regards,
Josep

Thanks Josep, I’ll try that

Hi Joesp,

Brilliant. That worked first time…