Skip to content

Add information on setting up Touch Display 2 on Compute Modules #4072

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

JamesH65
Copy link
Contributor

There was missing information on the dt runes needed to get TD2 up and running on CM devices.

@JamesH65
Copy link
Contributor Author

@6by9 @lurch

@lurch lurch added the compute module Issues around CM and CMIO boards label Apr 16, 2025
@lurch lurch changed the title Add information on setting up TD2 on Compute modules Add information on setting up Touch Display 2 on Compute Modules Apr 16, 2025
@JamesH65
Copy link
Contributor Author

I have pushed changes requested.


=== Installation on Compute Module based devices.

All Raspberry Pi SBCs auto-detect the official touch display's as the circuitry connecting it to the DSI connector is fixed, and this autodetection ensures the correct Device Tree entries are passed to the kernel. However, Compute Modules are intended for industrial applications where the integrator can use any and all GPIOs and interfaces for whatever purposes they require. Autodetection is therefore not feasible, and hence is disabled on Compute Module devices. This means that the Device Tree fragments required to set up the display need to be loaded via some other mechanism, which can be either with a dtoverlay entry in config.txt as described above, via a custom base DT file, or if present, a HAT EEPROM.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"touch display's" -> "Touch Displays" ? (capitalisation is optional, removal of greengrocer's apostrophe isn't 😜 )

I wonder if "... is fixed, and this ..." would be better as "... is fixed; this ..." ?


Creating a custom base Device tree file is beyond the scope of this documenation, however, it is simple to add an appropriate device tree entry via `config.txt`
Creating a custom base Device tree file is beyond the scope of this documentation, however, it is simple to add an appropriate device tree entry via `config.txt`. See this xref:../../computers/compute-module/cmio-display.adoc#Attaching-the-Touch-Display-2-LCD-panel[page] for connection details.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"connection details" -> "configuration details" ?


All Raspberry Pi SBCs auto-detect the official touch display's as the circuitry connecting it to the DSI connector is fixed, and this autodetection ensures the correct Device Tree entries are passed to the kernel. However, Compute Modules are intended for industrial applications where the integrator can use any and all GPIOs and interfaces for whatever purposes they require. Autodetection is therefore not feasible, and hence is disabled on Compute Module devices. This means that the Device Tree fragments required to set up the display need to be loaded via some other mechanism, which can be either with a dtoverlay entry in config.txt, via a custom base DT file, or if present, a HAT EEPROM.

Creating a custom base Device tree file is beyond the scope of this documentation, however, it is simple to add an appropriate device tree entry via `config.txt`. See this xref:../../computers/compute-module/cmio-display.adoc#Attaching-the-Touch-Display-2-LCD-panel[page] for connection details.
Copy link
Contributor

@lurch lurch Apr 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The xref URL here needs to be ../computers/compute-module.adoc#attaching-the-touch-display-2-lcd-panel


== Attaching the Touch Display 2 LCD panel

Touch Display 2 is a 720x1280 7" LCD display designed specifically for Raspberry Pi devices (see https://www.raspberrypi.com/products/touch-display-2/). It connects in much the same way as the original touch display, but the software setup on Compute Modules is slightly different as it uses a different display driver. See xref:../../accessories/touch-display-2/about.adoc[Touch Display 2] for connection details.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The xref URL here needs to be ../accessories/touch-display-2.adoc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compute module Issues around CM and CMIO boards
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants