Skip to content

Commit 225cee9

Browse files
committed
Update instruction for setting up TD2 on Compute Modules
1 parent 838fb09 commit 225cee9

File tree

1 file changed

+2
-15
lines changed
  • documentation/asciidoc/accessories/touch-display-2

1 file changed

+2
-15
lines changed

documentation/asciidoc/accessories/touch-display-2/about.adoc

+2-15
Original file line numberDiff line numberDiff line change
@@ -130,20 +130,7 @@ dtoverlay=vc4-kms-dsi-ili9881-7inch,sizex=400,invx,invy
130130

131131
=== Installation and software setup on Compute Module based devices.
132132

133-
All Raspberry Pi SBCs auto-detect the official touch displays as the wiring to them is known, 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 is entitled to 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 or via a custom base DT file.
133+
All Raspberry Pi SBCs auto-detect the official Touch Displays as the circuitry connected to the DSI connector on the Raspberry Pi board is fixed; 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.
134134

135-
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`
135+
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.adoc#attaching-the-touch-display-2-lcd-panel[page] for configuration details.
136136

137-
Edit the /boot./firmware/config.txt file and add the following to enable Touchdisplay 2 on DSI1, on a compute module based device.
138-
139-
[source,ini]
140-
----
141-
dtoverlay=vc4-kms-dsi-ili9881-7inch,dsi1
142-
----
143-
144-
To use DSI0 use the following:
145-
146-
[source,ini]
147-
----
148-
dtoverlay=vc4-kms-dsi-ili9881-7inch, dsi0
149-
----

0 commit comments

Comments
 (0)